55 : recoEcalCandidateProducer_(consumes(
config.getParameter<
edm::
InputTag>(
"recoEcalCandidateProducer"))),
60 produces<reco::RecoEcalCandidateIsolationMap>();
61 produces<reco::RecoEcalCandidateIsolationMap>(
"r95x5");
69 descriptions.
add((
"hltEgammaHLTR9IDProducer"),
desc);
83 for (
unsigned int iRecoEcalCand = 0; iRecoEcalCand < recoecalcandHandle->size(); iRecoEcalCand++) {
89 float e9 = lazyTools.e3x3(*(recoecalcandref->superCluster()->seed()));
90 float e95x5 = lazyTools5x5.
e3x3(*(recoecalcandref->superCluster()->seed()));
92 float eraw = recoecalcandref->superCluster()->rawEnergy();
98 r9Map.insert(recoecalcandref,
r9);
99 r95x5Map.
insert(recoecalcandref, r95x5);
102 iEvent.put(std::make_unique<reco::RecoEcalCandidateIsolationMap>(
r9Map));
104 iEvent.put(std::make_unique<reco::RecoEcalCandidateIsolationMap>(r95x5Map),
"r95x5");
const edm::EDGetTokenT< EcalRecHitCollection > ecalRechitEEToken_
#define DEFINE_FWK_MODULE(type)
const EcalClusterLazyTools::ESGetTokens ecalClusterToolsESGetTokens_
const edm::EDGetTokenT< EcalRecHitCollection > ecalRechitEBToken_
const edm::EDGetTokenT< reco::RecoEcalCandidateCollection > recoEcalCandidateProducer_
ConsumesCollector consumesCollector()
Use a ConsumesCollector to gather consumes information from helper functions.
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
void insert(const key_type &k, const data_type &v)
insert an association
EgammaHLTR9IDProducer(const edm::ParameterSet &)
void add(std::string const &label, ParameterSetDescription const &psetDescription)
void produce(edm::StreamID sid, edm::Event &, const edm::EventSetup &) const override