#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) |
double | operator() (const reco::SuperCluster *, HBHERecHitMetaCollection *mhbhe, int ialgo=1) |
double | operator() (const reco::BasicCluster *, HBHERecHitMetaCollection *mhbhe) |
Private Member Functions | |
double | getHoE (GlobalPoint pos, float energy, const edm::Event &e, const edm::EventSetup &c) |
double | getHoE (GlobalPoint pos, float energy, HBHERecHitMetaCollection *mhbhe) |
Private Attributes | |
const HBHERecHitCollection * | hithbhe_ |
edm::ESHandle< CaloGeometry > | theCaloGeom_ |
Definition at line 16 of file HoECalculator.h.
HoECalculator::HoECalculator | ( | ) |
Definition at line 8 of file HoECalculator.cc.
HoECalculator::HoECalculator | ( | const edm::ESHandle< CaloGeometry > & | caloGeom | ) |
Definition at line 12 of file HoECalculator.cc.
|
private |
Definition at line 52 of file HoECalculator.cc.
References CaloRecHitMetaCollection::add(), CaloRecHitMetaCollectionV::end(), CaloRecHit::energy(), f, CaloRecHitMetaCollection::find(), geometry, edm::EventSetup::get(), edm::eventsetup::EventSetupRecord::get(), edm::Event::getByLabel(), CaloSubdetectorGeometry::getClosestCell(), CaloGeometry::getSubdetectorGeometry(), DetId::Hcal, hithbhe_, edm::ESHandleBase::isValid(), edm::Handle< T >::product(), edm::ESHandle< class >::product(), and theCaloGeom_.
Referenced by operator()().
|
private |
Definition at line 84 of file HoECalculator.cc.
References CaloRecHitMetaCollectionV::end(), CaloRecHit::energy(), relval_parameters_module::energy, SimpleCaloRecHitMetaCollection< C >::find(), CaloSubdetectorGeometry::getClosestCell(), DetId::Hcal, i, and theCaloGeom_.
double HoECalculator::operator() | ( | const reco::BasicCluster * | clus, |
const edm::Event & | e, | ||
const edm::EventSetup & | c | ||
) |
Definition at line 17 of file HoECalculator.cc.
References trackerHits::c, alignCSCRings::e, and getHoE().
double HoECalculator::operator() | ( | const reco::SuperCluster * | clus, |
const edm::Event & | e, | ||
const edm::EventSetup & | c | ||
) |
Definition at line 22 of file HoECalculator.cc.
References trackerHits::c, alignCSCRings::e, reco::CaloCluster::energy(), getHoE(), reco::CaloCluster::x(), reco::CaloCluster::y(), and reco::CaloCluster::z().
double HoECalculator::operator() | ( | const reco::SuperCluster * | clus, |
HBHERecHitMetaCollection * | mhbhe, | ||
int | ialgo = 1 |
||
) |
Definition at line 27 of file HoECalculator.cc.
References reco::SuperCluster::clustersBegin(), reco::SuperCluster::clustersEnd(), gather_cfg::cout, reco::CaloCluster::energy(), getHoE(), reco::CaloCluster::x(), reco::CaloCluster::y(), and reco::CaloCluster::z().
double HoECalculator::operator() | ( | const reco::BasicCluster * | clus, |
HBHERecHitMetaCollection * | mhbhe | ||
) |
Definition at line 47 of file HoECalculator.cc.
References getHoE().
|
private |
Definition at line 48 of file HoECalculator.h.
Referenced by getHoE().
|
private |
Definition at line 47 of file HoECalculator.h.
Referenced by getHoE().