62 produces < reco::RecoEcalCandidateIsolationMap >();
75 desc.
add<
bool>(
"doRhoCorrection",
false);
76 desc.
add<
double>(
"rhoMax", 9.9999999E7);
77 desc.
add<
double>(
"rhoScale", 1.0);
78 desc.
add<
double>(
"etMinBarrel", -9999.0);
79 desc.
add<
double>(
"eMinBarrel", 0.095);
80 desc.
add<
double>(
"etMinEndcap", 0.11);
81 desc.
add<
double>(
"eMinEndcap", -9999.0);
82 desc.
add<
double>(
"intRadiusBarrel", 3.0);
83 desc.
add<
double>(
"intRadiusEndcap", 3.0);
84 desc.
add<
double>(
"extRadius", 0.3);
85 desc.
add<
double>(
"jurassicWidth", 3.0);
86 desc.
add<
double>(
"effectiveAreaBarrel", 0.101);
87 desc.
add<
double>(
"effectiveAreaEndcap", 0.046);
88 desc.
add<
bool>(
"useIsolEt",
true);
89 desc.
add<
bool>(
"tryBoth",
true);
90 desc.
add<
bool>(
"subtract",
false);
91 desc.
add<
bool>(
"useNumCrystals",
true);
93 descriptions.
add((
"hltEgammaHLTEcalRecIsolationProducer"), desc);
145 for (reco::RecoEcalCandidateCollection::const_iterator iRecoEcalCand= recoecalcandHandle->begin(); iRecoEcalCand!=recoecalcandHandle->end(); iRecoEcalCand++) {
163 else if( fabs(superClus->eta())<1.479) {
165 else isol = ecalBarrelIsol.
getEnergySum(&(*iRecoEcalCand));
169 else isol = ecalEndcapIsol.
getEnergySum(&(*iRecoEcalCand));
173 double subtractVal=0;
176 else subtractVal = superClus.
get()->rawEnergy();
181 if (fabs(superClus->eta()) < 1.442)
187 isoMap.
insert(recoecalcandref, isol);
T getParameter(std::string const &) const
virtual void produce(edm::Event &, const edm::EventSetup &)
bool getByToken(EDGetToken token, Handle< PROD > &result) const
double egIsoConeSizeInBarrel_
double getEtSum(const reco::Candidate *emObject) const
~EgammaHLTEcalRecIsolationProducer()
double egIsoConeSizeInEndcap_
float effectiveAreaBarrel_
Sin< T >::type sin(const T &t)
double getEnergySum(const reco::Candidate *emObject) const
void setUseNumCrystals(bool b=true)
edm::EDGetTokenT< EcalRecHitCollection > ecalEndcapRecHitProducer_
OrphanHandle< PROD > put(std::auto_ptr< PROD > product)
Put a new product.
ParameterDescriptionBase * add(U const &iLabel, T const &value)
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
void insert(const key_type &k, const data_type &v)
insert an association
edm::EDGetTokenT< reco::RecoEcalCandidateCollection > recoEcalCandidateProducer_
T const * product() const
void add(std::string const &label, ParameterSetDescription const &psetDescription)
T const * product() const
float effectiveAreaEndcap_
double egIsoJurassicWidth_
EgammaHLTEcalRecIsolationProducer(const edm::ParameterSet &)
T const * get() const
Returns C++ pointer to the item.
edm::EDGetTokenT< double > rhoProducer_
edm::EDGetTokenT< EcalRecHitCollection > ecalBarrelRecHitProducer_