9 float& expectedSigma)
const {
21 float invbeta = meantmax / (meanalpha - 1.);
22 float predictedDepth = meanalpha * invbeta;
25 float predictedSigma = sigmalnalpha * sigmalnalpha / ((meanalpha - 1.) * (meanalpha - 1.));
26 predictedSigma += sigmalntmax * sigmalntmax;
27 predictedSigma -= 2 * sigmalnalpha * sigmalntmax * corrlnalphalntmax / (meanalpha - 1.);
28 if (predictedSigma < 0.)
29 predictedSigma = 1.e10;
30 predictedSigma = predictedDepth *
std::sqrt(predictedSigma);
32 expectedDepth = predictedDepth;
33 expectedSigma = predictedSigma;
34 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_