Description: <one line="" class="" summary>="">
Implementation: <Notes on="" implementation>="">
Definition at line 17 of file CastorFastClusterProducer.h.
Definition at line 71 of file CastorFastClusterProducer.cc.
75 using namespace TMath;
132 if (fabs(
p.eta()) > 5.2 && fabs(
p.eta()) < 6.6) {
137 double emEnergy = 0.;
138 double hadEnergy = 0.;
143 if (
p.pdgId() == 11 ||
p.pdgId() == 22) {
144 while (gaus_E < 0.) {
148 double sigma =
p.energy() * (
sqrt(
pow(0.044, 2) +
pow(0.513 /
sqrt(
p.energy()), 2)));
149 gaus_E =
r.Gaus(
p.energy(), sigma);
156 if (
p.pdgId() == 11) {
161 tmax = 1.0 * (
log(gaus_E / 0.0015) + cte);
164 double x = 0.5 * 19.38;
165 leakage = gaus_E - gaus_E * Gamma(
a,
x);
168 emEnergy = gaus_E - leakage;
188 while (gaus_E < 0.) {
192 double sigma =
p.energy() * (
sqrt(
pow(0.121, 2) +
pow(1.684 /
sqrt(
p.energy()), 2)));
193 gaus_E =
r.Gaus(
p.energy(), sigma);
References a, genParticles2HepMC_cfi::genParticles, mps_fire::i, iEvent, dqm-mbProfile::log, eostools::move(), AlCaHLTBitMon_ParallelJobs::p, funct::pow(), HLT_2018_cff::pt1, HLT_2018_cff::pt2, edm::RefVector< C, T, F >::push_back(), alignCSCRings::r, mathSSE::sqrt(), groupFilesInBlocks::temp, tmax, and x.