44 putToken_{produces<edm::ValueMap<double>>()},
45 egHcalIsoPtMin_{
config.getParameter<
double>(
"etMin")},
46 egHcalIsoConeSizeOut_{
config.getParameter<
double>(
"extRadius")},
47 egHcalIsoConeSizeIn_{
config.getParameter<
double>(
"intRadius")},
48 egHcalDepth_{
config.getParameter<
int>(
"Depth")} {}
59 std::vector<double> retV(emObjectHandle->size(), 0);
64 for (
size_t i = 0;
i < emObjectHandle->size(); ++
i) {
65 double isoValue = myHadIsolation.getTowerEtSum(&(emObjectHandle->at(
i)));
69 filler.insert(emObjectHandle, retV.begin(), retV.end());
void produce(edm::Event &, const edm::EventSetup &) override
EgammaTowerIsolationProducer(const edm::ParameterSet &)
const double egHcalIsoConeSizeIn_
const edm::EDGetTokenT< edm::View< reco::Candidate > > emObjectProducer_
const signed int egHcalDepth_
#define DEFINE_FWK_MODULE(type)
const double egHcalIsoConeSizeOut_
const edm::EDPutTokenT< edm::ValueMap< double > > putToken_
const edm::EDGetTokenT< CaloTowerCollection > towerProducer_
const double egHcalIsoPtMin_