24 produces < reco::RecoEcalCandidateIsolationMap >();
25 produces < reco::RecoEcalCandidateIsolationMap >(
"r95x5");
37 descriptions.
add((
"hltEgammaHLTR9IDProducer"), desc);
52 for(
unsigned int iRecoEcalCand=0; iRecoEcalCand<recoecalcandHandle->size(); iRecoEcalCand++) {
59 float e9 = lazyTools.e3x3( *(recoecalcandref->superCluster()->seed()) );
60 float e95x5 = lazyTools5x5.
e3x3( *(recoecalcandref->superCluster()->seed()) );
62 float eraw = recoecalcandref->superCluster()->rawEnergy();
68 r9Map.
insert(recoecalcandref, r9);
69 r95x5Map.
insert(recoecalcandref,r95x5);
73 iEvent.
put(std::make_unique<reco::RecoEcalCandidateIsolationMap>(r9Map));
75 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
void produce(edm::StreamID sid, edm::Event &, const edm::EventSetup &) const override
const edm::EDGetTokenT< EcalRecHitCollection > ecalRechitEBToken_
const edm::EDGetTokenT< reco::RecoEcalCandidateCollection > recoEcalCandidateProducer_
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