PandaRoot
PndMvdSttGemRiemannTrackFinder Class Reference

#include <PndMvdSttGemRiemannTrackFinder.h>

Inheritance diagram for PndMvdSttGemRiemannTrackFinder:
PndRiemannTrackFinder

Public Member Functions

 PndMvdSttGemRiemannTrackFinder ()
 
virtual ~PndMvdSttGemRiemannTrackFinder ()
 
 PndMvdSttGemRiemannTrackFinder (const PndMvdSttGemRiemannTrackFinder &)=delete
 
PndMvdSttGemRiemannTrackFinderoperator= (const PndMvdSttGemRiemannTrackFinder &)=delete
 
void FindTracks ()
 Main function to start the riemann track finding. More...
 
void AddHits (TClonesArray *hits, Int_t branchId)
 
void SetCutDistH (TH2F *hist)
 
void SetCutChi2H (TH2F *hist)
 
void SetSttTubeArray (TClonesArray *SttTubeArray)
 
- Public Member Functions inherited from PndRiemannTrackFinder
 PndRiemannTrackFinder ()
 
virtual ~PndRiemannTrackFinder ()
 
void FindTracks ()
 Main function to start the riemann track finding. More...
 
void MergeTracks ()
 
void SetHits (std::vector< FairHit *> hits)
 
void AddHits (std::vector< FairHit *> hits, Int_t branchId)
 Replaces the existing array of hits with a new one. More...
 
void AddHits (TClonesArray *hits, Int_t branchId)
 Appends the new array of hits to the existing one. More...
 
void AddHit (FairHit *hit)
 
void SetVerbose (int val)
 Adds one new hit to the array of hits. More...
 
int NTracks ()
 
PndRiemannTrack GetTrack (int i)
 Returns the number of found tracks. More...
 
PndTrack GetPndTrack (int i, double B)
 Returns the track with the index i. More...
 
std::set< Int_t > GetTrackCandidates (int i)
 
std::vector< PndTrackCandGetTrackCand ()
 Returns the hits belonging to track i. More...
 
std::vector< PndTrackCandGetMergedTrackCands ()
 
PndTrackCand GetTrackCand (int i)
 
double HitDistance (FairHit *h1, FairHit *h2)
 Calculates the distance between two hits. More...
 
int HitTooClose (std::set< Int_t > hitsInUse, FairHit *newHit, double threshold)
 returns if and which hit was too close to the hit which is tested More...
 
void SetMaxPlaneDistance (double val)
 
void SetMaxSZDist (double val)
 
void SetMaxSZChi2 (double val)
 
void SetMinPointDist (double val)
 
void SetUseZeroPos (bool val)
 
void SetMinNumberOfHits (int val)
 
void SetCurvDiff (double val)
 
void SetDipDiff (double val)
 

Additional Inherited Members

- Protected Member Functions inherited from PndRiemannTrackFinder
std::vector< std::set< Int_t > > GetStartTracks ()
 
bool CheckHitDistance (int hit1, int hit2)
 Tests if the distance is larger than fMinPointDistance. More...
 
bool CheckSZ (PndRiemannTrack aTrack)
 Tests the results of the sz fit. More...
 
bool CheckRiemannHit (PndRiemannTrack *track, PndRiemannHit *hit)
 
bool CheckHitInSameSensor (int hit1, int hit2)
 Tests if hits in the same sensor are selected. More...
 
bool CheckHitInTrack (std::set< int > hitIds, int hit)
 Check if this HitId is used in the track already. More...
 
bool CheckZeroPassing (std::set< int > hitIds, int hit)
 If the track contains (0,0) all points have to go forward or all have to go backward. More...
 
PndRiemannTrack CreateRiemannTrack (std::set< Int_t > aHits)
 Creates a PndRiemannTrack from an array of indices of Hits. More...
 
bool TrackExists (std::set< Int_t > hitsInTrack)
 
std::vector< int > FindTracksWithSimilarParameters (int TrackInd, std::vector< int > &TracksToTest, double curvDiff, double dipDiff)
 
std::vector< int > FindTracksWithSimilarHits (std::vector< int > &TracksToTest, std::vector< PndTrackCand > tempTrCnd, std::vector< int > &tempKillAfter)
 ---------—added by me More...
 
