Go to the documentation of this file.
12 : cfg_(
cfg), caloGeomCacheId_(0), hcalIso_(nullptr), towerIso1_(nullptr), towerIso2_(nullptr), hadTower_(nullptr) {}
51 edm::LogError(
"ElectronHcalHelper::readEvent") <<
"failed to get the rechits";
83 const std::vector<CaloTowerDetId>* excludeTowers)
const {
95 const std::vector<CaloTowerDetId>* excludeTowers)
const {
double getHcalESumDepth2(const reco::Candidate *c) const
double hcalESumDepth1(const reco::SuperCluster &, const std::vector< CaloTowerDetId > *excludeTowers=nullptr) const
double hcalESumDepth1BehindClusters(const std::vector< CaloTowerDetId > &towers) const
double getHcalESum(const reco::Candidate *c) const
EgammaHcalIsolation * hcalIso_
bool hasActiveHcal(const std::vector< CaloTowerDetId > &towers) const
unsigned long long caloGeomCacheId_
double getTowerESum(const reco::Candidate *cand, const std::vector< CaloTowerDetId > *detIdToExclude=nullptr) const
const CaloTowerCollection * towersFromCollection_
double getDepth2HcalESum(const std::vector< CaloTowerDetId > &towers, CaloTowerCollection const &) const
edm::EDGetTokenT< CaloTowerCollection > hcalTowers
bool hasActiveHcal(const reco::SuperCluster &sc) const
EgammaTowerIsolation * towerIso1_
bool getByToken(EDGetToken token, Handle< PROD > &result) const
edm::EDGetTokenT< HBHERecHitCollection > hcalRecHits
double hcalESumDepth2BehindClusters(const std::vector< CaloTowerDetId > &towers) const
EgammaTowerIsolation * towerIso2_
std::vector< CaloTowerDetId > hcalTowersBehindClusters(const reco::SuperCluster &sc) const
ElectronHcalHelper(const Configuration &)
void checkSetup(const edm::EventSetup &)
edm::ESHandle< CaloGeometry > caloGeom_
std::vector< CaloTowerDetId > towersOf(const reco::SuperCluster &sc) const
double getHcalESumDepth1(const reco::Candidate *c) const
EgammaHadTower * hadTower_
double hcalESum(const reco::SuperCluster &, const std::vector< CaloTowerDetId > *excludeTowers=nullptr) const
double getDepth1HcalESum(const std::vector< CaloTowerDetId > &towers, CaloTowerCollection const &) const
bool get(ProductID const &oid, Handle< PROD > &result) const
void readEvent(const edm::Event &)
double hcalESumDepth2(const reco::SuperCluster &, const std::vector< CaloTowerDetId > *excludeTowers=nullptr) const