#include <EGHcalRecHitSelector.h>
Public Member Functions | |
template<typename CollType > | |
void | addDetIds (const reco::SuperCluster &superClus, const HBHERecHitCollection &recHits, CollType &detIdsToStore) const |
EGHcalRecHitSelector (const edm::ParameterSet &config) | |
void | setup (const edm::EventSetup &iSetup) |
~EGHcalRecHitSelector () | |
Static Public Member Functions | |
static edm::ParameterSetDescription | makePSetDescription () |
Private Member Functions | |
float | getMinEnergyHCAL_ (HcalDetId id) const |
Static Private Member Functions | |
static int | calDIEta (int iEta1, int iEta2) |
static int | calDIPhi (int iPhi1, int iPhi2) |
Private Attributes | |
int | maxDIEta_ |
int | maxDIPhi_ |
float | minEnergyHB_ |
float | minEnergyHEDefault_ |
float | minEnergyHEDepth1_ |
edm::ESHandle< CaloTowerConstituentsMap > | towerMap_ |
Definition at line 17 of file EGHcalRecHitSelector.h.
|
explicit |
Definition at line 5 of file EGHcalRecHitSelector.cc.
|
inline |
void EGHcalRecHitSelector::addDetIds | ( | const reco::SuperCluster & | superClus, |
const HBHERecHitCollection & | recHits, | ||
CollType & | detIdsToStore | ||
) | const |
Definition at line 47 of file EGHcalRecHitSelector.h.
References funct::abs(), calDIEta(), calDIPhi(), DetId::det(), DetId::Ecal, DetId::Forward, getMinEnergyHCAL_(), maxDIEta_, maxDIPhi_, rpcPointValidation_cfi::recHit, reco::SuperCluster::seed(), DataFormats::L1THGCal::towerId, towerMap_, and CaloTowerConstituentsMap::towerOf().
Referenced by ReducedEGProducer::linkHcalHits(), EgammaIsoHcalDetIdCollectionProducer::produce(), and ~EGHcalRecHitSelector().
|
staticprivate |
Definition at line 26 of file EGHcalRecHitSelector.cc.
References particleFlow_cfi::dEta.
Referenced by addDetIds(), and setup().
|
staticprivate |
Definition at line 37 of file EGHcalRecHitSelector.cc.
References particleFlow_cfi::dPhi.
Referenced by addDetIds(), and setup().
|
private |
Definition at line 45 of file EGHcalRecHitSelector.cc.
References egammaForCoreTracking_cff::depth, HcalBarrel, HcalEndcap, SiStripPI::max, minEnergyHB_, minEnergyHEDefault_, and minEnergyHEDepth1_.
Referenced by addDetIds(), and setup().
|
static |
Definition at line 15 of file EGHcalRecHitSelector.cc.
References edm::ParameterSetDescription::add().
Referenced by EgammaIsoHcalDetIdCollectionProducer::fillDescriptions(), and setup().
|
inline |
Definition at line 26 of file EGHcalRecHitSelector.h.
References calDIEta(), calDIPhi(), edm::EventSetup::get(), getMinEnergyHCAL_(), makePSetDescription(), and towerMap_.
Referenced by EgammaIsoHcalDetIdCollectionProducer::beginRun(), and ReducedEGProducer::beginRun().
|
private |
Definition at line 35 of file EGHcalRecHitSelector.h.
Referenced by addDetIds().
|
private |
Definition at line 36 of file EGHcalRecHitSelector.h.
Referenced by addDetIds().
|
private |
Definition at line 37 of file EGHcalRecHitSelector.h.
Referenced by getMinEnergyHCAL_().
|
private |
Definition at line 39 of file EGHcalRecHitSelector.h.
Referenced by getMinEnergyHCAL_().
|
private |
Definition at line 38 of file EGHcalRecHitSelector.h.
Referenced by getMinEnergyHCAL_().
|
private |
Definition at line 41 of file EGHcalRecHitSelector.h.
Referenced by addDetIds(), and setup().