69 produces < reco::RecoEcalCandidateIsolationMap >();
114 for (reco::RecoEcalCandidateCollection::const_iterator iRecoEcalCand= recoecalcandHandle->begin(); iRecoEcalCand!=recoecalcandHandle->end(); iRecoEcalCand++) {
132 else if( fabs(superClus->eta())<1.479) {
134 else isol = ecalBarrelIsol.
getEnergySum(&(*iRecoEcalCand));
138 else isol = ecalEndcapIsol.
getEnergySum(&(*iRecoEcalCand));
142 double subtractVal=0;
145 else subtractVal = superClus.
get()->rawEnergy();
151 isoMap.
insert(recoecalcandref, isol);
T getParameter(std::string const &) const
virtual void produce(edm::Event &, const edm::EventSetup &)
edm::InputTag ecalEndcapRecHitProducer_
double egIsoConeSizeInBarrel_
double getEtSum(const reco::Candidate *emObject) const
~EgammaHLTEcalRecIsolationProducer()
double egIsoConeSizeInEndcap_
Sin< T >::type sin(const T &t)
Exp< T >::type exp(const T &t)
double getEnergySum(const reco::Candidate *emObject) const
void setUseNumCrystals(bool b=true)
OrphanHandle< PROD > put(std::auto_ptr< PROD > product)
Put a new product.
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
void insert(const key_type &k, const data_type &v)
insert an association
T const * product() const
edm::InputTag ecalBarrelRecHitProducer_
edm::InputTag recoEcalCandidateProducer_
double egIsoJurassicWidth_
EgammaHLTEcalRecIsolationProducer(const edm::ParameterSet &)
edm::InputTag ecalBarrelRecHitCollection_
T const * get() const
Returns C++ pointer to the item.
edm::InputTag ecalEndcapRecHitCollection_