CbmRoot
CbmAnaJpsiCandidate.h
Go to the documentation of this file.
1
2
#ifndef CBM_ANA_JPSI_CANDIDATE_H
3
#define CBM_ANA_JPSI_CANDIDATE_H
4
5
#include "TObject.h"
6
#include "TVector3.h"
7
8
class
CbmAnaJpsiCandidate
:
public
TObject {
9
public
:
10
CbmAnaJpsiCandidate
()
11
:
fPosition
()
12
,
fMomentum
()
13
,
fMass
(0.)
14
,
fEnergy
(0.)
15
,
fRapidity
(0.)
16
,
fCharge
(0)
17
,
fChi2Prim
(0.)
18
,
fChi2sts
(0.)
19
,
fStsInd
(-1)
20
,
fRichInd
(-1)
21
,
fTrdInd
(-1)
22
,
fTofInd
(-1)
23
,
fIsElectron
(false)
24
,
fStsMcMotherId
(-1)
25
,
fStsMcTrackId
(-1)
26
,
fRichMcTrackId
(-1)
27
,
fTrdMcTrackId
(-1)
28
,
fTofMcTrackId
(-1)
29
,
fIsMcSignalElectron
(false)
30
,
fIsMcPi0Electron
(false)
31
,
fIsMcGammaElectron
(false)
32
,
fMcPdg
(-1)
33
,
fRichAnn
(0.)
34
,
fTrdAnn
(0.)
35
,
fMass2
(0.)
36
,
fIsRichEl
(false)
37
,
fIsTrdEl
(false)
38
,
fIsTofEl
(false)
39
,
fIsRecoTrackAccepted
(false)
40
,
fIsMismatch
(false) {}
41
42
void
ResetMcParams
() {
43
fIsMcSignalElectron
=
false
;
44
fIsMcPi0Electron
=
false
;
45
fIsMcGammaElectron
=
false
;
46
fStsMcMotherId
= -1;
47
fStsMcTrackId
= -1;
48
}
49
50
TVector3
fPosition
;
// reconstructed position of the track
51
TVector3
fMomentum
;
// reconstructed momenta of the track
52
Double_t
fMass
;
// mass
53
Double_t
fEnergy
;
// energy
54
Double_t
fRapidity
;
// rapidity
55
Int_t
fCharge
;
// charge
56
Double_t
fChi2Prim
;
// reconstructed chi2 to primary vertex
57
Double_t
fChi2sts
;
// reconstructed chi2 of the STS track fit
58
59
Int_t
fStsInd
;
// index of StsTrack
60
Int_t
fRichInd
;
// index of RichRing
61
Int_t
fTrdInd
;
// index of TrdTrack
62
Int_t
fTofInd
;
// index of TofHit
63
64
Bool_t
fIsElectron
;
// TRUE if candidate was identified as electron
65
66
Int_t
fStsMcMotherId
;
// McMotherId of the StsMctrack
67
Int_t
fStsMcTrackId
;
// MCTrack Id of the STS track
68
Int_t
fRichMcTrackId
;
// McTrack Id of the RICH ring
69
Int_t
fTrdMcTrackId
;
// MCTrack Id of the TRD track
70
Int_t
fTofMcTrackId
;
// MCTrack Id of the TOF hit
71
72
Bool_t
fIsMcSignalElectron
;
// Is signal electron (MC info)
73
Bool_t
fIsMcPi0Electron
;
// Is pi0 electron (MC info)
74
Bool_t
fIsMcGammaElectron
;
// Is gamma conversion electron (MC info)
75
76
Int_t
fMcPdg
;
77
Double_t
fRichAnn
;
78
Double_t
fTrdAnn
;
79
Double_t
fMass2
;
80
81
Bool_t
fIsRichEl
;
82
Bool_t
fIsTrdEl
;
83
Bool_t
fIsTofEl
;
84
85
Bool_t
fIsRecoTrackAccepted
;
86
87
Bool_t
fIsMismatch
;
88
89
ClassDef(
CbmAnaJpsiCandidate
, 1)
90
};
91
92
#endif
CbmAnaJpsiCandidate::fIsMcGammaElectron
Bool_t fIsMcGammaElectron
Definition:
CbmAnaJpsiCandidate.h:74
CbmAnaJpsiCandidate::fEnergy
Double_t fEnergy
Definition:
CbmAnaJpsiCandidate.h:53
CbmAnaJpsiCandidate::fMcPdg
Int_t fMcPdg
Definition:
CbmAnaJpsiCandidate.h:76
CbmAnaJpsiCandidate::fRichInd
Int_t fRichInd
Definition:
CbmAnaJpsiCandidate.h:60
CbmAnaJpsiCandidate::fIsRichEl
Bool_t fIsRichEl
Definition:
CbmAnaJpsiCandidate.h:81
CbmAnaJpsiCandidate::fStsInd
Int_t fStsInd
Definition:
CbmAnaJpsiCandidate.h:59
CbmAnaJpsiCandidate
Definition:
CbmAnaJpsiCandidate.h:8
CbmAnaJpsiCandidate::fIsTrdEl
Bool_t fIsTrdEl
Definition:
CbmAnaJpsiCandidate.h:82
CbmAnaJpsiCandidate::fTrdAnn
Double_t fTrdAnn
Definition:
CbmAnaJpsiCandidate.h:78
CbmAnaJpsiCandidate::fRichAnn
Double_t fRichAnn
Definition:
CbmAnaJpsiCandidate.h:77
CbmAnaJpsiCandidate::fRichMcTrackId
Int_t fRichMcTrackId
Definition:
CbmAnaJpsiCandidate.h:68
CbmAnaJpsiCandidate::fRapidity
Double_t fRapidity
Definition:
CbmAnaJpsiCandidate.h:54
CbmAnaJpsiCandidate::fTrdInd
Int_t fTrdInd
Definition:
CbmAnaJpsiCandidate.h:61
CbmAnaJpsiCandidate::CbmAnaJpsiCandidate
CbmAnaJpsiCandidate()
Definition:
CbmAnaJpsiCandidate.h:10
CbmAnaJpsiCandidate::fMomentum
TVector3 fMomentum
Definition:
CbmAnaJpsiCandidate.h:51
CbmAnaJpsiCandidate::fChi2Prim
Double_t fChi2Prim
Definition:
CbmAnaJpsiCandidate.h:56
CbmAnaJpsiCandidate::ResetMcParams
void ResetMcParams()
Definition:
CbmAnaJpsiCandidate.h:42
CbmAnaJpsiCandidate::fCharge
Int_t fCharge
Definition:
CbmAnaJpsiCandidate.h:55
CbmAnaJpsiCandidate::fTrdMcTrackId
Int_t fTrdMcTrackId
Definition:
CbmAnaJpsiCandidate.h:69
CbmAnaJpsiCandidate::fMass
Double_t fMass
Definition:
CbmAnaJpsiCandidate.h:52
CbmAnaJpsiCandidate::fIsMcPi0Electron
Bool_t fIsMcPi0Electron
Definition:
CbmAnaJpsiCandidate.h:73
CbmAnaJpsiCandidate::fMass2
Double_t fMass2
Definition:
CbmAnaJpsiCandidate.h:79
CbmAnaJpsiCandidate::fIsElectron
Bool_t fIsElectron
Definition:
CbmAnaJpsiCandidate.h:64
CbmAnaJpsiCandidate::fIsMcSignalElectron
Bool_t fIsMcSignalElectron
Definition:
CbmAnaJpsiCandidate.h:72
CbmAnaJpsiCandidate::fTofInd
Int_t fTofInd
Definition:
CbmAnaJpsiCandidate.h:62
CbmAnaJpsiCandidate::fTofMcTrackId
Int_t fTofMcTrackId
Definition:
CbmAnaJpsiCandidate.h:70
CbmAnaJpsiCandidate::fStsMcTrackId
Int_t fStsMcTrackId
Definition:
CbmAnaJpsiCandidate.h:67
CbmAnaJpsiCandidate::fPosition
TVector3 fPosition
Definition:
CbmAnaJpsiCandidate.h:50
CbmAnaJpsiCandidate::fStsMcMotherId
Int_t fStsMcMotherId
Definition:
CbmAnaJpsiCandidate.h:66
CbmAnaJpsiCandidate::fIsRecoTrackAccepted
Bool_t fIsRecoTrackAccepted
Definition:
CbmAnaJpsiCandidate.h:85
CbmAnaJpsiCandidate::fIsMismatch
Bool_t fIsMismatch
Definition:
CbmAnaJpsiCandidate.h:87
CbmAnaJpsiCandidate::fIsTofEl
Bool_t fIsTofEl
Definition:
CbmAnaJpsiCandidate.h:83
CbmAnaJpsiCandidate::fChi2sts
Double_t fChi2sts
Definition:
CbmAnaJpsiCandidate.h:57
analysis
PWGCHA
jpsi
CbmAnaJpsiCandidate.h
Generated on Wed Oct 28 2020 15:11:34 for CbmRoot by
1.8.18