6 #ifndef PndStraightLineTrackFinderTask_H 7 #define PndStraightLineTrackFinderTask_H 26 PndStraightLineTrackFinderTask(Int_t inFinderMode = 0, TString hitBranch =
"LMDHitsStrip", TString clusterBranch =
"LMDStripClusterCand", TString digiBranch =
"LMDStripDigis",
33 virtual InitStatus
Init();
34 virtual InitStatus
ReInit();
37 virtual void Exec(Option_t *opt);
52 Double_t GetTrackCurvature(
PndMCTrack *myTrack);
54 TString fHitBranchStrip;
55 TString fClusterBranchStrip;
56 TString fDigiBranchStrip;
59 TClonesArray *fStripHitArray;
60 TClonesArray *fStripClusterArray;
61 TClonesArray *fStripDigiArray;
64 TClonesArray *fTrackCandArray;
70 bool SortHitsByZ(std::vector<std::vector<std::pair<Int_t, bool>>> &hitsd, Int_t nStripHits);
71 bool SortHitsByDet(std::vector<std::vector<std::pair<Int_t, bool>>> &hitsd, Int_t nStripHits);
72 bool SortHitsByDet2(std::vector<std::vector<std::pair<Int_t, bool>>> &hitsd, Int_t nStripHits);
73 void FindHitsI(std::vector<PndTrackCand> &tofill, std::vector<std::vector<std::pair<Int_t, bool>>> &hitsd, Int_t nStripHits);
74 void FindHitsII(std::vector<PndTrackCand> &tofill, std::vector<std::vector<std::pair<Int_t, bool>>> &hitsd, Int_t nStripHits);
75 void FindHitsIII(std::vector<PndTrackCand> &tofill, std::vector<std::vector<std::pair<Int_t, bool>>> &hitsd, Int_t nStripHits);
virtual ~PndStraightLineTrackFinderTask()
void SetVerbose(Int_t verbose)
void SetSensPixelFlag(bool fS)
virtual void Exec(Option_t *opt)
virtual InitStatus ReInit()
void SetInaccuracy(Double_t accu)
virtual InitStatus Init()
virtual void SetParContainers()
PndStraightLineTrackFinderTask(Int_t inFinderMode=0, TString hitBranch="LMDHitsStrip", TString clusterBranch="LMDStripClusterCand", TString digiBranch="LMDStripDigis", Int_t innSensPP=8)
void SetSensStripFlag(bool fS)