#include <EgammaHitsShowerDepth.h>
Definition at line 14 of file EgammaHitsShowerDepth.h.
◆ barrelCoefs()
void EgammaHitsShowerDepth::barrelCoefs |
( |
const float & |
aeta, |
|
|
float |
R[4] |
|
) |
| const |
|
private |
Calculate the sampling depth coefficients for the barrel.
- Parameters
-
aeta | abs(eta) of the cluster. |
R[out] | The set of coefficients per layer. |
Definition at line 89 of file EgammaHitsShowerDepth.cxx.
119 if ( aeta < ETASTEP ) {
131 R[0] = (X0IN) * cosh(aeta);
140 float RADLTOT = X0T*cosh(aeta);
145 R23 = 22 * cosh(aeta) ;
150 R[1] =
R[0] + (R12 -
R[0])/2 ;
151 R[2] = R12 + (R23 - R12)/2;
152 R[3] = R23 + (RADLTOT - R23)/2;
◆ depth()
Calculate the depth of the cluster.
- Parameters
-
aeta | abs(eta) of the cluster. |
cluster | Cluster for which to calculate the depth. |
log | Stream for debug messages. |
Definition at line 44 of file EgammaHitsShowerDepth.cxx.
55 if (aeta < start_crack) {
59 else if (aeta > end_crack) {
69 for (
int i=0;
i < 4;
i++) {
78 float depth = rsum / esum;
◆ endcapCoefs()
Calculate the sampling depth coefficients for the endcap.
- Parameters
-
aeta | abs(eta) of the cluster. |
sampling_depth | Array of sampling depths per bin/sampling in the EC. |
etamax | Maximum eta value in sampling_depth. |
R[out] | The set of coefficients per layer. |
Definition at line 163 of file EgammaHitsShowerDepth.cxx.
168 unsigned int ibin = (
static_cast<unsigned int> (aeta / etamax * 100)) ;
169 if (ibin >= sampling_depth.
size())
172 for (
int i=0;
i < 4;
i++)
173 R[
i] = sampling_depth[ibin][
i+1];
◆ m_samps
The documentation for this class was generated from the following files:
float depth(const float &aeta, const float start_crack, const float end_crack, const CxxUtils::Array< 2 > &sampling_depth, const float etamax, const xAOD::TrigEMCluster *cluster) const
Calculate the depth of the cluster.
bool endcapCoefs(const float &aeta, const CxxUtils::Array< 2 > &sampling_depth, const float etamax, float R[4]) const
Calculate the sampling depth coefficients for the endcap.