53 produces <reco::RecoEcalCandidateIsolationMap>();
67 desc.
add<
bool>((
"doRhoCorrection"),
false);
68 desc.
add<
double>((
"rhoMax"), 999999.);
69 desc.
add<
double>((
"rhoScale"), 1.0);
70 desc.
add<
double>((
"etMin"), -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.021);
76 desc.
add<
double>((
"effectiveAreaEndcap"), 0.040);
77 desc.
add<
bool>((
"useSingleTower"),
false);
78 descriptions.
add((
"hltEgammaHLTBcHcalIsolationProducersRegional"), desc);
108 for(
unsigned int iRecoEcalCand=0; iRecoEcalCand <recoEcalCandHandle->size(); iRecoEcalCand++) {
114 std::vector<CaloTowerDetId> towersBehindCluster;
122 isol = isolAlgo.
getTowerEtSum(&(*recoEcalCandRef), &(towersBehindCluster));
124 isol = isolAlgo.getTowerEtSum(&(*recoEcalCandRef));
127 if (fabs(recoEcalCandRef->superCluster()->eta()) < 1.442)
139 isoMap.
insert(recoEcalCandRef, isol);
T getParameter(std::string const &) const
double hcalESum(const reco::SuperCluster &, const std::vector< CaloTowerDetId > *excludeTowers=0)
void readEvent(const edm::Event &)
float effectiveAreaEndcap_
bool getByToken(EDGetToken token, Handle< PROD > &result) const
virtual void produce(edm::Event &, const edm::EventSetup &)
double hcalESumDepth2BehindClusters(const std::vector< CaloTowerDetId > &towers)
std::vector< CaloTowerDetId > hcalTowersBehindClusters(const reco::SuperCluster &sc)
void checkSetup(const edm::EventSetup &)
double hcalESumDepth1BehindClusters(const std::vector< CaloTowerDetId > &towers)
ElectronHcalHelper::Configuration hcalCfg_
~EgammaHLTBcHcalIsolationProducersRegional()
ElectronHcalHelper * hcalHelper_
edm::EDGetTokenT< double > rhoProducer_
EgammaHLTBcHcalIsolationProducersRegional(const edm::ParameterSet &)
float effectiveAreaBarrel_
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
edm::EDGetTokenT< reco::RecoEcalCandidateCollection > recoEcalCandidateProducer_
void add(std::string const &label, ParameterSetDescription const &psetDescription)
T const * product() const
double getTowerEtSum(const reco::Candidate *cand, const std::vector< CaloTowerDetId > *detIdToExclude=0) const
edm::EDGetTokenT< CaloTowerCollection > hcalTowers
edm::EDGetTokenT< CaloTowerCollection > caloTowerProducer_