60 produces<reco::RecoEcalCandidateIsolationMap>();
61 produces<reco::RecoEcalCandidateIsolationMap>(
"r95x5");
71 descriptions.
add((
"hltEgammaHLTR9IDProducer"), desc);
84 for (
unsigned int iRecoEcalCand = 0; iRecoEcalCand < recoecalcandHandle->size(); iRecoEcalCand++) {
90 float e9 = lazyTools.e3x3(*(recoecalcandref->superCluster()->seed()));
91 float e95x5 = lazyTools5x5.
e3x3(*(recoecalcandref->superCluster()->seed()));
93 float eraw = recoecalcandref->superCluster()->rawEnergy();
99 r9Map.
insert(recoecalcandref, r9);
100 r95x5Map.
insert(recoecalcandref, r95x5);
103 iEvent.
put(std::make_unique<reco::RecoEcalCandidateIsolationMap>(r9Map));
105 iEvent.
put(std::make_unique<reco::RecoEcalCandidateIsolationMap>(r95x5Map),
"r95x5");
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
const edm::EDGetTokenT< EcalRecHitCollection > ecalRechitEEToken_
bool getByToken(EDGetToken token, Handle< PROD > &result) const
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
void produce(edm::StreamID sid, edm::Event &, const edm::EventSetup &) const override
const edm::EDGetTokenT< EcalRecHitCollection > ecalRechitEBToken_
#define DEFINE_FWK_MODULE(type)
const edm::EDGetTokenT< reco::RecoEcalCandidateCollection > recoEcalCandidateProducer_
~EgammaHLTR9IDProducer() override
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
ParameterDescriptionBase * add(U const &iLabel, T const &value)
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)
std::vector< RecoEcalCandidate > RecoEcalCandidateCollection
collectin of RecoEcalCandidate objects