Hello, I have committed a revised version of the class BrGeantToDetectorTracks. The changes are: - a new function converting BrGeantHits to BrDetectorHits after checking hit quality: BrDetectorHit* BrGeantToDetectorTracks::GeantToDetectorHit(BrGeantHit* hit) For the moment, the position uncertainties, dpos[0] = dpos[1] = 0.02 (cm) (hardcoded.) - BrLocalTrack::Fit() is used instead of BrDetectorTrack* BrGeantToDetectorTracks::FitTrackToGHits() which is now made obsolete (but is not yet deleted from the code.) - The output track structure will be BrDetectorTracks with pointers to BrLocalTracks and associated BrDetectorHits, just as from the reconstruction code (useful for plotting simulated and reconstructed tracks and hits together.) - Some settable parameters are added: fEdgeCut // minimum distance from TPC edge for good Geant hit fMaxChisq // maximum chisquare for good (reconstructible) Geant track fMaxSlopeX fMaxSlopeY // maximum slopes accepted for good Geant tracks I have also corrected a small misprint in BrTPCClusterFinder::FindHitStatus() which caused some multihit clusters to be classified as single clusters, and not attempted deconvoluted. Best regards, Trine
This archive was generated by hypermail 2b29 : Mon Jun 05 2000 - 09:35:02 EDT