#include <ElectronHcalHelper.h>
Classes | |
struct | Configuration |
Public Member Functions | |
void | checkSetup (const edm::EventSetup &) |
ElectronHcalHelper (const Configuration &) | |
double | hcalESum (const reco::SuperCluster &) |
double | hcalESumDepth1 (const reco::SuperCluster &) |
double | hcalESumDepth2 (const reco::SuperCluster &) |
double | hOverEConeSize () const |
void | readEvent (edm::Event &) |
~ElectronHcalHelper () | |
Private Attributes | |
edm::ESHandle< CaloGeometry > | caloGeom_ |
unsigned long long | caloGeomCacheId_ |
const Configuration | cfg_ |
edm::Handle < HBHERecHitCollection > * | hbhe_ |
EgammaHcalIsolation * | hcalIso_ |
HBHERecHitMetaCollection * | mhbhe_ |
EgammaTowerIsolation * | towerIso1_ |
EgammaTowerIsolation * | towerIso2_ |
edm::Handle < CaloTowerCollection > * | towersH_ |
Definition at line 18 of file ElectronHcalHelper.h.
ElectronHcalHelper::ElectronHcalHelper | ( | const Configuration & | cfg | ) |
Definition at line 11 of file ElectronHcalHelper.cc.
ElectronHcalHelper::~ElectronHcalHelper | ( | ) |
Definition at line 93 of file ElectronHcalHelper.cc.
References cfg_, hbhe_, hcalIso_, ElectronHcalHelper::Configuration::hOverEConeSize, mhbhe_, mathSSE::return(), towerIso1_, towerIso2_, towersH_, and ElectronHcalHelper::Configuration::useTowers.
void ElectronHcalHelper::checkSetup | ( | const edm::EventSetup & | es | ) |
Definition at line 15 of file ElectronHcalHelper.cc.
References caloGeom_, caloGeomCacheId_, cfg_, edm::EventSetup::get(), ElectronHcalHelper::Configuration::hOverEConeSize, mathSSE::return(), and ElectronHcalHelper::Configuration::useTowers.
Referenced by GsfElectronAlgo::checkSetup(), and ElectronSeedProducer::produce().
double ElectronHcalHelper::hcalESum | ( | const reco::SuperCluster & | sc | ) |
Definition at line 63 of file ElectronHcalHelper.cc.
References cfg_, EgammaHcalIsolation::getHcalESum(), hcalESumDepth1(), hcalESumDepth2(), hcalIso_, ElectronHcalHelper::Configuration::hOverEConeSize, and ElectronHcalHelper::Configuration::useTowers.
double ElectronHcalHelper::hcalESumDepth1 | ( | const reco::SuperCluster & | sc | ) |
Definition at line 73 of file ElectronHcalHelper.cc.
References cfg_, EgammaHcalIsolation::getHcalESumDepth1(), EgammaTowerIsolation::getTowerESum(), hcalIso_, ElectronHcalHelper::Configuration::hOverEConeSize, towerIso1_, and ElectronHcalHelper::Configuration::useTowers.
Referenced by GsfElectronAlgo::calculateShowerShape(), and hcalESum().
double ElectronHcalHelper::hcalESumDepth2 | ( | const reco::SuperCluster & | sc | ) |
Definition at line 83 of file ElectronHcalHelper.cc.
References cfg_, EgammaHcalIsolation::getHcalESumDepth2(), EgammaTowerIsolation::getTowerESum(), hcalIso_, ElectronHcalHelper::Configuration::hOverEConeSize, towerIso2_, and ElectronHcalHelper::Configuration::useTowers.
Referenced by GsfElectronAlgo::calculateShowerShape(), and hcalESum().
|
inline |
Definition at line 48 of file ElectronHcalHelper.h.
References cfg_, and ElectronHcalHelper::Configuration::hOverEConeSize.
void ElectronHcalHelper::readEvent | ( | edm::Event & | evt | ) |
Definition at line 32 of file ElectronHcalHelper.cc.
References caloGeom_, cfg_, edm::Event::getByLabel(), hbhe_, hcalIso_, ElectronHcalHelper::Configuration::hcalRecHits, ElectronHcalHelper::Configuration::hcalTowers, ElectronHcalHelper::Configuration::hOverEConeSize, ElectronHcalHelper::Configuration::hOverEHBMinE, ElectronHcalHelper::Configuration::hOverEHFMinE, ElectronHcalHelper::Configuration::hOverEPtMin, mhbhe_, mathSSE::return(), towerIso1_, towerIso2_, towersH_, and ElectronHcalHelper::Configuration::useTowers.
Referenced by GsfElectronAlgo::beginEvent(), and ElectronSeedProducer::produce().
|
private |
Definition at line 57 of file ElectronHcalHelper.h.
Referenced by checkSetup(), and readEvent().
|
private |
Definition at line 56 of file ElectronHcalHelper.h.
Referenced by checkSetup().
|
private |
Definition at line 53 of file ElectronHcalHelper.h.
Referenced by checkSetup(), hcalESum(), hcalESumDepth1(), hcalESumDepth2(), hOverEConeSize(), readEvent(), and ~ElectronHcalHelper().
|
private |
Definition at line 60 of file ElectronHcalHelper.h.
Referenced by readEvent(), and ~ElectronHcalHelper().
|
private |
Definition at line 62 of file ElectronHcalHelper.h.
Referenced by hcalESum(), hcalESumDepth1(), hcalESumDepth2(), readEvent(), and ~ElectronHcalHelper().
|
private |
Definition at line 61 of file ElectronHcalHelper.h.
Referenced by readEvent(), and ~ElectronHcalHelper().
|
private |
Definition at line 66 of file ElectronHcalHelper.h.
Referenced by hcalESumDepth1(), readEvent(), and ~ElectronHcalHelper().
|
private |
Definition at line 67 of file ElectronHcalHelper.h.
Referenced by hcalESumDepth2(), readEvent(), and ~ElectronHcalHelper().
|
private |
Definition at line 65 of file ElectronHcalHelper.h.
Referenced by readEvent(), and ~ElectronHcalHelper().