#include <ShowerDepth.h>
Definition at line 27 of file ShowerDepth.h.
◆ ShowerDepth()
hgcal::ShowerDepth::ShowerDepth |
( |
| ) |
|
|
inline |
◆ ~ShowerDepth()
hgcal::ShowerDepth::~ShowerDepth |
( |
| ) |
|
|
inline |
◆ getClusterDepthCompatibility()
float ShowerDepth::getClusterDepthCompatibility |
( |
float |
measuredDepth, |
|
|
float |
emEnergy, |
|
|
float & |
expectedDepth, |
|
|
float & |
expectedSigma |
|
) |
| const |
Definition at line 6 of file ShowerDepth.cc.
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;
References corrlnalphalnt0_, corrlnalphalnt1_, criticalEnergy_, dqm-mbProfile::log, meanalpha0_, meanalpha1_, meant0_, meant1_, radiationLength_, sigmalnalpha0_, sigmalnalpha1_, sigmalnt0_, sigmalnt1_, and mathSSE::sqrt().
Referenced by hgcal::EGammaPCAHelper::clusterDepthCompatibility().
◆ corrlnalphalnt0_
constexpr float hgcal::ShowerDepth::corrlnalphalnt0_ {0.7858} |
|
staticconstexprprivate |
◆ corrlnalphalnt1_
constexpr float hgcal::ShowerDepth::corrlnalphalnt1_ {-0.0232} |
|
staticconstexprprivate |
◆ criticalEnergy_
constexpr float hgcal::ShowerDepth::criticalEnergy_ = 0.00536 |
|
staticconstexprprivate |
◆ meanalpha0_
constexpr float hgcal::ShowerDepth::meanalpha0_ {-0.0433} |
|
staticconstexprprivate |
◆ meanalpha1_
constexpr float hgcal::ShowerDepth::meanalpha1_ {0.540} |
|
staticconstexprprivate |
◆ meant0_
constexpr float hgcal::ShowerDepth::meant0_ {-1.396} |
|
staticconstexprprivate |
◆ meant1_
constexpr float hgcal::ShowerDepth::meant1_ {1.007} |
|
staticconstexprprivate |
◆ radiationLength_
constexpr float hgcal::ShowerDepth::radiationLength_ = 0.968 |
|
staticconstexprprivate |
◆ sigmalnalpha0_
constexpr float hgcal::ShowerDepth::sigmalnalpha0_ {-0.08442} |
|
staticconstexprprivate |
◆ sigmalnalpha1_
constexpr float hgcal::ShowerDepth::sigmalnalpha1_ {0.7904} |
|
staticconstexprprivate |
◆ sigmalnt0_
constexpr float hgcal::ShowerDepth::sigmalnt0_ {-2.506} |
|
staticconstexprprivate |
◆ sigmalnt1_
constexpr float hgcal::ShowerDepth::sigmalnt1_ {1.245} |
|
staticconstexprprivate |