CbmRoot
CbmLmvmCandidate.h
Go to the documentation of this file.
1 
6 #ifndef CBM_LMVM_CANDIDATE_H
7 #define CBM_LMVM_CANDIDATE_H
8 
9 #include "TVector3.h"
10 
12 public:
14  : fPosition()
15  , fMomentum()
16  , fMass(0.)
17  , fEnergy(0.)
18  , fRapidity(0.)
19  , fCharge(0)
20  , fChi2Prim(0.)
21  , fChi2sts(0.)
22  , fMcMotherId(-1)
23  , fStsMcTrackId(-1)
24  , fRichMcTrackId(-1)
25  , fTrdMcTrackId(-1)
26  , fTofMcTrackId(-1)
27  , fStsInd(-1)
28  , fRichInd(-1)
29  , fTrdInd(-1)
30  , fTofInd(-1)
31  , fIsElectron(kFALSE)
32  , fIsMcSignalElectron(kFALSE)
33  , fIsMcPi0Electron(kFALSE)
34  , fIsMcGammaElectron(kFALSE)
35  , fIsMcEtaElectron(kFALSE)
36  , fMcPdg(-1)
37  , fIsGamma(kFALSE)
38  , fDSts(0.)
39  , fIsTtCutElectron(kFALSE)
40  , fIsStCutElectron(kFALSE)
41  , fIsRtCutElectron(kFALSE)
42  , fIsMvd1CutElectron(kFALSE)
43  , fIsMvd2CutElectron(kFALSE)
44  , fRichAnn(0.)
45  , fTrdAnn(0.)
46  , fMass2(0.) {}
47 
48  void ResetMcParams() {
49  fIsMcSignalElectron = false;
50  fIsMcPi0Electron = false;
51  fIsMcGammaElectron = false;
52  fIsMcEtaElectron = false;
53  fMcMotherId = -1;
54  fStsMcTrackId = -1;
55  fRichMcTrackId = -1;
56  fTrdMcTrackId = -1;
57  fTofMcTrackId = -1;
58  }
59 
60  // track parameters
61  TVector3 fPosition;
62  TVector3 fMomentum;
63  Double_t fMass;
64  Double_t fEnergy;
65  Double_t fRapidity;
66  Int_t fCharge;
67  Double_t fChi2Prim;
68  Double_t fChi2sts;
69 
70  Int_t fMcMotherId;
75  Int_t fStsInd;
76  Int_t fRichInd;
77  Int_t fTrdInd;
78  Int_t fTofInd;
79  Bool_t fIsElectron;
84 
85  Int_t fMcPdg;
86  Bool_t fIsGamma;
87  Double_t fDSts;
93  Double_t fRichAnn;
94  Double_t fTrdAnn;
95  Double_t fMass2;
96 };
97 
98 #endif
CbmLmvmCandidate::CbmLmvmCandidate
CbmLmvmCandidate()
Definition: CbmLmvmCandidate.h:13
CbmLmvmCandidate::fTrdAnn
Double_t fTrdAnn
Definition: CbmLmvmCandidate.h:94
CbmLmvmCandidate::fRapidity
Double_t fRapidity
Definition: CbmLmvmCandidate.h:65
CbmLmvmCandidate::fIsMvd2CutElectron
Bool_t fIsMvd2CutElectron
Definition: CbmLmvmCandidate.h:92
CbmLmvmCandidate::ResetMcParams
void ResetMcParams()
Definition: CbmLmvmCandidate.h:48
CbmLmvmCandidate
Definition: CbmLmvmCandidate.h:11
CbmLmvmCandidate::fStsMcTrackId
Int_t fStsMcTrackId
Definition: CbmLmvmCandidate.h:71
CbmLmvmCandidate::fEnergy
Double_t fEnergy
Definition: CbmLmvmCandidate.h:64
CbmLmvmCandidate::fIsTtCutElectron
Bool_t fIsTtCutElectron
Definition: CbmLmvmCandidate.h:88
CbmLmvmCandidate::fIsMvd1CutElectron
Bool_t fIsMvd1CutElectron
Definition: CbmLmvmCandidate.h:91
CbmLmvmCandidate::fRichInd
Int_t fRichInd
Definition: CbmLmvmCandidate.h:76
CbmLmvmCandidate::fRichAnn
Double_t fRichAnn
Definition: CbmLmvmCandidate.h:93
CbmLmvmCandidate::fTrdMcTrackId
Int_t fTrdMcTrackId
Definition: CbmLmvmCandidate.h:73
CbmLmvmCandidate::fIsMcPi0Electron
Bool_t fIsMcPi0Electron
Definition: CbmLmvmCandidate.h:81
CbmLmvmCandidate::fTofMcTrackId
Int_t fTofMcTrackId
Definition: CbmLmvmCandidate.h:74
CbmLmvmCandidate::fDSts
Double_t fDSts
Definition: CbmLmvmCandidate.h:87
CbmLmvmCandidate::fTrdInd
Int_t fTrdInd
Definition: CbmLmvmCandidate.h:77
CbmLmvmCandidate::fMass
Double_t fMass
Definition: CbmLmvmCandidate.h:63
CbmLmvmCandidate::fIsGamma
Bool_t fIsGamma
Definition: CbmLmvmCandidate.h:86
CbmLmvmCandidate::fIsStCutElectron
Bool_t fIsStCutElectron
Definition: CbmLmvmCandidate.h:89
CbmLmvmCandidate::fChi2sts
Double_t fChi2sts
Definition: CbmLmvmCandidate.h:68
CbmLmvmCandidate::fMass2
Double_t fMass2
Definition: CbmLmvmCandidate.h:95
CbmLmvmCandidate::fIsMcGammaElectron
Bool_t fIsMcGammaElectron
Definition: CbmLmvmCandidate.h:82
CbmLmvmCandidate::fRichMcTrackId
Int_t fRichMcTrackId
Definition: CbmLmvmCandidate.h:72
CbmLmvmCandidate::fPosition
TVector3 fPosition
Definition: CbmLmvmCandidate.h:61
CbmLmvmCandidate::fMcPdg
Int_t fMcPdg
Definition: CbmLmvmCandidate.h:85
CbmLmvmCandidate::fChi2Prim
Double_t fChi2Prim
Definition: CbmLmvmCandidate.h:67
CbmLmvmCandidate::fIsMcEtaElectron
Bool_t fIsMcEtaElectron
Definition: CbmLmvmCandidate.h:83
CbmLmvmCandidate::fMomentum
TVector3 fMomentum
Definition: CbmLmvmCandidate.h:62
CbmLmvmCandidate::fIsRtCutElectron
Bool_t fIsRtCutElectron
Definition: CbmLmvmCandidate.h:90
CbmLmvmCandidate::fMcMotherId
Int_t fMcMotherId
Definition: CbmLmvmCandidate.h:70
CbmLmvmCandidate::fCharge
Int_t fCharge
Definition: CbmLmvmCandidate.h:66
CbmLmvmCandidate::fIsElectron
Bool_t fIsElectron
Definition: CbmLmvmCandidate.h:79
CbmLmvmCandidate::fIsMcSignalElectron
Bool_t fIsMcSignalElectron
Definition: CbmLmvmCandidate.h:80
CbmLmvmCandidate::fTofInd
Int_t fTofInd
Definition: CbmLmvmCandidate.h:78
CbmLmvmCandidate::fStsInd
Int_t fStsInd
Definition: CbmLmvmCandidate.h:75