43 double innerCone = config.
getParameter<
double>(
"innerCone");
44 double outerCone = config.
getParameter<
double>(
"outerCone");
52 produces < reco::RecoEcalCandidateIsolationMap >();
64 desc.
add<
bool>((
"doRhoCorrection"),
false);
65 desc.
add<
double>((
"rhoMax"), 9.9999999E7);
66 desc.
add<
double>((
"rhoScale"), 1.0);
67 desc.
add<
double>((
"eMinHB"), 0.7);
68 desc.
add<
double>((
"eMinHE"), 0.8);
69 desc.
add<
double>((
"etMinHB"), -1.0);
70 desc.
add<
double>((
"etMinHE"), -1.0);
71 desc.
add<
double>((
"innerCone"), 0);
72 desc.
add<
double>((
"outerCone"), 0.15);
73 desc.
add<
int>((
"depth"), -1);
74 desc.
add<
bool>((
"doEtSum"),
false);
75 desc.
add<
double>((
"effectiveAreaBarrel"), 0.105);
76 desc.
add<
double>((
"effectiveAreaEndcap"), 0.170);
77 descriptions.
add((
"hltEgammaHLTHcalIsolationProducersRegional"), desc);
116 for(reco::RecoEcalCandidateCollection::const_iterator iRecoEcalCand = recoEcalCandHandle->begin(); iRecoEcalCand != recoEcalCandHandle->end(); iRecoEcalCand++){
123 recoEcalCandRef->superCluster()->phi(),hbheRecHitCollection,caloGeom,
127 if (fabs(recoEcalCandRef->superCluster()->eta()) < 1.442)
133 isol =
isolAlgo_->
getESum(recoEcalCandRef->superCluster()->eta(),recoEcalCandRef->superCluster()->phi(),
134 hbheRecHitCollection,caloGeom,
138 isoMap.
insert(recoEcalCandRef, isol);
T getParameter(std::string const &) const
bool getByToken(EDGetToken token, Handle< PROD > &result) const
edm::EDGetTokenT< reco::RecoEcalCandidateCollection > recoEcalCandidateProducer_
float effectiveAreaBarrel_
virtual void produce(edm::Event &, const edm::EventSetup &)
EgammaHLTHcalIsolation * isolAlgo_
EgammaHLTHcalIsolationProducersRegional(const edm::ParameterSet &)
float effectiveAreaEndcap_
OrphanHandle< PROD > put(std::auto_ptr< PROD > product)
Put a new product.
~EgammaHLTHcalIsolationProducersRegional()
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_
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)
T const * product() const
float getESum(float candEta, float candPhi, const HBHERecHitCollection *hbhe, const CaloGeometry *geometry) const
edm::EDGetTokenT< HBHERecHitCollection > hbheRecHitProducer_
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)