Go to the documentation of this file.
63 const std::vector<CaloTowerDetId>* excludeTowers)
const {
68 return towerIso1_->getTowerESum(&sc, excludeTowers);
70 return hcalIso_->getHcalESumDepth1(&sc);
75 const std::vector<CaloTowerDetId>* excludeTowers)
const {
80 return towerIso2_->getTowerESum(&sc, excludeTowers);
82 return hcalIso_->getHcalESumDepth2(&sc);
edm::ESGetToken< CaloGeometry, CaloGeometryRecord > caloGeometryToken_
double hcalESumDepth1(const reco::SuperCluster &, const std::vector< CaloTowerDetId > *excludeTowers=nullptr) const
std::unique_ptr< EgammaTowerIsolation > towerIso2_
const HcalTopology * hcalTopology_
std::unique_ptr< EgammaHcalIsolation > hcalIso_
const CaloTowerCollection * towersFromCollection_
edm::EDGetTokenT< CaloTowerCollection > hcalTowers
bool hasActiveHcal(const reco::SuperCluster &sc) const
ElectronHcalHelper(const Configuration &cfg, edm::ConsumesCollector &&cc)
edm::EDGetTokenT< HBHERecHitCollection > hcalRecHits
std::vector< CaloTowerDetId > towersOf(reco::SuperCluster const &sc, CaloTowerConstituentsMap const &towerMap, HoeMode mode=HoeMode::SingleTower)
void beginEvent(const edm::Event &, const edm::EventSetup &)
ESHandle< T > getHandle(const ESGetToken< T, R > &iToken) const
edm::ESGetToken< HcalTopology, HcalRecNumberingRecord > hcalTopologyToken_
const HcalChannelQuality * hcalQuality_
bool getData(T &iHolder) const
double hcalESum(const reco::SuperCluster &, const std::vector< CaloTowerDetId > *excludeTowers=nullptr) const
const CaloTowerConstituentsMap * towerMap_
bool hasActiveHcal(std::vector< CaloTowerDetId > const &towers, CaloTowerConstituentsMap const &towerMap, HcalChannelQuality const &hcalQuality, HcalTopology const &hcalTopology)
std::unique_ptr< EgammaTowerIsolation > towerIso1_
bool get(ProductID const &oid, Handle< PROD > &result) const
double hcalESumDepth2(const reco::SuperCluster &, const std::vector< CaloTowerDetId > *excludeTowers=nullptr) const
edm::ESGetToken< CaloTowerConstituentsMap, CaloGeometryRecord > towerMapToken_
edm::ESGetToken< HcalChannelQuality, HcalChannelQualityRcd > hcalChannelQualityToken_