Description: <one line="" class="" summary>="">
Implementation: <Notes on="" implementation>="">
Definition at line 17 of file CastorFastClusterProducer.h.
Definition at line 70 of file CastorFastClusterProducer.cc.
References a, AJJGenJetFilter_cfi::genParticles, mps_fire::i, iEvent, dqm-mbProfile::log, eostools::move(), AlCaHLTBitMon_ParallelJobs::p, funct::pow(), HLT_2024v11_cff::pt1, HLT_2024v11_cff::pt2, edm::RefVector< C, T, F >::push_back(), alignCSCRings::r, mathSSE::sqrt(), groupFilesInBlocks::temp, tmax, tokGenPart_, and x.
74 using namespace TMath;
130 if (fabs(
p.eta()) > 5.2 && fabs(
p.eta()) < 6.6) {
135 double emEnergy = 0.;
136 double hadEnergy = 0.;
141 if (
p.pdgId() == 11 ||
p.pdgId() == 22) {
142 while (gaus_E < 0.) {
146 double sigma =
p.energy() * (
sqrt(
pow(0.044, 2) +
pow(0.513 /
sqrt(
p.energy()), 2)));
147 gaus_E =
r.Gaus(
p.energy(), sigma);
154 if (
p.pdgId() == 11) {
159 tmax = 1.0 * (
log(gaus_E / 0.0015) + cte);
162 double x = 0.5 * 19.38;
163 leakage = gaus_E - gaus_E * Gamma(
a,
x);
166 emEnergy = gaus_E - leakage;
186 while (gaus_E < 0.) {
190 double sigma =
p.energy() * (
sqrt(
pow(0.121, 2) +
pow(1.684 /
sqrt(
p.energy()), 2)));
191 gaus_E =
r.Gaus(
p.energy(), sigma);
std::vector< CastorCluster > CastorClusterCollection
collection of CastorCluster objects
const edm::EDGetTokenT< reco::GenParticleCollection > tokGenPart_
static const double tmax[3]
Structure Point Contains parameters of Gaussian fits to DMRs.
void push_back(value_type const &ref)
Add a Ref<C, T> to the RefVector.
ROOT::Math::RhoEtaPhiPoint ClusterPoint
Power< A, B >::type pow(const A &a, const B &b)