1 #ifndef PNDMVDRIEMANNVERTEXFINDERTASK_H_ 2 #define PNDMVDRIEMANNVERTEXFINDERTASK_H_ 11 #include "TClonesArray.h" 23 virtual InitStatus
Init();
24 virtual InitStatus
ReInit();
27 virtual void Exec(Option_t *opt);
36 std::pair<double, double>
eff;
43 TString fIdealTrackCandBranch;
44 TString fMCTrackBranch;
50 TClonesArray *fHitArray;
51 TClonesArray *fHitArray2;
52 TClonesArray *fTrackCandArray;
54 TClonesArray *fTrackArray;
55 TClonesArray *fIdealTrackCandArray;
56 TClonesArray *fMCTrackArray;
58 TClonesArray *fVertex;
59 TClonesArray *fMCVertex;
63 bool CheckVertex(std::vector<int> Combination, std::vector<std::pair<int, int>> PairCand);
64 bool CheckTwoCands(
int first,
int second);
65 int FoundCandInMCCands(
int candN);
66 void refit(std::vector<int> &CheckedCand);
67 void FindVertex(std::vector<int> CheckedCand, std::vector<std::pair<int, int>> &PairCand, std::vector<std::pair<int, int>> &TrueMCCand,
68 std::vector<std::pair<int, int>> &FalseMCCand, std::vector<std::pair<int, int>> &MCCand,
int &MaxIndex);
69 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