EM cluster shower shape calculations in 1st ECAL sampling Calculate the width in the strip layer around the eta,phi of the hottest cell in the middle layer.
More...
#include <egammaStripsShape.h>
EM cluster shower shape calculations in 1st ECAL sampling Calculate the width in the strip 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 egammaStripsShape.h.
◆ execute()
AlgTool main method.
Definition at line 702 of file egammaStripsShape.cxx.
715 return StatusCode::SUCCESS;
743 if ((
info.etamax == 0. &&
info.phimax == 0.) ||
744 std::abs(
info.etamax) > 100.) {
745 return StatusCode::SUCCESS;
748 if (std::abs(
info.etamax) > 2.4) {
749 return StatusCode::SUCCESS;
751 if (std::abs(
info.etamax) > 1.4 && std::abs(
info.etamax) < 1.5) {
752 return StatusCode::SUCCESS;
759 int sampling_or_module = 0;
766 return StatusCode::SUCCESS;
769 deta = dde->
deta() * neta / 2.0;
777 return StatusCode::SUCCESS;
780 dphi = dde->
dphi() * nphi / 2.0;
783 double enecell[STRIP_ARRAY_SIZE] = { 0 };
784 double etacell[STRIP_ARRAY_SIZE] = { 0 };
785 double gracell[STRIP_ARRAY_SIZE] = { 0 };
786 int ncell[STRIP_ARRAY_SIZE] = { 0 };
803 setIndexSeed(
info, etacell, gracell);
805 info.f1 = std::abs(eallsamples) > 0. ?
e1 / eallsamples : 0.;
807 setEmax(
info, enecell);
809 setWstot(
info, deta, enecell, etacell,
ncell);
811 setWs3(
info, sam, cluster, enecell, etacell,
ncell);
813 if (ExecAllVariables) {
814 setEnergy(
info, enecell);
815 setF1core(
info, cluster);
817 setAsymmetry(
info, enecell);
820 info.deltaEtaTrackShower =
821 setDeltaEtaTrackShower(1,
info.ncetamax, enecell);
824 info.deltaEtaTrackShower7 =
825 setDeltaEtaTrackShower(7,
info.ncetaseed, enecell);
827 setF2(
info, enecell, eallsamples);
829 setWidths5(
info, enecell);
831 int ncsec1 = setEmax2(
info, enecell, gracell,
ncell);
833 setEmin(ncsec1,
info, enecell, gracell,
ncell);
835 setValley(
info, enecell);
840 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: