2 #define PNDANALYSIS_H 1 10 #include "TLorentzVector.h" 14 #include "FairRootManager.h" 15 #include "FairTrackParP.h" 22 class FairMCEventHeader;
36 PndAnalysis(TString tname1 =
"", TString tname2 =
"", TString algnamec =
"PidAlgoIdealCharged", TString algnamen =
"PidAlgoIdealNeutral");
45 Bool_t
FillList(
RhoCandList &l, TString listkey =
"All", TString pidTcaNames =
"",
int trackHypothesis = -1);
77 Bool_t
Propagator(
int mode, FairTrackParP &tStart,
RhoCandidate *cand, TVector3 point = TVector3(0, 0, 0), Bool_t skipcov = kFALSE, Bool_t overwrite = kFALSE,
78 TVector3 planej = TVector3(1, 0, 0), TVector3 planek = TVector3(0, 1, 0));
88 TClonesArray *
ReadTCA(TString tcaname);
Bool_t ResetCandidate(RhoCandidate *cand)
Bool_t PropagateToPoint(RhoCandidate *cand, TVector3 mypoint)
FairTrackParP GetFirstPar(RhoCandidate *cand)
RhoGoodPhotonSelector * fGoodPhotonSelector
std::array< TClonesArray *, 6 > fTracks
std::array< TClonesArray *, 6 > fBremCorr
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)
PndTrack * GetTrack(RhoCandidate *cand)
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.
void SetGoodTrackCriterion(TString crit="veryLoose")
std::array< TClonesArray *, 6 > fChargedCands
PndAnaPidCombiner * fPidCombiner
std::array< TClonesArray *, 6 > fTracks2
std::array< RhoCandList, 6 > fChargedCandList
PndAnalysis(TString tname1="", TString tname2="", TString algnamec="PidAlgoIdealCharged", TString algnamen="PidAlgoIdealNeutral")
void ReadRecoCandidates()
virtual void BuildMcCands()
std::array< TClonesArray *, 6 > fChargedProbability
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))
FairMCEventHeader * GetEventHeader()
RhoGoodTrackSelector * fGoodTrackSelector
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)
TClonesArray * ReadTCA(TString tcaname)
std::map< int, RhoCandidate * > fMcPresenceMap
TClonesArray * fNeutralCands
Bool_t ResetDaughters(RhoCandidate *cand)
void SetVerbose(Int_t level)