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