13 #ifndef PNDMVDRIEMANNVERTEXFINDERTASK_H_ 14 #define PNDMVDRIEMANNVERTEXFINDERTASK_H_ 23 #include "TClonesArray.h" 35 virtual InitStatus
Init();
36 virtual InitStatus
ReInit();
39 virtual void Exec(Option_t *opt);
48 std::pair<double, double>
eff;
55 TString fIdealTrackCandBranch;
56 TString fMCTrackBranch;
62 TClonesArray *fHitArray;
63 TClonesArray *fHitArray2;
64 TClonesArray *fTrackCandArray;
66 TClonesArray *fTrackArray;
67 TClonesArray *fIdealTrackCandArray;
68 TClonesArray *fMCTrackArray;
70 TClonesArray *fVertex;
71 TClonesArray *fMCVertex;
75 bool CheckVertex(std::vector<int> Combination, std::vector<std::pair<int, int>> PairCand);
76 bool CheckTwoCands(
int first,
int second);
77 int FoundCandInMCCands(
int candN);
78 void refit(std::vector<int> &CheckedCand);
79 void FindVertex(std::vector<int> CheckedCand, std::vector<std::pair<int, int>> &PairCand, std::vector<std::pair<int, int>> &TrueMCCand,
80 std::vector<std::pair<int, int>> &FalseMCCand, std::vector<std::pair<int, int>> &MCCand,
int &MaxIndex);
81 void CalcEfficiency(std::vector<std::pair<int, int>> TrueMCCand, std::vector<std::pair<int, int>> FalseMCCand, std::vector<std::pair<int, int>> MCCand);
virtual ~PndMvdRiemannVertexFinderTask()
virtual void FinishEvent()
virtual InitStatus ReInit()
std::pair< double, double > eff
PndMvdRiemannVertexFinderTask()
virtual void SetParContainers()
void SetVerbose(Int_t verbose)
void SetVertexCut(double cut)
virtual InitStatus Init()
std::pair< double, double > ghosts
virtual void Exec(Option_t *opt)
PndMvdRiemannVertexFinderTask & operator=(const PndMvdRiemannVertexFinderTask &)=delete