Public Member Functions | |
EcalPhiSymRecHitProducerBase (const edm::ParameterSet &pSet, edm::ConsumesCollector &&cc) | |
void | initializeConfigCache (edm::EventSetup const &setup, edm::ESGetToken< CaloGeometry, CaloGeometryRecord > const &geoToken, std::shared_ptr< ConfigCache > &cache) const |
void | initializeJob () |
void | initializePhiSymCache (edm::EventSetup const &setup, edm::ESGetToken< EcalChannelStatus, EcalChannelStatusRcd > const &chStatusToken, ConfigCache const *config, std::shared_ptr< PhiSymCache > &cache) const |
void | initializeStreamCache (ConfigCache const *config, PhiSymCache *cache) const |
void | processEvent (edm::Event const &event, edm::EventSetup const &setup, ConfigCache const *config, PhiSymCache *cache) const |
void | sumCache (PhiSymCache *summaryc, PhiSymCache *streamc) const |
~EcalPhiSymRecHitProducerBase () | |
Protected Attributes | |
std::vector< double > | A_ |
std::vector< double > | B_ |
EcalRingCalibrationTools | calibRing_ |
edm::EDGetTokenT< EBRecHitCollection > | ebToken_ |
edm::EDGetTokenT< EBRecHitCollection > | eeToken_ |
float | etCutEB_ |
float | etCutEE_ |
std::vector< double > | eThresholdsEB_ |
float | eThresholdsEE_ [kNRingsEE] |
edm::ESGetToken< CaloGeometry, CaloGeometryRecord > | geoToken_ |
edm::ESGetToken< EcalLaserDbService, EcalLaserDbRecord > | laserDbToken_ |
std::vector< double > | misCalibRangeEB_ |
std::vector< double > | misCalibRangeEE_ |
std::vector< float > | misCalibStepsEB_ |
std::vector< float > | misCalibStepsEE_ |
int | nMisCalib_ |
int | nSumEtValues_ |
float | thrEEmod_ |
Static Protected Attributes | |
static const short | kNRingsEB = EcalRingCalibrationTools::N_RING_BARREL |
static const short | kNRingsEE = EcalRingCalibrationTools::N_RING_ENDCAP |
static const short | ringsInOneEE = kNRingsEE / 2 |
Definition at line 69 of file EcalPhiSymRecHitProducers.cc.
|
explicit |
Definition at line 121 of file EcalPhiSymRecHitProducers.cc.
|
inline |
Definition at line 72 of file EcalPhiSymRecHitProducers.cc.
void EcalPhiSymRecHitProducerBase::initializeConfigCache | ( | edm::EventSetup const & | setup, |
edm::ESGetToken< CaloGeometry, CaloGeometryRecord > const & | geoToken, | ||
std::shared_ptr< ConfigCache > & | cache | ||
) | const |
Definition at line 313 of file EcalPhiSymRecHitProducers.cc.
References utilities::cache(), calibRing_, DetId::Ecal, EcalBarrel, EcalEndcap, PVValHelper::eta, etCutEB_, etCutEE_, eThresholdsEB_, eThresholdsEE_, EcalRingCalibrationTools::getRingIndex(), EcalPhiSymFlatTableProducers_cfi::id, hcalRecHitTable_cff::iphi, ALPAKA_ACCELERATOR_NAMESPACE::ecal::reconstruction::internal::endcap::ix(), EEDetId::IX_MAX, kNRingsEB, relativeConstraints::ring, ringsInOneEE, EcalRingCalibrationTools::setCaloGeometry(), and singleTopDQM_cfi::setup.
Referenced by EcalPhiSymRecHitProducerLumi::globalBeginLuminosityBlock(), and EcalPhiSymRecHitProducerRun::globalBeginRun().
void EcalPhiSymRecHitProducerBase::initializeJob | ( | ) |
Definition at line 137 of file EcalPhiSymRecHitProducers.cc.
References A_, funct::abs(), B_, eThresholdsEE_, misCalibRangeEB_, misCalibRangeEE_, misCalibStepsEB_, misCalibStepsEE_, nMisCalib_, nSumEtValues_, ringsInOneEE, and thrEEmod_.
Referenced by EcalPhiSymRecHitProducerLumi::beginJob(), and EcalPhiSymRecHitProducerRun::beginJob().
void EcalPhiSymRecHitProducerBase::initializePhiSymCache | ( | edm::EventSetup const & | setup, |
edm::ESGetToken< EcalChannelStatus, EcalChannelStatusRcd > const & | chStatusToken, | ||
ConfigCache const * | config, | ||
std::shared_ptr< PhiSymCache > & | cache | ||
) | const |
Definition at line 286 of file EcalPhiSymRecHitProducers.cc.
References utilities::cache(), calibRing_, EcalRingCalibrationTools::getRingIndex(), EcalPhiSymFlatTableProducers_cfi::id, kNRingsEB, kNRingsEE, nSumEtValues_, relativeConstraints::ring, and singleTopDQM_cfi::setup.
Referenced by EcalPhiSymRecHitProducerLumi::globalBeginLuminosityBlockSummary(), and EcalPhiSymRecHitProducerRun::globalBeginRunSummary().
void EcalPhiSymRecHitProducerBase::initializeStreamCache | ( | ConfigCache const * | config, |
PhiSymCache * | cache | ||
) | const |
Definition at line 269 of file EcalPhiSymRecHitProducers.cc.
References utilities::cache(), EcalPhiSymFlatTableProducers_cfi::id, nSumEtValues_, and nano_mu_digi_cff::rawId.
Referenced by EcalPhiSymRecHitProducerLumi::streamBeginLuminosityBlock(), and EcalPhiSymRecHitProducerRun::streamBeginRun().
void EcalPhiSymRecHitProducerBase::processEvent | ( | edm::Event const & | event, |
edm::EventSetup const & | setup, | ||
ConfigCache const * | config, | ||
PhiSymCache * | cache | ||
) | const |
Definition at line 160 of file EcalPhiSymRecHitProducers.cc.
References HLT_2024v14_cff::barrelRecHits, calibRing_, EBDetId::denseIndex(), EEDetId::denseIndex(), ebToken_, DetId::Ecal, EcalBarrel, EcalEndcap, PhiSymCache::ecalLumiInfo, eeToken_, HLT_2024v14_cff::endcapRecHits, HBHEDarkening_cff::energy, PVValHelper::eta, ConfigCache::etCutsEB, ConfigCache::etCutsEE, eThresholdsEB_, eThresholdsEE_, geoToken_, EcalRingCalibrationTools::getRingIndex(), kNRingsEB, EcalCondDBWriter_cfi::laser, laserDbToken_, misCalibRangeEB_, misCalibRangeEE_, misCalibStepsEB_, misCalibStepsEE_, nMisCalib_, nSumEtValues_, rpcPointValidation_cfi::recHit, PhiSymCache::recHitCollEB, PhiSymCache::recHitCollEE, relativeConstraints::ring, and singleTopDQM_cfi::setup.
Referenced by EcalPhiSymRecHitProducerLumi::accumulate(), and EcalPhiSymRecHitProducerRun::accumulate().
void EcalPhiSymRecHitProducerBase::sumCache | ( | PhiSymCache * | summaryc, |
PhiSymCache * | streamc | ||
) | const |
Definition at line 348 of file EcalPhiSymRecHitProducers.cc.
References PhiSymCache::ecalLumiInfo, cms::cuda::for(), mps_fire::i, PhiSymCache::recHitCollEB, and PhiSymCache::recHitCollEE.
Referenced by EcalPhiSymRecHitProducerLumi::streamEndLuminosityBlockSummary(), and EcalPhiSymRecHitProducerRun::streamEndRunSummary().
|
protected |
Definition at line 103 of file EcalPhiSymRecHitProducers.cc.
Referenced by initializeJob().
|
protected |
Definition at line 104 of file EcalPhiSymRecHitProducers.cc.
Referenced by initializeJob().
|
protected |
Definition at line 113 of file EcalPhiSymRecHitProducers.cc.
Referenced by initializeConfigCache(), initializePhiSymCache(), and processEvent().
|
protected |
Definition at line 98 of file EcalPhiSymRecHitProducers.cc.
Referenced by processEvent().
|
protected |
Definition at line 99 of file EcalPhiSymRecHitProducers.cc.
Referenced by processEvent().
|
protected |
Definition at line 100 of file EcalPhiSymRecHitProducers.cc.
Referenced by initializeConfigCache().
|
protected |
Definition at line 102 of file EcalPhiSymRecHitProducers.cc.
Referenced by initializeConfigCache().
|
protected |
Definition at line 101 of file EcalPhiSymRecHitProducers.cc.
Referenced by initializeConfigCache(), and processEvent().
|
protected |
Definition at line 117 of file EcalPhiSymRecHitProducers.cc.
Referenced by initializeConfigCache(), initializeJob(), and processEvent().
|
protected |
Definition at line 96 of file EcalPhiSymRecHitProducers.cc.
Referenced by processEvent().
|
staticprotected |
Definition at line 114 of file EcalPhiSymRecHitProducers.cc.
Referenced by initializeConfigCache(), initializePhiSymCache(), and processEvent().
|
staticprotected |
Definition at line 115 of file EcalPhiSymRecHitProducers.cc.
Referenced by initializePhiSymCache().
|
protected |
Definition at line 97 of file EcalPhiSymRecHitProducers.cc.
Referenced by processEvent().
|
protected |
Definition at line 108 of file EcalPhiSymRecHitProducers.cc.
Referenced by EcalPhiSymRecHitProducerLumi::globalEndLuminosityBlockProduce(), EcalPhiSymRecHitProducerRun::globalEndRunProduce(), initializeJob(), and processEvent().
|
protected |
Definition at line 110 of file EcalPhiSymRecHitProducers.cc.
Referenced by EcalPhiSymRecHitProducerLumi::globalEndLuminosityBlockProduce(), EcalPhiSymRecHitProducerRun::globalEndRunProduce(), initializeJob(), and processEvent().
|
protected |
Definition at line 109 of file EcalPhiSymRecHitProducers.cc.
Referenced by initializeJob(), and processEvent().
|
protected |
Definition at line 111 of file EcalPhiSymRecHitProducers.cc.
Referenced by initializeJob(), and processEvent().
|
protected |
Definition at line 106 of file EcalPhiSymRecHitProducers.cc.
Referenced by EcalPhiSymRecHitProducerLumi::globalEndLuminosityBlockProduce(), EcalPhiSymRecHitProducerRun::globalEndRunProduce(), initializeJob(), and processEvent().
|
protected |
Definition at line 107 of file EcalPhiSymRecHitProducers.cc.
Referenced by initializeJob(), initializePhiSymCache(), initializeStreamCache(), and processEvent().
|
staticprotected |
Definition at line 116 of file EcalPhiSymRecHitProducers.cc.
Referenced by initializeConfigCache(), and initializeJob().
|
protected |
Definition at line 105 of file EcalPhiSymRecHitProducers.cc.
Referenced by initializeJob().