2 #define PNDANALYSIS_H 1
10 #include "TLorentzVector.h"
14 #include "FairRootManager.h"
15 #include "FairTrackParP.h"
21 class FairMCEventHeader;
70 TVector3
point=TVector3(0,0,0),
Bool_t skipcov=kFALSE,
Bool_t overwrite=kFALSE, TVector3 planej=TVector3(1,0,0), TVector3 planek=TVector3(0,1,0));
std::array< TClonesArray *, 6 > fChargedProbability
Bool_t ResetCandidate(RhoCandidate *cand)
TClonesArray * ReadTCA(TString tcaname)
Bool_t PropagateToPoint(RhoCandidate *cand, TVector3 mypoint)
PndTrack * GetTrack(RhoCandidate *cand)
FairTrackParP GetFirstPar(RhoCandidate *cand)
std::array< RhoCandList, 6 > fChargedCandList
FairMCEventHeader * GetEventHeader()
std::map< int, RhoCandidate * > fMcPresenceMap
Bool_t PropagateToZAxis(RhoCandidate *cand)
PndAnaPidSelector * fPidSelector
Bool_t FillList(RhoCandList &l, TString listkey="All", TString pidTcaNames="", int trackHypothesis=-1)
Bool_t MctMatch(RhoCandidate &c, RhoCandList &mct, Int_t level=2, bool verbose=false)
Bool_t GetMcCandList(RhoCandList &l)
Bool_t PropagateToPlane(RhoCandidate *cand, TVector3 origin, TVector3 dj, TVector3 dk)
Int_t fDefaultHypo
Flag to check which hypo lists exists //0-4 for trk hypothesis, 5 for fallback.
PndAnaPidCombiner * fPidCombiner
std::array< TClonesArray *, 6 > fBremCorr
PndAnalysis(TString tname1="", TString tname2="", TString algnamec="PidAlgoIdealCharged", TString algnamen="PidAlgoIdealNeutral")
void ReadRecoCandidates()
Bool_t Propagator(int mode, FairTrackParP &tStart, RhoCandidate *cand, TVector3 point=TVector3(0, 0, 0), Bool_t skipcov=kFALSE, Bool_t overwrite=kFALSE, TVector3 planej=TVector3(1, 0, 0), TVector3 planek=TVector3(0, 1, 0))
std::array< TClonesArray *, 6 > fTracks
FairRootManager * fRootManager
void McMatchAllowPhotos(int maxn=1, double thresh=0.05)
Bool_t PropagateToIp(RhoCandidate *cand)
RhoCandList fNeutralCandList
Bool_t McTruthMatch(RhoCandidate *cand, Int_t level=2, bool verbose=false)
Bool_t fHypoFlagCharged[6]
Int_t GetEvent(Int_t n=-1)
std::array< TClonesArray *, 6 > fTracks2
TClonesArray * fNeutralCands
std::array< TClonesArray *, 6 > fChargedCands
Bool_t ResetDaughters(RhoCandidate *cand)
void SetVerbose(Int_t level)