38 produces < edm::ValueMap<double> >();
63 auto isoMap = std::make_unique<edm::ValueMap<double>>();
65 std::vector<double> retV(emObjectHandle->size(),0);
74 for(
size_t i = 0 ;
i < emObjectHandle->size(); ++
i) {
75 double isoValue = myHadIsolation.getTowerEtSum(&(emObjectHandle->at(
i)));
79 filler.insert(emObjectHandle,retV.begin(),retV.end());
T getParameter(std::string const &) const
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
EgammaTowerIsolationProducer(const edm::ParameterSet &)
~EgammaTowerIsolationProducer()
edm::InputTag emObjectProducer_
double egHcalIsoConeSizeIn_
edm::InputTag towerProducer_
virtual void produce(edm::Event &, const edm::EventSetup &)
double egHcalIsoConeSizeOut_
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
T const * product() const