59 {
60
62
64 if (isFwd)
65 topoClus =
egamma.caloCluster();
66 else
67 topoClus =
69
70 double lateral(0.);
71 double emfrac(0.);
72 double second_r(0.);
73 bool hasBoth = true;
76
79 else
80 hasBoth = false;
81
83 histoMap[
"second_R"]->Fill(second_r);
84 else
85 hasBoth = false;
86
87 if (hasBoth)
88 histo2DMap[
"lateral_second_R_2D"]->Fill(lateral,second_r);
89
90
91
92 if (!isFwd) {
93
94 float eta2 = std::abs(
egamma.caloCluster()->etaBE(2));
95 float rhad = -999;
98 float shweta2 = -999;
101 float frac_f1 = -999;
102 float shfside = -999;
103 float shwtots1 = -999;
104 float shws3 = -999;
105
108 float rhad1 = -999;
110 float hadrleak = (
eta2 >= 0.8 &&
eta2 < 1.37) ? rhad : rhad1;
111 histoMap[
"hadleak"]->Fill(hadrleak);
112 }
113 }
122
123 if (frac_f1 != 0) {
134 }
135 }
136}
std::map< std::string, TH2D * > histo2DMap
std::map< std::string, TH1D * > histoMap
@ LATERAL
Normalized lateral moment.
@ ENG_FRAC_EM
Energy fraction in EM calorimeters.
@ SECOND_R
Second Moment in .
bool isFwdElectron(const xAOD::Egamma *eg)
is the object a Fwd electron
std::vector< const xAOD::CaloCluster * > getAssociatedTopoClusters(const xAOD::CaloCluster *cluster)
Return a vector of all the topo clusters associated with the egamma cluster.
@ wtots1
shower width is determined in a window detaxdphi = 0,0625 ×~0,2, corresponding typically to 20 strips...
@ f1
E1/E = fraction of energy reconstructed in the first sampling, where E1 is energy in all strips belon...
@ Eratio
(emaxs1-e2tsts1)/(emaxs1+e2tsts1)
@ fracs1
shower shape in the shower core : [E(+/-3)-E(+/-1)]/E(+/-1), where E(+/-n) is the energy in ± n strip...
@ weta2
the lateral width is calculated with a window of 3x5 cells using the energy weighted sum over all cel...
@ weta1
shower width using +/-3 strips around the one with the maximal energy deposit: w3 strips = sqrt{sum(E...
CaloCluster_v1 CaloCluster
Define the latest version of the calorimeter cluster class.