PandaRoot
PndHoughTrackCorrection Class Reference

#include <PndHoughTrackCorrection.h>

Public Member Functions

 PndHoughTrackCorrection (PndHoughData *fData)
 
virtual ~PndHoughTrackCorrection ()
 
virtual void SetUtilities (PndHoughUtilities *utilities)
 
TVector3 FindMinimumHit (PndTrackCand &trackCand, std::vector< double > &circle)
 Determines the first hit of a track as the one closest to the interaction point. More...
 
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. More...
 
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.5 cm). More...
 
PndTrackCand GetApolloniusTrackCand ()
 Returns the corrected track candidate. More...
 

Detailed Description

PndHoughTrackCorrection

Author
Anna Scholl a.sch.nosp@m.oll@.nosp@m.fz-ju.nosp@m.elic.nosp@m.h.de
Since
29.10.2018 23.11.2021
Version
1.1

PANDA class to correct a PndTrack: only hits which are close enough to the track are added to the track Task level RECO

Definition at line 24 of file PndHoughTrackCorrection.h.

Constructor & Destructor Documentation

◆ PndHoughTrackCorrection()

PndHoughTrackCorrection::PndHoughTrackCorrection ( PndHoughData fData)
inline

Definition at line 27 of file PndHoughTrackCorrection.h.

References PndHoughData::GetMapFairLinktoFairHit(), and PndHoughData::GetMapFairLinktoIsochrone().

28  {
29  ioman = FairRootManager::Instance();
30  fMapFairLinktoFairHit = fData->GetMapFairLinktoFairHit();
31  fMapFairLinktoIsochrone = fData->GetMapFairLinktoIsochrone();
32  };
std::map< FairLink, FairHit * > GetMapFairLinktoFairHit() const
Returns the map linking FairLinks to FairHits.
Definition: PndHoughData.h:90
std::map< FairLink, Double_t > GetMapFairLinktoIsochrone() const
Returns the map linking FairLinks to isochrone radii.
Definition: PndHoughData.h:92

◆ ~PndHoughTrackCorrection()

virtual PndHoughTrackCorrection::~PndHoughTrackCorrection ( )
inlinevirtual

Definition at line 34 of file PndHoughTrackCorrection.h.

34 { delete ioman; };

Member Function Documentation

◆ calc_rho()

double PndHoughTrackCorrection::calc_rho ( TVector3 &  Hit,
TVector3 &  Track,
TVector3 &  Hitmin 
)

Calculates rho for a hit. It is calculated as the path length of the particle track.

Referenced by SetUtilities().

◆ calcCorrectTrackCand()

PndTrackCand PndHoughTrackCorrection::calcCorrectTrackCand ( PndTrackCand trackCand,
TVector3 &  Track,
PndTrackCand trackCandTot 
)

Corrects the track candidate: only hits are used that are close to the calculated track (d < 0.5 cm).

Referenced by SetUtilities().

◆ FindMinimumHit()

TVector3 PndHoughTrackCorrection::FindMinimumHit ( PndTrackCand trackCand,
std::vector< double > &  circle 
)

Determines the first hit of a track as the one closest to the interaction point.

Referenced by SetUtilities().

◆ GetApolloniusTrackCand()

PndTrackCand PndHoughTrackCorrection::GetApolloniusTrackCand ( )
inline

Returns the corrected track candidate.

Definition at line 43 of file PndHoughTrackCorrection.h.

43 { return fApolloniusTrackCand; };

◆ SetUtilities()

virtual void PndHoughTrackCorrection::SetUtilities ( PndHoughUtilities utilities)
inlinevirtual

Definition at line 35 of file PndHoughTrackCorrection.h.

References calc_rho(), calcCorrectTrackCand(), and FindMinimumHit().

35 { fPndHoughUtilities = utilities; };

The documentation for this class was generated from the following file: