#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 |
Definition at line 20 of file EGHcalRecHitSelector.h.
void EGHcalRecHitSelector::addDetIds | ( | const reco::SuperCluster & | superClus, |
const HBHERecHitCollection & | recHits, | ||
CollType & | detIdsToStore | ||
) | const |
Definition at line 46 of file EGHcalRecHitSelector.h.
References funct::abs(), calDIEta(), calDIPhi(), DetId::det(), DetId::Ecal, DetId::Forward, getMinEnergyHCAL_(), maxDIEta_, maxDIPhi_, rpcPointValidation_cfi::recHit, FastTrackerRecHitMaskProducer_cfi::recHits, reco::SuperCluster::seed(), ecaldqm::towerId(), towerMap_, and CaloTowerConstituentsMap::towerOf().
Referenced by ReducedEGProducer::linkHcalHits(), and EgammaIsoHcalDetIdCollectionProducer::produce().
|
staticprivate |
Definition at line 22 of file EGHcalRecHitSelector.cc.
References HLT_2018_cff::dEta.
Referenced by addDetIds().
|
staticprivate |
Definition at line 33 of file EGHcalRecHitSelector.cc.
References HLT_2018_cff::dPhi.
Referenced by addDetIds().
|
private |
Definition at line 42 of file EGHcalRecHitSelector.cc.
References LEDCalibrationChannels::depth, HcalBarrel, HcalEndcap, SiStripPI::max, minEnergyHB_, minEnergyHEDefault_, and minEnergyHEDepth1_.
Referenced by addDetIds().
|
static |
Definition at line 12 of file EGHcalRecHitSelector.cc.
References edm::ParameterSetDescription::add().
Referenced by EgammaIsoHcalDetIdCollectionProducer::fillDescriptions().
|
inline |
Definition at line 27 of file EGHcalRecHitSelector.h.
References edm::EventSetup::get(), get, and towerMap_.
Referenced by EgammaIsoHcalDetIdCollectionProducer::beginRun(), and ReducedEGProducer::beginRun().
|
private |
Definition at line 36 of file EGHcalRecHitSelector.h.
Referenced by addDetIds().
|
private |
Definition at line 37 of file EGHcalRecHitSelector.h.
Referenced by addDetIds().
|
private |
Definition at line 38 of file EGHcalRecHitSelector.h.
Referenced by getMinEnergyHCAL_().
|
private |
Definition at line 40 of file EGHcalRecHitSelector.h.
Referenced by getMinEnergyHCAL_().
|
private |
Definition at line 39 of file EGHcalRecHitSelector.h.
Referenced by getMinEnergyHCAL_().
|
private |
Definition at line 42 of file EGHcalRecHitSelector.h.
Referenced by addDetIds(), and setup().