#include <HoECalculator.h>
Public Member Functions | |
HoECalculator () | |
HoECalculator (const edm::ESHandle< CaloGeometry > &) | |
double | operator() (const reco::BasicCluster *, const edm::Event &e, const edm::EventSetup &c) |
double | operator() (const reco::SuperCluster *, const edm::Event &e, const edm::EventSetup &c) |
Private Member Functions | |
double | getHoE (GlobalPoint pos, float energy, const edm::Event &e, const edm::EventSetup &c) |
Private Attributes | |
const HBHERecHitCollection * | hithbhe_ |
edm::ESHandle< CaloGeometry > | theCaloGeom_ |
Definition at line 14 of file HoECalculator.h.
HoECalculator::HoECalculator | ( | ) |
Definition at line 7 of file HoECalculator.cc.
HoECalculator::HoECalculator | ( | const edm::ESHandle< CaloGeometry > & | caloGeom | ) |
Definition at line 11 of file HoECalculator.cc.
|
private |
Definition at line 53 of file HoECalculator.cc.
References edm::SortedCollection< T, SORT >::end(), edm::SortedCollection< T, SORT >::find(), edm::EventSetup::get(), edm::eventsetup::EventSetupRecord::get(), edm::Event::getByLabel(), CaloSubdetectorGeometry::getClosestCell(), CaloGeometry::getSubdetectorGeometry(), photonIsolationHIProducer_cfi::hbhe, DetId::Hcal, hithbhe_, edm::ESHandleBase::isValid(), edm::Handle< T >::product(), edm::ESHandle< T >::product(), and theCaloGeom_.
Referenced by operator()().
double HoECalculator::operator() | ( | const reco::BasicCluster * | clus, |
const edm::Event & | e, | ||
const edm::EventSetup & | c | ||
) |
Definition at line 16 of file HoECalculator.cc.
References EnergyCorrector::c, MillePedeFileConverter_cfg::e, and getHoE().
double HoECalculator::operator() | ( | const reco::SuperCluster * | clus, |
const edm::Event & | e, | ||
const edm::EventSetup & | c | ||
) |
Definition at line 21 of file HoECalculator.cc.
References EnergyCorrector::c, MillePedeFileConverter_cfg::e, reco::CaloCluster::energy(), getHoE(), reco::CaloCluster::x(), reco::CaloCluster::y(), and reco::CaloCluster::z().
|
private |
Definition at line 49 of file HoECalculator.h.
Referenced by getHoE().
|
private |
Definition at line 48 of file HoECalculator.h.
Referenced by getHoE().