18 #ifndef PndStraightLineTrackFinderTask_H 19 #define PndStraightLineTrackFinderTask_H 38 PndStraightLineTrackFinderTask(Int_t inFinderMode = 0, TString hitBranch =
"LMDHitsStrip", TString clusterBranch =
"LMDStripClusterCand", TString digiBranch =
"LMDStripDigis",
45 virtual InitStatus
Init();
46 virtual InitStatus
ReInit();
49 virtual void Exec(Option_t *opt);
64 Double_t GetTrackCurvature(
PndMCTrack *myTrack);
66 TString fHitBranchStrip;
67 TString fClusterBranchStrip;
68 TString fDigiBranchStrip;
71 TClonesArray *fStripHitArray;
72 TClonesArray *fStripClusterArray;
73 TClonesArray *fStripDigiArray;
76 TClonesArray *fTrackCandArray;
82 bool SortHitsByZ(std::vector<std::vector<std::pair<Int_t, bool>>> &hitsd, Int_t nStripHits);
83 bool SortHitsByDet(std::vector<std::vector<std::pair<Int_t, bool>>> &hitsd, Int_t nStripHits);
84 bool SortHitsByDet2(std::vector<std::vector<std::pair<Int_t, bool>>> &hitsd, Int_t nStripHits);
85 void FindHitsI(std::vector<PndTrackCand> &tofill, std::vector<std::vector<std::pair<Int_t, bool>>> &hitsd, Int_t nStripHits);
86 void FindHitsII(std::vector<PndTrackCand> &tofill, std::vector<std::vector<std::pair<Int_t, bool>>> &hitsd, Int_t nStripHits);
87 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)