35 produces < reco::RecoEcalCandidateIsolationMap >();
46 descriptions.
add((
"hltEgammaHLTR9IDProducer"), desc);
61 for(
unsigned int iRecoEcalCand=0; iRecoEcalCand<recoecalcandHandle->size(); iRecoEcalCand++) {
67 float e9 = lazyTools.e3x3( *(recoecalcandref->superCluster()->seed()) );
68 float eraw = recoecalcandref->superCluster()->rawEnergy();
69 if (eraw > 0. ) {r9 = e9/eraw;}
71 r9Map.
insert(recoecalcandref, r9);
edm::EDGetTokenT< reco::RecoEcalCandidateCollection > recoEcalCandidateProducer_
T getParameter(std::string const &) const
edm::EDGetTokenT< EcalRecHitCollection > ecalRechitEBToken_
bool getByToken(EDGetToken token, Handle< PROD > &result) const
virtual void produce(edm::Event &, const edm::EventSetup &)
OrphanHandle< PROD > put(std::auto_ptr< PROD > product)
Put a new product.
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)
edm::EDGetTokenT< EcalRecHitCollection > ecalRechitEEToken_