|
ATLAS Offline Software
|
Go to the documentation of this file.
37 const float start_crack,
38 const float end_crack,
47 if (aeta < start_crack) {
51 else if (aeta > end_crack) {
72 for (
int i=0;
i < 4;
i++) {
73 float e = cluster->
eSample (samps[si][
i]);
81 double depth = rsum / esum;
124 if ( aeta < ETASTEP ) {
136 R[0] = (X0IN) * cosh(aeta);
145 float RADLTOT = X0T*cosh(aeta);
150 R23 = 22 * cosh(aeta) ;
155 R[1] = R[0] + (R12 - R[0])/2 ;
156 R[2] = R12 + (R23 - R12)/2;
157 R[3] = R23 + (RADLTOT - R23)/2;
173 unsigned int ibin = (
static_cast<unsigned int> (aeta / etamax * 100)) ;
174 if (ibin >= sampling_depth.
size())
177 for (
int i=0;
i < 4;
i++)
178 R[
i] = sampling_depth[ibin][
i+1];
static void barrelCoefs(const float aeta, float R[4])
Calculate the sampling depth coefficients for the barrel.
unsigned int size(unsigned int dim=0) const
Return the size of the array along one dimension.
CaloCluster_v1 CaloCluster
Define the latest version of the calorimeter cluster class.
Description of a calorimeter cluster.
static bool endcapCoefs(const float aeta, const CaloRec::Array< 2 > &sampling_depth, const float etamax, float R[4])
Calculate the sampling depth coefficients for the endcap.
Read-only multidimensional array.
static double depth(const float aeta, const float start_crack, const float end_crack, const CaloRec::Array< 2 > &sampling_depth, const float etamax, const xAOD::CaloCluster *cluster, MsgStream &log)
Calculate the depth of the cluster.
Calculate the shower depth as used by the calib hits correction.
float eSample(const CaloSample sampling) const