//----------------------------------------------------------- // File and Version Information: // $Id$ // // Description: // Track finder using the riemann circle fit // // // Environment: // Software developed for the PANDA Detector at FAIR. // // Author List: // Sebastian Neubert TUM (original author) // // //----------------------------------------------------------- #ifndef TPCRIEMANNTRACKFINDER_HH #define TPCRIEMANNTRACKFINDER_HH // Base Class Headers ---------------- // Collaborating Class Headers ------- #include // remove if you do not need streaming op // Collaborating Class Declarations -- class PndTpcCluster; class TrackCand; class PndTpcAbsHitTrackCorrelator; class PndTpcRiemannTrack; class PndTpcRiemannTrackFinder { public: // Constructors/Destructors --------- PndTpcRiemannTrackFinder(); ~PndTpcRiemannTrackFinder(); // Accessors ----------------------- const PndTpcAbsHitTrackCorrelator* getCorrelator(unsigned int i) const {return _correlators.at(i);} // Modifiers ----------------------- void setMinHitsForFit(unsigned int n){_minHitsForFit=n;} // Operations ---------------------- unsigned int buildTracks(std::vector& clusters, std::vector& candlist); void addCorrelator(PndTpcAbsHitTrackCorrelator* c); private: // Private Data Members ------------ std::vector _correlators; std::vector _found; // flags which correlator fired std::vector _bestMatchQuality; std::vector _bestMatchIndex; unsigned int _minHitsForFit; // Private Methods ----------------- void resetFlags(); }; #endif //-------------------------------------------------------------- // $Log$ //--------------------------------------------------------------