#include <EcalRecHitWorkerRecover.h>
Public Member Functions | |
EcalRecHitWorkerRecover (const edm::ParameterSet &, edm::ConsumesCollector &c) | |
bool | run (const edm::Event &evt, const EcalUncalibratedRecHit &uncalibRH, EcalRecHitCollection &result) override |
void | set (const edm::EventSetup &es) override |
~EcalRecHitWorkerRecover () override | |
Public Member Functions inherited from EcalRecHitWorkerBaseClass | |
EcalRecHitWorkerBaseClass (const edm::ParameterSet &, edm::ConsumesCollector &c) | |
EcalRecHitWorkerBaseClass (const edm::ParameterSet &) | |
virtual | ~EcalRecHitWorkerBaseClass () |
Protected Member Functions | |
bool | alreadyInserted (const DetId &id) |
bool | checkChannelStatus (const DetId &id, const std::vector< int > &statusestoexclude) |
float | estimateEnergy (int ieta, EcalRecHitCollection *hits, const std::set< DetId > &sId, const std::vector< DetId > &vId) |
void | insertRecHit (const EcalRecHit &hit, EcalRecHitCollection &collection) |
float | recCheckCalib (float energy, int ieta) |
Additional Inherited Members | |
Public Types inherited from EcalRecHitWorkerBaseClass | |
enum | RecoveryFlags { EB_single, EE_single, EB_VFE, EE_VFE, EB_FE, EE_FE } |
Algorithms to recover dead channels
Definition at line 30 of file EcalRecHitWorkerRecover.h.
EcalRecHitWorkerRecover::EcalRecHitWorkerRecover | ( | const edm::ParameterSet & | ps, |
edm::ConsumesCollector & | c | ||
) |
Definition at line 21 of file EcalRecHitWorkerRecover.cc.
References edm::ConsumesCollector::consumes(), dbStatusToBeExcludedEB_, dbStatusToBeExcludedEE_, ebDeadChannelCorrector, edm::ParameterSet::getParameter(), killDeadChannels_, logWarningEtThreshold_EB_FE_, logWarningEtThreshold_EE_FE_, rechitMaker_, recoverEBFE_, recoverEBIsolatedChannels_, recoverEBVFE_, recoverEEFE_, recoverEEIsolatedChannels_, recoverEEVFE_, EcalDeadChannelRecoveryAlgos< DetIdT >::setParameters(), singleRecoveryMethod_, singleRecoveryThreshold_, AlCaHLTBitMon_QueryRunRegistry::string, sum8RecoveryThreshold_, and tpDigiToken_.
|
inlineoverride |
Definition at line 33 of file EcalRecHitWorkerRecover.h.
References alreadyInserted(), checkChannelStatus(), universalConfigTemplate::collection, HCALHighEnergyHPDFilter_cfi::energy, estimateEnergy(), hfClusterShapes_cfi::hits, LEDCalibrationChannels::ieta, insertRecHit(), recCheckCalib(), mps_fire::result, and run().
|
protected |
Definition at line 407 of file EcalRecHitWorkerRecover.cc.
References EcalBarrel, EcalEndcap, recoveredDetIds_EB_, and recoveredDetIds_EE_.
Referenced by insertRecHit(), run(), and ~EcalRecHitWorkerRecover().
|
protected |
Definition at line 426 of file EcalRecHitWorkerRecover.cc.
References chStatus_, DEFINE_EDM_PLUGIN, and mps_update::status.
Referenced by run(), and ~EcalRecHitWorkerRecover().
|
protected |
Definition at line 356 of file EcalRecHitWorkerRecover.cc.
References KineDebug3::count(), HCALHighEnergyHPDFilter_cfi::energy, PVValHelper::eta, PV3DBase< T, PVType, FrameType >::eta(), edm::SortedCollection< T, SORT >::find(), dqmMemoryStats::float, geo_, CaloGeometry::getPosition(), EcalTPGScale::getTPGInGeV(), packedPFCandidateRefMixer_cfi::pf, EcalTrigTowerConstituentsMap::towerOf(), tpgscale_, and ttMap_.
Referenced by run(), and ~EcalRecHitWorkerRecover().
|
protected |
Definition at line 384 of file EcalRecHitWorkerRecover.cc.
References alreadyInserted(), EcalBarrel, EcalEndcap, edm::SortedCollection< T, SORT >::end(), edm::SortedCollection< T, SORT >::find(), EcalRecHit::id(), edm::SortedCollection< T, SORT >::push_back(), DetId::rawId(), recoveredDetIds_EB_, recoveredDetIds_EE_, and DetId::subdetId().
Referenced by run(), and ~EcalRecHitWorkerRecover().
|
protected |
Definition at line 421 of file EcalRecHitWorkerRecover.cc.
Referenced by ~EcalRecHitWorkerRecover().
|
overridevirtual |
Implements EcalRecHitWorkerBaseClass.
Definition at line 67 of file EcalRecHitWorkerRecover.cc.
References alreadyInserted(), caloTopology_, checkChannelStatus(), EcalTrigTowerConstituentsMap::constituentsOf(), EcalDeadChannelRecoveryAlgos< DetIdT >::correct(), dbStatusToBeExcludedEB_, dbStatusToBeExcludedEE_, PVValHelper::dx, PVValHelper::dy, EcalRecHitWorkerBaseClass::EB_FE, EcalRecHitWorkerBaseClass::EB_single, EcalRecHitWorkerBaseClass::EB_VFE, ebDeadChannelCorrector, ebGeom_, ecalScale_, EcalRecHitWorkerBaseClass::EE_FE, EcalRecHitWorkerBaseClass::EE_single, EcalRecHitWorkerBaseClass::EE_VFE, eeDeadChannelCorrector, edm::SortedCollection< T, SORT >::end(), HCALHighEnergyHPDFilter_cfi::energy, EcalRecHit::energy(), estimateEnergy(), PVValHelper::eta, PV3DBase< T, PVType, FrameType >::eta(), edm::SortedCollection< T, SORT >::find(), EcalUncalibratedRecHit::flags(), HLT_2018_cff::flags, geo_, edm::Event::getByToken(), CaloSubdetectorGeometry::getGeometry(), CaloGeometry::getPosition(), EcalTPGScale::getTPGInGeV(), hfClusterShapes_cfi::hits, mps_fire::i, triggerObjects_cff::id, EcalUncalibratedRecHit::id(), insertRecHit(), EcalScDetId::ix(), EEDetId::ix(), EcalScDetId::iy(), EEDetId::iy(), dqmiolumiharvest::j, EcalRecHit::kDead, killDeadChannels_, EcalRecHit::kL1SpikeFlag, EcalRecHit::kNeighboursRecovered, EcalRecHit::kTowerRecovered, EcalRecHit::kTPSaturated, logWarningEtThreshold_EB_FE_, logWarningEtThreshold_EE_FE_, packedPFCandidateRefMixer_cfi::pf, edm::Handle< T >::product(), edm::ESHandle< T >::product(), recoverEBFE_, recoverEBIsolatedChannels_, recoverEBVFE_, recoverEEFE_, recoverEEIsolatedChannels_, recoverEEVFE_, mps_fire::result, SimDataFormats::CaloAnalysis::sc, EcalDeadChannelRecoveryAlgos< DetIdT >::setCaloTopology(), EcalRecHit::setFlag(), funct::sin(), singleRecoveryMethod_, singleRecoveryThreshold_, sum8RecoveryThreshold_, theta(), hgcalTowerProducer_cfi::tower, EcalTrigTowerConstituentsMap::towerOf(), tpDigiToken_, ttMap_, findQualityFiles::v, EEDetId::validDetId(), EcalScDetId::zside(), EEDetId::zside(), and ecaldqm::zside().
Referenced by ~EcalRecHitWorkerRecover().
|
overridevirtual |
Implements EcalRecHitWorkerBaseClass.
Definition at line 49 of file EcalRecHitWorkerRecover.cc.
References caloGeometry_, caloTopology_, chStatus_, ebGeom_, ecalMapping_, ecalScale_, geo_, edm::EventSetup::get(), laser, pEBGeom_, pEcalMapping_, edm::ESHandle< T >::product(), recoveredDetIds_EB_, recoveredDetIds_EE_, EcalTPGScale::setEventSetup(), tpgscale_, and ttMap_.
|
protected |
Definition at line 49 of file EcalRecHitWorkerRecover.h.
Referenced by set().
|
protected |
Definition at line 48 of file EcalRecHitWorkerRecover.h.
|
protected |
Definition at line 50 of file EcalRecHitWorkerRecover.h.
Referenced by checkChannelStatus(), and set().
|
protected |
Definition at line 67 of file EcalRecHitWorkerRecover.h.
Referenced by EcalRecHitWorkerRecover(), and run().
|
protected |
Definition at line 66 of file EcalRecHitWorkerRecover.h.
Referenced by EcalRecHitWorkerRecover(), and run().
|
protected |
Definition at line 90 of file EcalRecHitWorkerRecover.h.
Referenced by EcalRecHitWorkerRecover(), and run().
|
protected |
Definition at line 80 of file EcalRecHitWorkerRecover.h.
|
protected |
Definition at line 73 of file EcalRecHitWorkerRecover.h.
Referenced by set().
|
protected |
Definition at line 70 of file EcalRecHitWorkerRecover.h.
|
protected |
Definition at line 91 of file EcalRecHitWorkerRecover.h.
Referenced by run().
|
protected |
Definition at line 81 of file EcalRecHitWorkerRecover.h.
Referenced by estimateEnergy(), run(), and set().
|
protected |
Definition at line 55 of file EcalRecHitWorkerRecover.h.
Referenced by EcalRecHitWorkerRecover(), and run().
|
protected |
Definition at line 45 of file EcalRecHitWorkerRecover.h.
Referenced by set().
|
protected |
Definition at line 74 of file EcalRecHitWorkerRecover.h.
Referenced by EcalRecHitWorkerRecover(), and run().
|
protected |
Definition at line 75 of file EcalRecHitWorkerRecover.h.
Referenced by EcalRecHitWorkerRecover(), and run().
|
protected |
Definition at line 79 of file EcalRecHitWorkerRecover.h.
Referenced by set().
|
protected |
Definition at line 72 of file EcalRecHitWorkerRecover.h.
Referenced by set().
|
protected |
Definition at line 83 of file EcalRecHitWorkerRecover.h.
Referenced by EcalRecHitWorkerRecover().
|
protected |
Definition at line 61 of file EcalRecHitWorkerRecover.h.
Referenced by EcalRecHitWorkerRecover(), and run().
|
protected |
Definition at line 57 of file EcalRecHitWorkerRecover.h.
Referenced by EcalRecHitWorkerRecover(), and run().
|
protected |
Definition at line 59 of file EcalRecHitWorkerRecover.h.
Referenced by EcalRecHitWorkerRecover(), and run().
|
protected |
Definition at line 85 of file EcalRecHitWorkerRecover.h.
Referenced by alreadyInserted(), insertRecHit(), and set().
|
protected |
Definition at line 86 of file EcalRecHitWorkerRecover.h.
Referenced by alreadyInserted(), insertRecHit(), and set().
|
protected |
Definition at line 62 of file EcalRecHitWorkerRecover.h.
Referenced by EcalRecHitWorkerRecover(), and run().
|
protected |
Definition at line 58 of file EcalRecHitWorkerRecover.h.
Referenced by EcalRecHitWorkerRecover(), and run().
|
protected |
Definition at line 60 of file EcalRecHitWorkerRecover.h.
Referenced by EcalRecHitWorkerRecover(), and run().
|
protected |
Definition at line 54 of file EcalRecHitWorkerRecover.h.
Referenced by EcalRecHitWorkerRecover(), and run().
|
protected |
Definition at line 52 of file EcalRecHitWorkerRecover.h.
Referenced by EcalRecHitWorkerRecover(), and run().
|
protected |
Definition at line 53 of file EcalRecHitWorkerRecover.h.
Referenced by EcalRecHitWorkerRecover(), and run().
|
protected |
Definition at line 71 of file EcalRecHitWorkerRecover.h.
Referenced by EcalRecHitWorkerRecover(), and run().
|
protected |
Definition at line 88 of file EcalRecHitWorkerRecover.h.
Referenced by estimateEnergy(), and set().
|
protected |
Definition at line 77 of file EcalRecHitWorkerRecover.h.
Referenced by estimateEnergy(), run(), and set().