12 if ( meanalpha < 1. ) meanalpha = 1.1;
17 float invbeta = meantmax/(meanalpha-1.);
18 float predictedDepth = meanalpha*invbeta;
21 float predictedSigma = sigmalnalpha*sigmalnalpha/((meanalpha-1.)*(meanalpha-1.));
22 predictedSigma += sigmalntmax*sigmalntmax;
23 predictedSigma -= 2*sigmalnalpha*sigmalntmax*corrlnalphalntmax/(meanalpha-1.);
24 if ( predictedSigma < 0. ) predictedSigma = 1.e10;
25 predictedSigma = predictedDepth*
std::sqrt(predictedSigma);
27 expectedDepth = predictedDepth;
28 expectedSigma = predictedSigma;
29 return (measuredDepth-predictedDepth)/predictedSigma;
static constexpr float meant0_
static constexpr float corrlnalphalnt0_
static constexpr float sigmalnalpha1_
float getClusterDepthCompatibility(float measuredDepth, float emEnergy, float &expectedDepth, float &expectedSigma) const
static constexpr float meanalpha0_
static constexpr float meanalpha1_
static constexpr float radiationLength_
static constexpr float meant1_
static constexpr float sigmalnalpha0_
static constexpr float sigmalnt1_
static constexpr float corrlnalphalnt1_
static constexpr float criticalEnergy_
static constexpr float sigmalnt0_