Analysis Software
Documentation for
sPHENIX
simulation software
Home page
Related Pages
Modules
Namespaces
Classes
Files
Examples
External Links
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
EMCalCalib_TestBeam.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file EMCalCalib_TestBeam.h
1
#ifndef __CALOEVALUATOR_H__
2
#define __CALOEVALUATOR_H__
3
4
#include <
fun4all/SubsysReco.h
>
5
#include <
phool/PHCompositeNode.h
>
6
#include <g4hough/PHG4HoughTransform.h>
7
8
#include <TNtuple.h>
9
#include <TFile.h>
10
#include <string>
11
#include <stdint.h>
12
13
class
PHCompositeNode
;
14
class
PHG4HitContainer
;
15
class
Fun4AllHistoManager
;
16
class
TH1F;
17
class
TTree;
18
class
SvtxEvalStack
;
19
class
PHG4Particle
;
20
class
RawTowerGeom
;
21
class
RawTowerContainer
;
22
class
SvtxTrack
;
23
25
class
EMCalCalib_TestBeam
:
public
SubsysReco
26
{
27
28
public
:
29
30
TTree *
test1
;
31
TNtuple *
NtupleAll
;
32
Float_t
Etotal_t
;
33
Float_t
Emax_t
;
34
Float_t
E3by3_t
;
35
Float_t
E5by5_t
;
36
Float_t
C1_t
;
37
// Float_t C2_t;
38
Float_t
C2_inner_t
;
39
Float_t
C2_outer_t
;
40
Float_t
C2_inner_new_t
;
41
Float_t
C2_outer_new_t
;
42
// Float_t C2_inner_beforerun2210_t;
43
// Float_t C2_outer_beforerun2210_t;
44
Float_t
Veto1_t
;
45
Float_t
Veto2_t
;
46
Float_t
Veto3_t
;
47
Float_t
Veto4_t
;
48
Float_t
Horz_HODO_R0_t
;
49
Float_t
Horz_HODO_R1_t
;
50
Float_t
Horz_HODO_R2_t
;
51
Float_t
Horz_HODO_R3_t
;
52
Float_t
Horz_HODO_R4_t
;
53
Float_t
Horz_HODO_R5_t
;
54
Float_t
Horz_HODO_R6_t
;
55
Float_t
Horz_HODO_R7_t
;
56
Float_t
Vert_HODO_R0_t
;
57
Float_t
Vert_HODO_R1_t
;
58
Float_t
Vert_HODO_R2_t
;
59
Float_t
Vert_HODO_R3_t
;
60
Float_t
Vert_HODO_R4_t
;
61
Float_t
Vert_HODO_R5_t
;
62
Float_t
Vert_HODO_R6_t
;
63
Float_t
Vert_HODO_R7_t
;
64
Float_t
TowerID_t
;
65
Float_t
Tower_column_t
;
66
Float_t
Tower_row_t
;
67
Float_t
TowerE_column_0_t
;
68
Float_t
TowerE_column_1_t
;
69
Float_t
TowerE_column_2_t
;
70
Float_t
TowerE_column_3_t
;
71
Float_t
TowerE_column_4_t
;
72
Float_t
TowerE_column_5_t
;
73
Float_t
TowerE_column_6_t
;
74
Float_t
TowerE_column_7_t
;
75
Float_t
TowerE_row_0_t
;
76
Float_t
TowerE_row_1_t
;
77
Float_t
TowerE_row_2_t
;
78
Float_t
TowerE_row_3_t
;
79
Float_t
TowerE_row_4_t
;
80
Float_t
TowerE_row_5_t
;
81
Float_t
TowerE_row_6_t
;
82
Float_t
TowerE_row_7_t
;
83
Float_t
HorzTowerID_t
;
84
Float_t
VertTowerID_t
;
85
Float_t
SaveHoriz_TowerID0_t
;
86
Float_t
SaveHoriz_TowerID1_t
;
87
Float_t
SaveHoriz_TowerID2_t
;
88
Float_t
SaveHoriz_TowerID3_t
;
89
Float_t
SaveHoriz_TowerID4_t
;
90
Float_t
SaveHoriz_TowerID5_t
;
91
Float_t
SaveHoriz_TowerID6_t
;
92
Float_t
SaveHoriz_TowerID7_t
;
93
94
Float_t
SaveVert_TowerID0_t
;
95
Float_t
SaveVert_TowerID1_t
;
96
Float_t
SaveVert_TowerID2_t
;
97
Float_t
SaveVert_TowerID3_t
;
98
Float_t
SaveVert_TowerID4_t
;
99
Float_t
SaveVert_TowerID5_t
;
100
Float_t
SaveVert_TowerID6_t
;
101
Float_t
SaveVert_TowerID7_t
;
102
103
104
EMCalCalib_TestBeam
(
const
std::string
&
filename
=
"cemc_ana.root"
);
105
virtual
106
~EMCalCalib_TestBeam
();
107
108
int
109
Init
(
PHCompositeNode
*topNode);
110
int
111
InitRun
(
PHCompositeNode
*topNode);
112
int
113
process_event
(
PHCompositeNode
*topNode);
114
int
115
End
(
PHCompositeNode
*topNode);
116
117
118
119
private
:
120
121
Fun4AllHistoManager
*
122
get_HistoManager
();
123
124
125
int
126
Init_Tower
(
PHCompositeNode
*topNode);
127
int
128
process_event_Tower
(
PHCompositeNode
*topNode);
129
130
131
132
enum
enu_calo
133
{
134
kCEMC
,
kHCALIN
,
kHCALOUT
135
};
136
137
// SvtxEvalStack * _eval_stack;
138
TTree *
_T_EMCalTrk
;
139
140
141
142
143
std::string
_filename
;
144
145
unsigned
long
_ievent
;
146
147
148
};
149
150
#endif // __CALOEVALUATOR_H__
analysis
blob
master
Prototype2
EMCal
EMCalCalib_TestBeam
EMCalCalib_TestBeam.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:17:55
using
1.8.2 with
sPHENIX GitHub integration