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 calibRing_, DetId::Ecal, EcalBarrel, EcalEndcap, PVValHelper::eta, etCutEB_, etCutEE_, eThresholdsEB_, eThresholdsEE_, relativeConstraints::geometry, edm::EventSetup::getData(), EcalRingCalibrationTools::getRingIndex(), gpuClustering::id, EEDetId::IX_MAX, kNRingsEB, relativeConstraints::ring, ringsInOneEE, and EcalRingCalibrationTools::setCaloGeometry().
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 ConfigCache::barrelDetIds, calibRing_, ConfigCache::endcapDetIds, edm::EventSetup::getData(), EcalRingCalibrationTools::getRingIndex(), gpuClustering::id, kNRingsEB, kNRingsEE, nSumEtValues_, relativeConstraints::ring, and EcalPhiSymRecHit::setEERing().
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 ConfigCache::barrelDetIds, PhiSymCache::clear(), ConfigCache::endcapDetIds, gpuClustering::id, nSumEtValues_, PhiSymCache::recHitCollEB, and PhiSymCache::recHitCollEE.
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_FULL_cff::barrelRecHits, calibRing_, EBDetId::denseIndex(), EEDetId::denseIndex(), ebToken_, DetId::Ecal, EcalBarrel, EcalEndcap, PhiSymCache::ecalLumiInfo, eeToken_, HLT_FULL_cff::endcapRecHits, relval_parameters_module::energy, PVValHelper::eta, ConfigCache::etCutsEB, ConfigCache::etCutsEE, eThresholdsEB_, eThresholdsEE_, relativeConstraints::geometry, geoToken_, edm::EventSetup::getData(), EcalRingCalibrationTools::getRingIndex(), kNRingsEB, EcalCondDBWriter_cfi::laser, laserDbToken_, misCalibRangeEB_, misCalibRangeEE_, misCalibStepsEB_, misCalibStepsEE_, nMisCalib_, nSumEtValues_, PhiSymCache::recHitCollEB, PhiSymCache::recHitCollEE, relativeConstraints::ring, edm::EventBase::time(), and edm::Timestamp::value().
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, 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().