ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
Home page
Related Pages
Modules
Namespaces
Classes
Files
External Links
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
AnaTutorialECCE.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file AnaTutorialECCE.h
1
#ifndef ANATUTORIALECCE_H__
2
#define ANATUTORIALECCE_H__
3
4
#include <
fun4all/SubsysReco.h
>
5
7
class
Fun4AllHistoManager
;
8
class
PHCompositeNode
;
9
class
TFile;
10
class
TTree;
11
class
TH1;
12
class
TH2;
13
class
PHCompositeNode
;
14
class
RawClusterContainer
;
15
class
RawCluster
;
16
class
SvtxTrackMap
;
17
class
JetMap
;
18
class
GlobalVertex
;
19
class
PHHepMCGenEventMap
;
20
class
JetEvalStack
;
21
class
JetRecoEval
;
22
class
PHG4TruthInfoContainer
;
23
class
PHHepMCGenEvent
;
24
class
CaloTriggerInfo
;
25
class
JetTruthEval
;
26
class
JetEvalStack
;
27
29
class
AnaTutorialECCE
:
public
SubsysReco
30
{
31
public
:
33
AnaTutorialECCE
(
const
std::string &
name
=
"AnaTutorialECCE"
,
34
const
std::string &
fname
=
"AnaTutorialECCE.root"
);
35
36
// Destructor
37
virtual
~AnaTutorialECCE
();
38
40
int
Init
(
PHCompositeNode
*);
41
43
int
process_event
(
PHCompositeNode
*);
44
46
int
End
(
PHCompositeNode
*);
47
49
void
setMinJetPt
(
float
minjetpt) {
m_minjetpt
= minjetpt; }
50
52
void
setMinClusPt
(
float
mincluspt) {
m_mincluspt
= mincluspt; }
53
55
void
analyzeTracks
(
bool
analyzeTracks
) {
m_analyzeTracks
=
analyzeTracks
; }
56
void
analyzeClusters
(
bool
analyzeClusters
) {
m_analyzeClusters
=
analyzeClusters
; }
57
void
analyzeJets
(
bool
analyzeJets
) {
m_analyzeJets
=
analyzeJets
; }
58
void
analyzeTruth
(
bool
analyzeTruth
) {
m_analyzeTruth
=
analyzeTruth
; }
59
60
private
:
62
std::string
m_outfilename
;
63
65
Fun4AllHistoManager
*
m_hm
;
66
68
float
m_minjetpt
;
69
71
float
m_mincluspt
;
72
74
bool
m_analyzeTracks
;
75
77
bool
m_analyzeClusters
;
78
80
bool
m_analyzeJets
;
81
83
bool
m_analyzeTruth
;
84
86
TFile *
m_outfile
;
87
TTree *
m_clustertree
;
88
TTree *
m_tracktree
;
89
TTree *
m_hepmctree
;
90
TTree *
m_truthtree
;
91
TTree *
m_recojettree
;
92
TTree *
m_truthjettree
;
93
TH1 *
m_phi_h
;
94
TH2 *
m_eta_phi_h
;
95
96
JetEvalStack
*
m_jetEvalStack
=
nullptr
;
97
99
void
getTracks
(
PHCompositeNode
*topNode);
100
void
getTruthJets
(
PHCompositeNode
*topNode);
101
void
getReconstructedJets
(
PHCompositeNode
*topNode);
102
void
getEMCalClusters
(
PHCompositeNode
*topNode);
103
void
getHEPMCTruth
(
PHCompositeNode
*topNode);
104
void
getPHG4Truth
(
PHCompositeNode
*topNode);
105
106
void
initializeVariables
();
107
void
initializeTrees
();
108
113
114
int
m_partid1
;
115
int
m_partid2
;
116
double
m_x1
;
117
double
m_x2
;
118
int
m_mpi
;
119
int
m_process_id
;
120
double
m_truthenergy
;
121
double
m_trutheta
;
122
double
m_truthphi
;
123
double
m_truthpx
;
124
double
m_truthpy
;
125
double
m_truthpz
;
126
double
m_truthpt
;
127
double
m_truthp
;
128
int
m_numparticlesinevent
;
129
int
m_truthpid
;
130
132
double
m_tr_px
;
133
double
m_tr_py
;
134
double
m_tr_pz
;
135
double
m_tr_p
;
136
double
m_tr_pt
;
137
double
m_tr_phi
;
138
double
m_tr_eta
;
139
int
m_charge
;
140
double
m_chisq
;
141
int
m_ndf
;
142
double
m_dca
;
143
double
m_tr_x
;
144
double
m_tr_y
;
145
double
m_tr_z
;
146
float
m_tr_pion_loglikelihood
;
147
float
m_tr_kaon_loglikelihood
;
148
float
m_tr_proton_loglikelihood
;
149
int
m_truth_is_primary
;
150
double
m_truthtrackpx
;
151
double
m_truthtrackpy
;
152
double
m_truthtrackpz
;
153
double
m_truthtrackp
;
154
double
m_truthtracke
;
155
double
m_truthtrackpt
;
156
double
m_truthtrackphi
;
157
double
m_truthtracketa
;
158
int
m_truthtrackpid
;
159
161
double
m_recojetpt
;
162
int
m_recojetid
;
163
double
m_recojetpx
;
164
double
m_recojetpy
;
165
double
m_recojetpz
;
166
double
m_recojetphi
;
167
double
m_recojetp
;
168
double
m_recojetenergy
;
169
double
m_recojeteta
;
170
int
m_truthjetid
;
171
double
m_truthjetp
;
172
double
m_truthjetphi
;
173
double
m_truthjeteta
;
174
double
m_truthjetpt
;
175
double
m_truthjetenergy
;
176
double
m_truthjetpx
;
177
double
m_truthjetpy
;
178
double
m_truthjetpz
;
179
double
m_dR
;
180
182
double
m_clusenergy
;
183
double
m_cluseta
;
184
double
m_clustheta
;
185
double
m_cluspt
;
186
double
m_clusphi
;
187
double
m_cluspx
;
188
double
m_cluspy
;
189
double
m_cluspz
;
190
double
m_E_4x4
;
191
};
192
193
#endif
tutorials
blob
master
AnaTutorialECCE
src
AnaTutorialECCE.h
Built by
Jin Huang
. updated:
Wed Jun 29 2022 17:26:00
using
1.8.2 with
ECCE GitHub integration