Analysis Software
Documentation for
sPHENIX
simulation software
Home page
Related Pages
Modules
Namespaces
Classes
Files
Examples
External Links
File List
File Members
Analysis Software
Deprecated List
Modules
Namespaces
Classes
Files
File List
acts
acts-fatras
analysis
blob
master
A_N
Ana
AndersonAnalysisModules
AntiSigma
BBCStudy
Calo_Validation_Package
Calo_waveform_sim
Calorimeter
CalorimeterEmbedding
CalorimeterJets
cdbEMCalExample
cemcRecoAna
Centrality_Validation_Package
dNdEta_Run2023
EIC-IR
EIC-SynRad
EICAnalysis
EICMCAnalysis
EICTrigger
ElectronID
EMCal-analysis
EMCal-calibration
EMCal-commissioning
EMCal-LEDs
EMCal-position-dependent-calibration
EMCal-QA
EMCal_pi0_Calib_2023
EMCTemplateFitting
EpFinder
Event-Display
EventMix
FilterEvents
FilterEventsUpsilon
Fluence
ForwardCalo
ForwardTracking
FrawleyTrackEvalMacros
hbcup
HCal-analysis
HCalCosmicCalib
HCalHotTowerFinder
HCalib
HcalSingleHadronCalib
HF-Jet
HF-Particle
isoCluster
IsolatedTrackAnalysis
JS-Jet
mbdAnalysis
MBDStudy
MultiDetectorMultiplicity
MvtxTelescope
mybuild
ParticleID
PHFlowJetMaker
PhotonConversion
PhotonJet
pi0ClusterAna
pi0Efficiency
Pi0MassAnalysis
Prototype2
Prototype3
Prototype4
psTOF
pythiaEMCalAna
pythiaInfo
QuarkoniaBG
quickHIJING
ResonanceJetTaggingOutputs
runTrackingDiagnostics
Shift_emcal_g4hits
SimpleTrackingAnalysis
singlePhotonClusterAna
sPhenixAj
SvtxSimPerformanceCheckReco
TemplateCreation
Test
TowerInfoExample
TPC
TPC-ClusterAnimation
TPC-GemGain
Tracking
TrackPid
TreeMaker
run_macro.C
run_macro_2.C
TreeMaker.C
TreeMaker.h
TreeMakerCopyAndMakeClusters.C
TreeMakerCopyAndMakeJets.C
TreeMakerCreateNode.C
TreeMakerGetClusters.C
TreeMakerGetJets.C
TreeMakerInitializations.C
TreeMakerLinkDef.h
TreeMakerUseFastJet.C
ZDC-CALIB
analysis_tpc_prototype
coresoftware
Doxygen_Assist
g4exampledetector
GenFit
JETSCAPE
KFParticle
macros
online_distribution
OnlMon
prototype
pythia6
rcdaq
RDBC
tutorials
doxygen_mainpage.h
File Members
Examples
External Links
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
TreeMaker.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file TreeMaker.h
1
#ifndef __TREEMAKER_H__
2
#define __TREEMAKER_H__
3
4
// --- need to check all these includes...
5
#include <
fun4all/SubsysReco.h
>
6
7
#include "TTree.h"
8
#include "TFile.h"
9
10
class
PHCompositeNode
;
11
12
class
TreeMaker
:
public
SubsysReco
13
{
14
15
public
:
16
17
TreeMaker
(
const
std::string
&
name
=
"TreeMaker.root"
);
18
~TreeMaker
();
19
20
int
Init
(
PHCompositeNode
*);
21
int
InitRun
(
PHCompositeNode
*);
22
int
process_event
(
PHCompositeNode
*);
23
int
End
(
PHCompositeNode
*);
24
int
CreateNode
(
PHCompositeNode
*);
25
26
int
InitializeTree
();
27
int
InitializeCounters
();
28
29
int
GetTruthJets
(
PHCompositeNode
*);
30
int
GetRecoJets
(
PHCompositeNode
*);
31
int
GetClusters
(
PHCompositeNode
*);
32
int
CopyAndMakeJets
(
PHCompositeNode
*);
33
int
CopyAndMakeClusters
(
PHCompositeNode
*);
34
int
UseFastJet
(
PHCompositeNode
*);
35
36
private
:
37
38
TFile *
outfile
;
39
40
TTree *
tree
;
41
42
std::string
foutname
;
43
44
int
b_tower_n
;
45
int
b_tower_layer
[10000];
46
float
b_tower_e
[10000];
47
float
b_tower_eta
[10000];
48
float
b_tower_phi
[10000];
49
50
float
b_tower_total_0
;
51
float
b_tower_total_1
;
52
float
b_tower_total_2
;
53
54
int
b_jet5_n
;
55
float
b_jet5_e
[200];
56
float
b_jet5_pt
[200];
57
float
b_jet5_eta
[200];
58
float
b_jet5_phi
[200];
59
60
int
b_jet4_n
;
61
float
b_jet4_e
[200];
62
float
b_jet4_pt
[200];
63
float
b_jet4_eta
[200];
64
float
b_jet4_phi
[200];
65
66
int
b_jet3_n
;
67
float
b_jet3_e
[200];
68
float
b_jet3_pt
[200];
69
float
b_jet3_eta
[200];
70
float
b_jet3_phi
[200];
71
72
int
b_jet2_n
;
73
float
b_jet2_e
[200];
74
float
b_jet2_pt
[200];
75
float
b_jet2_eta
[200];
76
float
b_jet2_phi
[200];
77
78
int
b_modjet2_n
;
79
float
b_modjet2_e
[200];
80
float
b_modjet2_pt
[200];
81
float
b_modjet2_eta
[200];
82
float
b_modjet2_phi
[200];
83
84
int
b_truthjet5_n
;
85
float
b_truthjet5_e
[200];
86
float
b_truthjet5_pt
[200];
87
float
b_truthjet5_eta
[200];
88
float
b_truthjet5_phi
[200];
89
90
int
b_truthjet4_n
;
91
float
b_truthjet4_e
[200];
92
float
b_truthjet4_pt
[200];
93
float
b_truthjet4_eta
[200];
94
float
b_truthjet4_phi
[200];
95
96
int
b_truthjet3_n
;
97
float
b_truthjet3_e
[200];
98
float
b_truthjet3_pt
[200];
99
float
b_truthjet3_eta
[200];
100
float
b_truthjet3_phi
[200];
101
102
int
b_truthjet2_n
;
103
float
b_truthjet2_e
[200];
104
float
b_truthjet2_pt
[200];
105
float
b_truthjet2_eta
[200];
106
float
b_truthjet2_phi
[200];
107
108
};
109
110
#endif // __TREEMAKER_H__
111
analysis
blob
master
TreeMaker
TreeMaker.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:17:58
using
1.8.2 with
sPHENIX GitHub integration