#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, edm::ConsumesCollector) | |
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_ |
edm::ESGetToken< CaloTowerConstituentsMap, CaloGeometryRecord > | towerMapToken_ |
Definition at line 19 of file EGHcalRecHitSelector.h.
|
explicit |
Definition at line 5 of file EGHcalRecHitSelector.cc.
|
inline |
Definition at line 22 of file EGHcalRecHitSelector.h.
void EGHcalRecHitSelector::addDetIds | ( | const reco::SuperCluster & | superClus, |
const HBHERecHitCollection & | recHits, | ||
CollType & | detIdsToStore | ||
) | const |
Definition at line 49 of file EGHcalRecHitSelector.h.
References funct::abs(), calDIEta(), calDIPhi(), DetId::Ecal, DetId::Forward, getMinEnergyHCAL_(), maxDIEta_, maxDIPhi_, rpcPointValidation_cfi::recHit, FastTrackerRecHitMaskProducer_cfi::recHits, reco::SuperCluster::seed(), run3scouting_cff::seedId, ecaldqm::towerId(), towerMap_, and CaloTowerConstituentsMap::towerOf().
Referenced by ReducedEGProducer::linkHcalHits(), and EgammaIsoHcalDetIdCollectionProducer::produce().
|
staticprivate |
Definition at line 23 of file EGHcalRecHitSelector.cc.
References HLT_2024v14_cff::dEta.
Referenced by addDetIds().
|
staticprivate |
Definition at line 34 of file EGHcalRecHitSelector.cc.
References HLT_2024v14_cff::dPhi.
Referenced by addDetIds().
|
private |
Definition at line 43 of file EGHcalRecHitSelector.cc.
References hcalRecHitTable_cff::depth, HcalBarrel, HcalEndcap, SiStripPI::max, minEnergyHB_, minEnergyHEDefault_, and minEnergyHEDepth1_.
Referenced by addDetIds().
|
static |
Definition at line 13 of file EGHcalRecHitSelector.cc.
References submitPVResolutionJobs::desc.
Referenced by EgammaIsoHcalDetIdCollectionProducer::fillDescriptions().
|
inline |
Definition at line 29 of file EGHcalRecHitSelector.h.
References edm::EventSetup::getHandle(), towerMap_, and towerMapToken_.
Referenced by EgammaIsoHcalDetIdCollectionProducer::beginRun(), and ReducedEGProducer::beginRun().
|
private |
Definition at line 38 of file EGHcalRecHitSelector.h.
Referenced by addDetIds().
|
private |
Definition at line 39 of file EGHcalRecHitSelector.h.
Referenced by addDetIds().
|
private |
Definition at line 40 of file EGHcalRecHitSelector.h.
Referenced by getMinEnergyHCAL_().
|
private |
Definition at line 42 of file EGHcalRecHitSelector.h.
Referenced by getMinEnergyHCAL_().
|
private |
Definition at line 41 of file EGHcalRecHitSelector.h.
Referenced by getMinEnergyHCAL_().
|
private |
Definition at line 44 of file EGHcalRecHitSelector.h.
Referenced by addDetIds(), and setup().
|
private |
Definition at line 45 of file EGHcalRecHitSelector.h.
Referenced by setup().