16 #ifndef PndHoughTrackCorrection_H_ 17 #define PndHoughTrackCorrection_H_ 29 ioman = FairRootManager::Instance();
39 double calc_rho(TVector3 &Hit, TVector3 &Track, TVector3 &Hitmin);
47 FairRootManager *ioman =
nullptr;
48 std::map<FairLink, FairHit *> fMapFairLinktoFairHit;
49 std::map<FairLink, Double_t> fMapFairLinktoIsochrone;
double calc_rho(TVector3 &Hit, TVector3 &Track, TVector3 &Hitmin)
Calculates rho for a hit. It is calculated as the path length of the particle track.
PndTrackCand calcCorrectTrackCand(PndTrackCand &trackCand, TVector3 &Track, PndTrackCand &trackCandTot)
Corrects the track candidate: only hits are used that are close to the calculated track (d < 0...
std::map< FairLink, FairHit * > GetMapFairLinktoFairHit() const
Returns the map linking FairLinks to FairHits.
virtual void SetUtilities(PndHoughUtilities *utilities)
virtual ~PndHoughTrackCorrection()
PndTrackCand GetApolloniusTrackCand()
Returns the corrected track candidate.
PndHoughTrackCorrection(PndHoughData *fData)
std::map< FairLink, Double_t > GetMapFairLinktoIsochrone() const
Returns the map linking FairLinks to isochrone radii.
TVector3 FindMinimumHit(PndTrackCand &trackCand, std::vector< double > &circle)
Determines the first hit of a track as the one closest to the interaction point.