void RemoveTrack (int TrackInd, std::vector< int > &TrackList)
 
PndTrackCand CreateOneTrackCand (std::vector< int > tracks, std::vector< PndTrackCand > tempTrCnd)
 
- Protected Attributes inherited from PndRiemannTrackFinder
std::vector< FairHit * > fHits
 Vector of all FairHits used for track finding (fitting) More...
 
std::vector< PndRiemannTrackfTracks
 Resulting Riemann Tracks. More...
 
std::vector< std::set< Int_t > > fHitsInTracks
 Vector of indizes which hits where used in which track. More...
 
std::vector< PndTrackCandfTrackCand
 List of track candidates. More...
 
std::vector< std::pair< double, double > > fCurvAndDipOfCand
 Curvature and dip of fPndTrackCand. More...
 
std::vector< PndTrackCandfMergedTrackCand
 
std::vector< std::set< int > > fHitsTooClose
 matrix of TrackNr and hits which are too close to one of the three starting points More...
 
std::map< int, FairLink > fMapHitToID
 map to convert the list of hits back into a FairLink More...
 
std::map< FairLink, int > fMapIDtoHit
 map to convert the list of detID/hitID hits into the list of hits for track finding More...
 
double fMaxPlaneDist
 Distance cut between new point and riemann plane. More...
 
double fMaxSZDist
 Distance cut between s-z coordinate of a new point and the sz-fit of the hits in the track. More...
 
double fMinPointDist
 Minimum distance between two points to use them as point for the base plane. More...
 
double fMaxSZChi2
 Maximum allowed Chi2 in an sz fit. More...
 
int fMinNumberOfHits
 Minimum number of hits in track necessary for a match. More...
 
double fCurvDiff
 TrackMerger parameter. More...
 
double fDipDiff
 TrackMerger parameter. More...
 
double fMagField
 size of the magnetic field in Tesla More...
 
int fVerbose
 
bool fUseZeroPos
 

Detailed Description

Definition at line 14 of file PndMvdSttGemRiemannTrackFinder.h.

Constructor & Destructor Documentation

◆ PndMvdSttGemRiemannTrackFinder() [1/2]

PndMvdSttGemRiemannTrackFinder::PndMvdSttGemRiemannTrackFinder ( )

◆ ~PndMvdSttGemRiemannTrackFinder()

virtual PndMvdSttGemRiemannTrackFinder::~PndMvdSttGemRiemannTrackFinder ( )
virtual

◆ PndMvdSttGemRiemannTrackFinder() [2/2]

PndMvdSttGemRiemannTrackFinder::PndMvdSttGemRiemannTrackFinder ( const PndMvdSttGemRiemannTrackFinder )
delete

Member Function Documentation

◆ AddHits()

void PndMvdSttGemRiemannTrackFinder::AddHits ( TClonesArray *  hits,
Int_t  branchId 
)

◆ FindTracks()

void PndMvdSttGemRiemannTrackFinder::FindTracks ( )

Main function to start the riemann track finding.

◆ operator=()

PndMvdSttGemRiemannTrackFinder& PndMvdSttGemRiemannTrackFinder::operator= ( const PndMvdSttGemRiemannTrackFinder )
delete

◆ SetCutChi2H()

void PndMvdSttGemRiemannTrackFinder::SetCutChi2H ( TH2F *  hist)
inline

Definition at line 26 of file PndMvdSttGemRiemannTrackFinder.h.

26 { fCutChi2H = hist; }

◆ SetCutDistH()

void PndMvdSttGemRiemannTrackFinder::SetCutDistH ( TH2F *  hist)
inline

Definition at line 25 of file PndMvdSttGemRiemannTrackFinder.h.

25 { fCutDistH = hist; }

◆ SetSttTubeArray()

void PndMvdSttGemRiemannTrackFinder::SetSttTubeArray ( TClonesArray *  SttTubeArray)
inline

Definition at line 28 of file PndMvdSttGemRiemannTrackFinder.h.

References PndSttStrawMap::GenerateStrawMap(), and sign().

28 { fStrawMap.GenerateStrawMap(SttTubeArray); }
void GenerateStrawMap(TClonesArray *const stt_tube_array)

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