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
11class CbmAnaJpsiCandidate : public TObject {
12public:
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)
43 , fIsMismatch(false)
44 {
45 }
46
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
92
94
95 ClassDef(CbmAnaJpsiCandidate, 1)
96};
97
98#endif