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 |
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, const EcalTPGScale &tpgscale) |
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 38 of file EcalRecHitWorkerRecover.cc.
EcalRecHitWorkerRecover::EcalRecHitWorkerRecover | ( | const edm::ParameterSet & | ps, |
edm::ConsumesCollector & | c | ||
) |
Definition at line 112 of file EcalRecHitWorkerRecover.cc.
References DummyCfis::c, caloGeometryToken_, caloTopologyToken_, chStatusToken_, dbStatusToBeExcludedEB_, dbStatusToBeExcludedEE_, ebDeadChannelCorrector, ecal_dqm_sourceclient-live_cfg::EcalLaserDbService, edm::ParameterSet::getParameter(), killDeadChannels_, laserToken_, logWarningEtThreshold_EB_FE_, logWarningEtThreshold_EE_FE_, pEBGeomToken_, pEcalMappingToken_, rechitMaker_, recoverEBFE_, recoverEBIsolatedChannels_, recoverEBVFE_, recoverEEFE_, recoverEEIsolatedChannels_, recoverEEVFE_, EcalDeadChannelRecoveryAlgos< DetIdT >::setParameters(), singleRecoveryMethod_, singleRecoveryThreshold_, AlCaHLTBitMon_QueryRunRegistry::string, sum8RecoveryThreshold_, tpDigiToken_, and ttMapToken_.
|
protected |
Definition at line 509 of file EcalRecHitWorkerRecover.cc.
References EcalBarrel, EcalEndcap, recoveredDetIds_EB_, and recoveredDetIds_EE_.
Referenced by insertRecHit(), and run().
|
protected |
Definition at line 528 of file EcalRecHitWorkerRecover.cc.
References chStatus_, and mps_update::status.
Referenced by run().
|
protected |
Definition at line 457 of file EcalRecHitWorkerRecover.cc.
References submitPVResolutionJobs::count, hcalRecHitTable_cff::energy, PVValHelper::eta, PV3DBase< T, PVType, FrameType >::eta(), nano_mu_digi_cff::float, geo_, CaloGeometry::getPosition(), EcalTPGScale::getTPGInGeV(), hfClusterShapes_cfi::hits, hcalRecHitTable_cff::ieta, packedPFCandidateRefMixer_cfi::pf, EcalTrigTowerConstituentsMap::towerOf(), and ttMap_.
Referenced by run().
|
protected |
Definition at line 486 of file EcalRecHitWorkerRecover.cc.
References alreadyInserted(), universalConfigTemplate::collection, EcalBarrel, EcalEndcap, hit::id, ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, recoveredDetIds_EB_, and recoveredDetIds_EE_.
Referenced by run().
|
protected |
Definition at line 523 of file EcalRecHitWorkerRecover.cc.
|
overridevirtual |
Implements EcalRecHitWorkerBaseClass.
Definition at line 164 of file EcalRecHitWorkerRecover.cc.
References alreadyInserted(), caloTopology_, checkChannelStatus(), EcalTrigTowerConstituentsMap::constituentsOf(), EcalDeadChannelRecoveryAlgos< DetIdT >::correct(), dbStatusToBeExcludedEB_, dbStatusToBeExcludedEE_, hcalRecHitTable_cff::detId, PVValHelper::dx, PVValHelper::dy, EcalRecHitWorkerBaseClass::EB_FE, EcalRecHitWorkerBaseClass::EB_single, EcalRecHitWorkerBaseClass::EB_VFE, ebDeadChannelCorrector, ebGeom_, ecalScaleTokens_, EcalRecHitWorkerBaseClass::EE_FE, EcalRecHitWorkerBaseClass::EE_single, EcalRecHitWorkerBaseClass::EE_VFE, eeDeadChannelCorrector, edm::SortedCollection< T, SORT >::end(), hcalRecHitTable_cff::energy, estimateEnergy(), PVValHelper::eta, PV3DBase< T, PVType, FrameType >::eta(), eventSetup_, edm::SortedCollection< T, SORT >::find(), EcalUncalibratedRecHit::flags(), HLT_2024v14_cff::flags, geo_, edm::Event::getByToken(), CaloSubdetectorGeometry::getGeometry(), CaloGeometry::getPosition(), EcalTPGScale::getTPGInGeV(), hfClusterShapes_cfi::hits, mps_fire::i, EcalUncalibratedRecHit::id(), l1ctLayer2EG_cff::id, insertRecHit(), ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, EcalScDetId::ix(), EEDetId::ix(), ALPAKA_ACCELERATOR_NAMESPACE::ecal::reconstruction::internal::endcap::ix(), EcalScDetId::iy(), EEDetId::iy(), ALPAKA_ACCELERATOR_NAMESPACE::ecal::reconstruction::internal::endcap::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, EcalDeadChannelRecoveryAlgos< DetIdT >::setCaloTopology(), funct::sin(), singleRecoveryMethod_, singleRecoveryThreshold_, sum8RecoveryThreshold_, theta(), l1tHGCalTowerProducer_cfi::tower, EcalTrigTowerConstituentsMap::towerOf(), cmsswSequenceInfo::tp, tpDigiToken_, tpgscaleTokens_, ttMap_, findQualityFiles::v, EEDetId::validDetId(), EcalScDetId::zside(), EEDetId::zside(), and ecaldqm::zside().
|
overridevirtual |
Implements EcalRecHitWorkerBaseClass.
Definition at line 147 of file EcalRecHitWorkerRecover.cc.
References caloGeometry_, caloGeometryToken_, caloTopology_, caloTopologyToken_, chStatus_, chStatusToken_, ebGeom_, ecalMapping_, eventSetup_, geo_, edm::EventSetup::getHandle(), laser, laserToken_, pEBGeom_, pEBGeomToken_, pEcalMapping_, pEcalMappingToken_, edm::ESHandle< T >::product(), recoveredDetIds_EB_, recoveredDetIds_EE_, ttMap_, and ttMapToken_.
|
protected |
Definition at line 61 of file EcalRecHitWorkerRecover.cc.
Referenced by set().
|
protected |
Definition at line 64 of file EcalRecHitWorkerRecover.cc.
Referenced by EcalRecHitWorkerRecover(), and set().
|
protected |
Definition at line 60 of file EcalRecHitWorkerRecover.cc.
|
protected |
Definition at line 63 of file EcalRecHitWorkerRecover.cc.
Referenced by EcalRecHitWorkerRecover(), and set().
|
protected |
Definition at line 62 of file EcalRecHitWorkerRecover.cc.
Referenced by checkChannelStatus(), and set().
|
protected |
Definition at line 65 of file EcalRecHitWorkerRecover.cc.
Referenced by EcalRecHitWorkerRecover(), and set().
|
protected |
Definition at line 82 of file EcalRecHitWorkerRecover.cc.
Referenced by EcalRecHitWorkerRecover(), and run().
|
protected |
Definition at line 81 of file EcalRecHitWorkerRecover.cc.
Referenced by EcalRecHitWorkerRecover(), and run().
|
protected |
Definition at line 108 of file EcalRecHitWorkerRecover.cc.
Referenced by EcalRecHitWorkerRecover(), and run().
|
protected |
Definition at line 96 of file EcalRecHitWorkerRecover.cc.
|
protected |
Definition at line 89 of file EcalRecHitWorkerRecover.cc.
Referenced by set().
|
protected |
Definition at line 86 of file EcalRecHitWorkerRecover.cc.
Referenced by run().
|
protected |
Definition at line 109 of file EcalRecHitWorkerRecover.cc.
Referenced by run().
|
protected |
Definition at line 84 of file EcalRecHitWorkerRecover.cc.
|
protected |
Definition at line 97 of file EcalRecHitWorkerRecover.cc.
Referenced by estimateEnergy(), run(), and set().
|
protected |
Definition at line 70 of file EcalRecHitWorkerRecover.cc.
Referenced by EcalRecHitWorkerRecover(), and run().
|
protected |
Definition at line 56 of file EcalRecHitWorkerRecover.cc.
Referenced by set().
|
protected |
Definition at line 57 of file EcalRecHitWorkerRecover.cc.
Referenced by EcalRecHitWorkerRecover(), and set().
|
protected |
Definition at line 90 of file EcalRecHitWorkerRecover.cc.
Referenced by EcalRecHitWorkerRecover(), and run().
|
protected |
Definition at line 91 of file EcalRecHitWorkerRecover.cc.
Referenced by EcalRecHitWorkerRecover(), and run().
|
protected |
Definition at line 95 of file EcalRecHitWorkerRecover.cc.
Referenced by set().
|
protected |
Definition at line 100 of file EcalRecHitWorkerRecover.cc.
Referenced by EcalRecHitWorkerRecover(), and set().
|
protected |
Definition at line 88 of file EcalRecHitWorkerRecover.cc.
Referenced by set().
|
protected |
Definition at line 98 of file EcalRecHitWorkerRecover.cc.
Referenced by EcalRecHitWorkerRecover(), and set().
|
protected |
Definition at line 101 of file EcalRecHitWorkerRecover.cc.
Referenced by EcalRecHitWorkerRecover().
|
protected |
Definition at line 76 of file EcalRecHitWorkerRecover.cc.
Referenced by EcalRecHitWorkerRecover(), and run().
|
protected |
Definition at line 72 of file EcalRecHitWorkerRecover.cc.
Referenced by EcalRecHitWorkerRecover(), and run().
|
protected |
Definition at line 74 of file EcalRecHitWorkerRecover.cc.
Referenced by EcalRecHitWorkerRecover(), and run().
|
protected |
Definition at line 103 of file EcalRecHitWorkerRecover.cc.
Referenced by alreadyInserted(), insertRecHit(), and set().
|
protected |
Definition at line 104 of file EcalRecHitWorkerRecover.cc.
Referenced by alreadyInserted(), insertRecHit(), and set().
|
protected |
Definition at line 77 of file EcalRecHitWorkerRecover.cc.
Referenced by EcalRecHitWorkerRecover(), and run().
|
protected |
Definition at line 73 of file EcalRecHitWorkerRecover.cc.
Referenced by EcalRecHitWorkerRecover(), and run().
|
protected |
Definition at line 75 of file EcalRecHitWorkerRecover.cc.
Referenced by EcalRecHitWorkerRecover(), and run().
|
protected |
Definition at line 69 of file EcalRecHitWorkerRecover.cc.
Referenced by EcalRecHitWorkerRecover(), and run().
|
protected |
Definition at line 67 of file EcalRecHitWorkerRecover.cc.
Referenced by EcalRecHitWorkerRecover(), and run().
|
protected |
Definition at line 68 of file EcalRecHitWorkerRecover.cc.
Referenced by EcalRecHitWorkerRecover(), and run().
|
protected |
Definition at line 87 of file EcalRecHitWorkerRecover.cc.
Referenced by EcalRecHitWorkerRecover(), and run().
|
protected |
Definition at line 106 of file EcalRecHitWorkerRecover.cc.
Referenced by run().
|
protected |
Definition at line 93 of file EcalRecHitWorkerRecover.cc.
Referenced by estimateEnergy(), run(), and set().
|
protected |
Definition at line 99 of file EcalRecHitWorkerRecover.cc.
Referenced by EcalRecHitWorkerRecover(), and set().