53 produces < reco::RecoEcalCandidateIsolationMap >();
65 desc.
add<
bool>((
"doRhoCorrection"),
false);
66 desc.
add<
double>((
"rhoMax"), 9.9999999E7);
67 desc.
add<
double>((
"rhoScale"), 1.0);
68 desc.
add<
double>((
"eMinHB"), 0.7);
69 desc.
add<
double>((
"eMinHE"), 0.8);
70 desc.
add<
double>((
"etMinHB"), -1.0);
71 desc.
add<
double>((
"etMinHE"), -1.0);
72 desc.
add<
double>((
"innerCone"), 0);
73 desc.
add<
double>((
"outerCone"), 0.15);
74 desc.
add<
int>((
"depth"), -1);
75 desc.
add<
bool>((
"doEtSum"),
false);
76 desc.
add<
double>((
"effectiveAreaBarrel"), 0.105);
77 desc.
add<
double>((
"effectiveAreaEndcap"), 0.170);
78 descriptions.
add((
"hltEgammaHLTHcalIsolationProducersRegional"), desc);
118 for(reco::RecoEcalCandidateCollection::const_iterator iRecoEcalCand = recoEcalCandHandle->begin(); iRecoEcalCand != recoEcalCandHandle->end(); iRecoEcalCand++){
125 recoEcalCandRef->superCluster()->phi(),hbheRecHitCollection,caloGeom,
126 hcalSevLvlComp.
product(),hcalChStatus);
129 if (fabs(recoEcalCandRef->superCluster()->eta()) < 1.442)
135 isol =
isolAlgo_->
getESum(recoEcalCandRef->superCluster()->eta(),recoEcalCandRef->superCluster()->phi(),
136 hbheRecHitCollection,caloGeom,
137 hcalSevLvlComp.
product(),hcalChStatus);
140 isoMap.
insert(recoEcalCandRef, isol);
143 iEvent.
put(std::make_unique<reco::RecoEcalCandidateIsolationMap>(isoMap));
T getParameter(std::string const &) const
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
bool getByToken(EDGetToken token, Handle< PROD > &result) const
edm::EDGetTokenT< reco::RecoEcalCandidateCollection > recoEcalCandidateProducer_
float effectiveAreaBarrel_
EgammaHLTHcalIsolation * isolAlgo_
EgammaHLTHcalIsolationProducersRegional(const edm::ParameterSet &)
~EgammaHLTHcalIsolationProducersRegional() override
float effectiveAreaEndcap_
void produce(edm::Event &, const edm::EventSetup &) override
ParameterDescriptionBase * add(U const &iLabel, T const &value)
float getEtSum(float candEta, float candPhi, const HBHERecHitCollection *hbhe, const CaloGeometry *geometry) const
edm::EDGetTokenT< double > rhoProducer_
T const * product() const
void insert(const key_type &k, const data_type &v)
insert an association
void add(std::string const &label, ParameterSetDescription const &psetDescription)
float getESum(float candEta, float candPhi, const HBHERecHitCollection *hbhe, const CaloGeometry *geometry) const
edm::EDGetTokenT< HBHERecHitCollection > hbheRecHitProducer_
T const * product() const
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)