61 produces < edm::ValueMap<double> >();
102 std::vector<double> retV(emObjectHandle->size(),0);
113 for(
size_t i = 0 ;
i < emObjectHandle->size(); ++
i) {
124 if(
useIsolEt_) isoValue = ecalBarrelIsol.getEtSum(&(emObjectHandle->at(
i))) + ecalEndcapIsol.
getEtSum(&(emObjectHandle->at(
i)));
125 else isoValue = ecalBarrelIsol.getEnergySum(&(emObjectHandle->at(
i))) + ecalEndcapIsol.
getEnergySum(&(emObjectHandle->at(
i)));
127 else if( fabs(superClus->eta())<1.479) {
128 if(
useIsolEt_) isoValue = ecalBarrelIsol.getEtSum(&(emObjectHandle->at(
i)));
129 else isoValue = ecalBarrelIsol.getEnergySum(&(emObjectHandle->at(
i)));
133 else isoValue = ecalEndcapIsol.
getEnergySum(&(emObjectHandle->at(
i)));
137 double subtractVal=0;
140 else subtractVal = superClus.
get()->rawEnergy();
149 filler.
insert(emObjectHandle,retV.begin(),retV.end());
edm::InputTag ecalEndcapRecHitProducer_
edm::InputTag emObjectProducer_
T getParameter(std::string const &) const
double egIsoConeSizeInEndcap_
double getEtSum(const reco::Candidate *emObject) const
Sin< T >::type sin(const T &t)
void insert(const H &h, I begin, I end)
EgammaEcalRecHitIsolationProducer(const edm::ParameterSet &)
edm::InputTag ecalEndcapRecHitCollection_
double getEnergySum(const reco::Candidate *emObject) const
~EgammaEcalRecHitIsolationProducer()
void setUseNumCrystals(bool b=true)
OrphanHandle< PROD > put(std::auto_ptr< PROD > product)
Put a new product.
edm::InputTag ecalBarrelRecHitProducer_
double egIsoJurassicWidth_
double egIsoConeSizeInBarrel_
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
T const * product() const
virtual void produce(edm::Event &, const edm::EventSetup &)
void setVetoClustered(bool b=true)
T const * get() const
Returns C++ pointer to the item.
edm::InputTag ecalBarrelRecHitCollection_