AlgTool main method.
29 {
30
31
33 ATH_MSG_WARNING(
" egammaShowerShape: Cluster is neither in Barrel nor in "
34 "Endcap, cannot calculate ShowerShape ");
35 }
36
37 egammaPreSamplerShape::Info egammaPreSamplerShapeInfo;
38 egammaStripsShape::Info egammaStripsShapeInfo;
39 egammaMiddleShape::Info egammaMiddleShapeInfo;
40 egammaBackShape::Info egammaBackShapeInfo;
41
42
44
46 cluster, cmgr, cell_container, egammaPreSamplerShapeInfo);
49 }
50 }
51
52
54
59 }
60 }
61
62
64
66 cluster, cmgr, cell_container, egammaMiddleShapeInfo);
69 }
70 }
71
72
74
76 cluster, cmgr, cell_container, egammaBackShapeInfo);
79 }
80 }
81
82
83
84
85
86
87 info.e011 = egammaPreSamplerShapeInfo.
e011;
88 info.e033 = egammaPreSamplerShapeInfo.
e033;
89
90
91 info.etot = egammaStripsShapeInfo.
etot;
93 info.e132 = egammaStripsShapeInfo.
e132;
96 info.esec = egammaStripsShapeInfo.
esec;
98 info.f1 = egammaStripsShapeInfo.
f1;
100 info.f2 = egammaStripsShapeInfo.
f2;
103 info.etas3 = egammaStripsShapeInfo.
etas3;
107 info.wstot = egammaStripsShapeInfo.
wstot;
108 info.ws3 = egammaStripsShapeInfo.
ws3;
109 info.ws3c = egammaStripsShapeInfo.
ws3c;
112 info.val = egammaStripsShapeInfo.
val;
113 info.fside = egammaStripsShapeInfo.
fside;
115
116
117 info.e233 = egammaMiddleShapeInfo.
e233;
118 info.e235 = egammaMiddleShapeInfo.
e235;
119 info.e255 = egammaMiddleShapeInfo.
e255;
120 info.e237 = egammaMiddleShapeInfo.
e237;
121 info.e277 = egammaMiddleShapeInfo.
e277;
122 info.etaw = egammaMiddleShapeInfo.
etaw;
123 info.width = egammaMiddleShapeInfo.
width;
124 info.phiw = egammaMiddleShapeInfo.
phiw;
126
127
128 info.e333 = egammaBackShapeInfo.
e333;
129 info.e335 = egammaBackShapeInfo.
e335;
130 info.e355 = egammaBackShapeInfo.
e355;
131 info.e337 = egammaBackShapeInfo.
e337;
132 info.e377 = egammaBackShapeInfo.
e377;
133 info.f3 = egammaBackShapeInfo.
f3;
135
136
138
139
140
141
142
143
144
146
147
149
151
153
155
157
159
161
163
165
166
167
168
169
170
171
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
191 info.reta3337_allcalo = fabs(e37) > 0. ? 1. - e33 / e37 : 1.;
192 }
193 return StatusCode::SUCCESS;
194}
#define ATH_MSG_WARNING(x)
Gaudi::Property< bool > m_ExecPreSampler
boolean to calculate variables for presempler
Gaudi::Property< bool > m_ExecEMSecond
boolean to calculate variables for 2nd sampling
Gaudi::Property< bool > m_ExecEMCombined
boolean to calculate combined variables
Gaudi::Property< bool > m_ExecEMFirst
boolean to calculate variables for 1st sampling
Gaudi::Property< bool > m_ExecEMThird
boolean to calculate variables for 3rd sampling
Gaudi::Property< bool > m_ExecAllVariables
boolean to calculate all variables
bool inBarrel() const
Returns true if at least one clustered cell in the barrel.
bool inEndcap() const
Returns true if at least one clustered cell in the endcap.
::StatusCode StatusCode
StatusCode definition for legacy code.
@ e337
uncalibrated energy (sum of cells) of the third sampling in a rectangle of size 3x7
@ e237
uncalibrated energy (sum of cells) of the middle sampling in a rectangle of size 3x7
@ e1152
uncalibrated energy (sum of cells) in strips in a 15x2 window in cells in eta X phi
@ e335
uncalibrated energy (sum of cells) of the third sampling in a rectangle of size 3x5
@ e333
uncalibrated energy (sum of cells) of the third sampling in a rectangle of size 3x3
@ e255
uncalibrated energy (sum of cells) of the middle sampling in a rectangle of size 5x5
@ e233
uncalibrated energy (sum of cells) of the middle sampling in a rectangle of size 3x3 (in cell units e...
@ e033
uncalibrated energy (sum of cells) in presampler in a 3x3 window in cells in eta X phi
@ e132
uncalibrated energy (sum of cells) in strips in a 3x2 window in cells in eta X phi
@ e011
uncalibrated energy (sum of cells) in presampler in a 1x1 window in cells in eta X phi
static StatusCode execute(const xAOD::CaloCluster &cluster, const CaloDetDescrManager &cmgr, const CaloCellContainer &cell_container, Info &info, bool ExecOtherVariables=true)
static StatusCode execute(const xAOD::CaloCluster &cluster, const CaloDetDescrManager &cmgr, const CaloCellContainer &cell_container, Info &info, bool doRetaOnly=false)
static StatusCode execute(const xAOD::CaloCluster &cluster, const CaloDetDescrManager &cmgr, const CaloCellContainer &cell_container, Info &info)
double deltaEtaTrackShower7
double deltaEtaTrackShower
static StatusCode execute(const xAOD::CaloCluster &cluster, const CaloDetDescrManager &cmgr, Info &info, bool ExecAllVariables=true)
AlgTool main method.