PandaRoot
PndSpectroscopyAnalysis Class Reference

#include <PndSpectroscopyAnalysis.h>

Inheritance diagram for PndSpectroscopyAnalysis:
PndAnalysis

Public Member Functions

 PndSpectroscopyAnalysis (TString tname1="", TString tname2="", TString algnamec="PidAlgoIdealCharged", TString algnamen="PidAlgoIdealNeutral")
 
virtual ~PndSpectroscopyAnalysis ()
 
- Public Member Functions inherited from PndAnalysis
 PndAnalysis (TString tname1="", TString tname2="", TString algnamec="PidAlgoIdealCharged", TString algnamen="PidAlgoIdealNeutral")
 
virtual ~PndAnalysis ()
 
void Rewind ()
 
void Reset ()
 
Int_t GetEvent (Int_t n=-1)
 
void GetEventInTask ()
 
FairMCEventHeader * GetEventHeader ()
 
Int_t GetEntries ()
 
Bool_t FillList (RhoCandList &l, TString listkey="All", TString pidTcaNames="", int trackHypothesis=-1)
 
void SetGoodTrackCriterion (TString crit="veryLoose")
 
void SetVerbose (Int_t level)
 
Bool_t PropagateToIp (RhoCandidate *cand)
 
Bool_t PropagateToZAxis (RhoCandidate *cand)
 
Bool_t PropagateToPoint (RhoCandidate *cand, TVector3 mypoint)
 
Bool_t PropagateToPlane (RhoCandidate *cand, TVector3 origin, TVector3 dj, TVector3 dk)
 
PndTrackGetTrack (RhoCandidate *cand)
 
FairTrackParP GetFirstPar (RhoCandidate *cand)
 
Bool_t ResetCandidate (RhoCandidate *cand)
 
Bool_t ResetDaughters (RhoCandidate *cand)
 
Bool_t McTruthMatch (RhoCandidate *cand, Int_t level=2, bool verbose=false)
 
std::vector< int > McTruthMatch (RhoCandList &list, Int_t level=2, bool verbose=false)
 
void McMatchAllowPhotos (int maxn=1, double thresh=0.05)
 
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))
 

Protected Member Functions

void Init ()
 
virtual void BuildMcCands ()
 
 ClassDef (PndSpectroscopyAnalysis, 0)
 
- Protected Member Functions inherited from PndAnalysis
void Init ()
 
Bool_t GetMcCandList (RhoCandList &l)
 
void ReadRecoCandidates ()
 
void Cleanup ()
 
TClonesArray * ReadTCA (TString tcaname)
 
Bool_t MctMatch (RhoCandidate &c, RhoCandList &mct, Int_t level=2, bool verbose=false)
 
Bool_t MctMatch (RhoCandidate *c, RhoCandList &mct, Int_t level=2, bool verbose=false)
 
 ClassDef (PndAnalysis, 0)
 

Protected Attributes

TClonesArray * fBumpArray = nullptr
 
- Protected Attributes inherited from PndAnalysis
FairRootManager * fRootManager
 
PndAnaPidSelectorfPidSelector
 
PndAnaPidCombinerfPidCombiner
 
RhoGoodPhotonSelectorfGoodPhotonSelector
 
RhoGoodTrackSelectorfGoodTrackSelector
 
Int_t fEvtCount
 
Int_t fChainEntries
 
Bool_t fEventRead
 
Bool_t fBuildMcCands
 
Int_t fVerbose
 
Int_t fPhotosMax
 
Double_t fPhotosThresh
 
std::map< int, RhoCandidate * > fMcPresenceMap
 
std::array< TClonesArray *, 6 > fChargedCands
 
std::array< TClonesArray *, 6 > fBremCorr
 
TClonesArray * fNeutralCands
 
std::array< TClonesArray *, 6 > fChargedProbability
 
std::array< TClonesArray *, 6 > fTracks
 
std::array< TClonesArray *, 6 > fTracks2
 
TClonesArray * fMcCands
 
TClonesArray * fMcTracks
 
std::array< RhoCandList, 6 > fChargedCandList
 
RhoCandList fNeutralCandList
 
RhoCandList fAllCandList
 
RhoCandList fMcCandList
 
TString fChargedPidName
 
TString fNeutralPidName
 
TString fTracksName
 
TString fTracksName2
 
TString fPidHypoStr [6]
 
Int_t fHypoPdg [6]
 
Bool_t fHypoFlagCharged [6]
 
Int_t fDefaultHypo
 Flag to check which hypo lists exists //0-4 for trk hypothesis, 5 for fallback. More...
 

Detailed Description

Definition at line 43 of file PndSpectroscopyAnalysis.h.

Constructor & Destructor Documentation

◆ PndSpectroscopyAnalysis()

PndSpectroscopyAnalysis::PndSpectroscopyAnalysis ( TString  tname1 = "",
TString  tname2 = "",
TString  algnamec = "PidAlgoIdealCharged",
TString  algnamen = "PidAlgoIdealNeutral" 
)
inline

Definition at line 45 of file PndSpectroscopyAnalysis.h.

References Init().

48  : PndAnalysis(tname1, tname2, algnamec, algnamen){Init();};
PndAnalysis(TString tname1="", TString tname2="", TString algnamec="PidAlgoIdealCharged", TString algnamen="PidAlgoIdealNeutral")

◆ ~PndSpectroscopyAnalysis()

virtual PndSpectroscopyAnalysis::~PndSpectroscopyAnalysis ( )
inlinevirtual

Definition at line 49 of file PndSpectroscopyAnalysis.h.

References BuildMcCands(), and Init().

49 {};

Member Function Documentation

◆ BuildMcCands()

virtual void PndSpectroscopyAnalysis::BuildMcCands ( )
protectedvirtual

Reimplemented from PndAnalysis.

Referenced by ~PndSpectroscopyAnalysis().

◆ ClassDef()

PndSpectroscopyAnalysis::ClassDef ( PndSpectroscopyAnalysis  ,
 
)
protected

◆ Init()

void PndSpectroscopyAnalysis::Init ( )
protected

Member Data Documentation

◆ fBumpArray

TClonesArray* PndSpectroscopyAnalysis::fBumpArray = nullptr
protected

Definition at line 55 of file PndSpectroscopyAnalysis.h.


The documentation for this class was generated from the following file: