41 double innerCone = config.
getParameter<
double>(
"innerCone");
42 double outerCone = config.
getParameter<
double>(
"outerCone");
50 produces < reco::RecoEcalCandidateIsolationMap >();
62 desc.
add<
bool>((
"doRhoCorrection"),
false);
63 desc.
add<
double>((
"rhoMax"), 9.9999999E7);
64 desc.
add<
double>((
"rhoScale"), 1.0);
65 desc.
add<
double>((
"eMinHB"), 0.7);
66 desc.
add<
double>((
"eMinHE"), 0.8);
67 desc.
add<
double>((
"etMinHB"), -1.0);
68 desc.
add<
double>((
"etMinHE"), -1.0);
69 desc.
add<
double>((
"innerCone"), 0);
70 desc.
add<
double>((
"outerCone"), 0.15);
71 desc.
add<
int>((
"depth"), -1);
72 desc.
add<
bool>((
"doEtSum"),
false);
73 desc.
add<
double>((
"effectiveAreaBarrel"), 0.105);
74 desc.
add<
double>((
"effectiveAreaEndcap"), 0.170);
75 descriptions.
add((
"hltEgammaHLTHcalIsolationProducersRegional"), desc);
114 for(reco::RecoEcalCandidateCollection::const_iterator iRecoEcalCand = recoEcalCandHandle->begin(); iRecoEcalCand != recoEcalCandHandle->end(); iRecoEcalCand++){
121 recoEcalCandRef->superCluster()->phi(),hbheRecHitCollection,caloGeom,
125 if (fabs(recoEcalCandRef->superCluster()->eta()) < 1.442)
131 isol =
isolAlgo_->
getESum(recoEcalCandRef->superCluster()->eta(),recoEcalCandRef->superCluster()->phi(),
132 hbheRecHitCollection,caloGeom,
136 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)