EM cluster shower shape calculations in 3rd sampling. Calculate the width in the back layer around the eta,phi of the hottest cell in the middle layer.
More...
#include <egammaBackShape.h>
EM cluster shower shape calculations in 3rd sampling. Calculate the width in the back layer around the eta,phi of the hottest cell in the middle layer.
- Author
- Frederic Derue derue.nosp@m.@lpn.nosp@m.he.in.nosp@m.2p3..nosp@m.fr
-
Christos Anastopoulos
Definition at line 26 of file egammaBackShape.h.
◆ execute()
Definition at line 14 of file egammaBackShape.cxx.
29 return StatusCode::SUCCESS;
36 info.f3 = std::abs(eallsamples) > 0. ?
e3 / eallsamples : 0.;
47 int sampling_or_module = 0;
62 if ((
eta == 0. &&
phi == 0.) || std::abs(
eta) > 100) {
63 return StatusCode::SUCCESS;
76 return StatusCode::SUCCESS;
80 double deta = dde->
deta();
81 double dphi = dde->
dphi();
92 calc.fill(cmgr, &cell_container,
eta,
phi, 3. * deta, 3. * dphi, sam);
98 if (ExecOtherVariables) {
102 cell_list.select(
eta,
phi, 7.0 * deta, 7.0 * dphi, sam);
105 cell_list.begin(), cell_list.end(),
eta,
phi, 7. * deta, 7. * dphi, sam);
110 cell_list.begin(), cell_list.end(),
eta,
phi, 5. * deta, 5. * dphi, sam);
115 cell_list.begin(), cell_list.end(),
eta,
phi, 3. * deta, 7. * dphi, sam);
120 cell_list.begin(), cell_list.end(),
eta,
phi, 3. * deta, 5. * dphi, sam);
125 if (eallsamples > 0. &&
info.e333 > -999.) {
126 info.f3core =
info.e333 / eallsamples;
129 return StatusCode::SUCCESS;
The documentation for this class was generated from the following files:
static void decode_sample(CaloCell_ID::SUBCALO &subCalo, bool &barrel, int &sampling_or_module, CaloCell_ID::CaloSample sample)
translate between the 2 ways to label a sub-detector: