37 produces < reco::RecoEcalCandidateIsolationMap >();
48 desc.
add<
double>((
"egHcalIsoPtMin"), 0.);
49 desc.
add<
double>((
"egHcalIsoConeSize"), 0.3);
50 desc.
add<
double>((
"egHcalExclusion"), 0.15);
51 descriptions.
add((
"hltEgammaHLTHcalIsolationDoubleConeProducers"), desc);
74 for(
unsigned int iRecoEcalCand=0; iRecoEcalCand<recoecalcandHandle->size(); iRecoEcalCand++) {
77 float isol =
test_->
isolPtSum(&(*recoecalcandref), hcalhitBarrelCollection, hcalhitEndcapCollection, caloGeom);
79 isoMap.
insert(recoecalcandref, isol);
82 iEvent.
put(std::make_unique<reco::RecoEcalCandidateIsolationMap>(isoMap));
T getParameter(std::string const &) const
double egHcalIsoConeSize_
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
~EgammaHLTHcalIsolationDoubleConeProducers()
float isolPtSum(const reco::RecoCandidate *recocandidate, const HBHERecHitCollection *hbhe, const HFRecHitCollection *hf, const CaloGeometry *geometry)
bool getByToken(EDGetToken token, Handle< PROD > &result) const
EgammaHLTHcalIsolationDoubleConeProducers(const edm::ParameterSet &)
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
EgammaHLTHcalIsolationDoubleCone * test_
edm::EDGetTokenT< HFRecHitCollection > hfRecHitProducer_
void produce(edm::Event &, const edm::EventSetup &) override
ParameterDescriptionBase * add(U const &iLabel, T const &value)
T const * product() const
void insert(const key_type &k, const data_type &v)
insert an association
T const * product() const
void add(std::string const &label, ParameterSetDescription const &psetDescription)
edm::EDGetTokenT< HBHERecHitCollection > hbRecHitProducer_
edm::EDGetTokenT< reco::RecoEcalCandidateCollection > recoEcalCandidateProducer_