55 produces <reco::RecoEcalCandidateIsolationMap>();
69 desc.
add<
bool>((
"doRhoCorrection"),
false);
70 desc.
add<
double>((
"rhoMax"), 999999.);
71 desc.
add<
double>((
"rhoScale"), 1.0);
72 desc.
add<
double>((
"etMin"), -1.0);
73 desc.
add<
double>((
"innerCone"), 0);
74 desc.
add<
double>((
"outerCone"), 0.15);
75 desc.
add<
int>((
"depth"), -1);
76 desc.
add<
bool>((
"doEtSum"),
false);
77 desc.
add<
double>((
"effectiveAreaBarrel"), 0.021);
78 desc.
add<
double>((
"effectiveAreaEndcap"), 0.040);
79 desc.
add<
bool>((
"useSingleTower"),
false);
80 descriptions.
add((
"hltEgammaHLTBcHcalIsolationProducersRegional"), desc);
110 for(
unsigned int iRecoEcalCand=0; iRecoEcalCand <recoEcalCandHandle->size(); iRecoEcalCand++) {
116 std::vector<CaloTowerDetId> towersBehindCluster;
124 isol = isolAlgo.
getTowerEtSum(&(*recoEcalCandRef), &(towersBehindCluster));
126 isol = isolAlgo.getTowerEtSum(&(*recoEcalCandRef));
129 if (fabs(recoEcalCandRef->superCluster()->eta()) < 1.442)
141 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_