#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 &) | |
EcalRecHitWorkerBaseClass (const edm::ParameterSet &, edm::ConsumesCollector &c) | |
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 36 of file EcalRecHitWorkerRecover.h.
EcalRecHitWorkerRecover::EcalRecHitWorkerRecover | ( | const edm::ParameterSet & | ps, |
edm::ConsumesCollector & | c | ||
) |
Definition at line 17 of file EcalRecHitWorkerRecover.cc.
References 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_.
|
inlineoverride |
Definition at line 39 of file EcalRecHitWorkerRecover.h.
|
protected |
Definition at line 414 of file EcalRecHitWorkerRecover.cc.
References EcalBarrel, EcalEndcap, recoveredDetIds_EB_, and recoveredDetIds_EE_.
Referenced by insertRecHit(), and run().
|
protected |
Definition at line 433 of file EcalRecHitWorkerRecover.cc.
References chStatus_, and mps_update::status.
Referenced by run().
|
protected |
Definition at line 362 of file EcalRecHitWorkerRecover.cc.
References submitPVResolutionJobs::count, HCALHighEnergyHPDFilter_cfi::energy, PVValHelper::eta, PV3DBase< T, PVType, FrameType >::eta(), dqmMemoryStats::float, geo_, CaloGeometry::getPosition(), EcalTPGScale::getTPGInGeV(), hfClusterShapes_cfi::hits, LEDCalibrationChannels::ieta, packedPFCandidateRefMixer_cfi::pf, EcalTrigTowerConstituentsMap::towerOf(), and ttMap_.
Referenced by run().
|
protected |
Definition at line 391 of file EcalRecHitWorkerRecover.cc.
References alreadyInserted(), universalConfigTemplate::collection, EcalBarrel, EcalEndcap, hit::id, recoveredDetIds_EB_, and recoveredDetIds_EE_.
Referenced by run().
|
protected |
Definition at line 428 of file EcalRecHitWorkerRecover.cc.
|
overridevirtual |
Implements EcalRecHitWorkerBaseClass.
Definition at line 69 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_, ecalScaleTokens_, EcalRecHitWorkerBaseClass::EE_FE, EcalRecHitWorkerBaseClass::EE_single, EcalRecHitWorkerBaseClass::EE_VFE, eeDeadChannelCorrector, edm::SortedCollection< T, SORT >::end(), HCALHighEnergyHPDFilter_cfi::energy, estimateEnergy(), PVValHelper::eta, PV3DBase< T, PVType, FrameType >::eta(), eventSetup_, edm::SortedCollection< T, SORT >::find(), EcalUncalibratedRecHit::flags(), HLT_FULL_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, EcalDeadChannelRecoveryAlgos< DetIdT >::setCaloTopology(), funct::sin(), singleRecoveryMethod_, singleRecoveryThreshold_, sum8RecoveryThreshold_, theta(), hgcalTowerProducer_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 52 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 60 of file EcalRecHitWorkerRecover.h.
Referenced by set().
|
protected |
Definition at line 63 of file EcalRecHitWorkerRecover.h.
Referenced by EcalRecHitWorkerRecover(), and set().
|
protected |
Definition at line 59 of file EcalRecHitWorkerRecover.h.
|
protected |
Definition at line 62 of file EcalRecHitWorkerRecover.h.
Referenced by EcalRecHitWorkerRecover(), and set().
|
protected |
Definition at line 61 of file EcalRecHitWorkerRecover.h.
Referenced by checkChannelStatus(), and set().
|
protected |
Definition at line 64 of file EcalRecHitWorkerRecover.h.
Referenced by EcalRecHitWorkerRecover(), and set().
|
protected |
Definition at line 81 of file EcalRecHitWorkerRecover.h.
Referenced by EcalRecHitWorkerRecover(), and run().
|
protected |
Definition at line 80 of file EcalRecHitWorkerRecover.h.
Referenced by EcalRecHitWorkerRecover(), and run().
|
protected |
Definition at line 107 of file EcalRecHitWorkerRecover.h.
Referenced by EcalRecHitWorkerRecover(), and run().
|
protected |
Definition at line 95 of file EcalRecHitWorkerRecover.h.
|
protected |
Definition at line 88 of file EcalRecHitWorkerRecover.h.
Referenced by set().
|
protected |
Definition at line 85 of file EcalRecHitWorkerRecover.h.
Referenced by run().
|
protected |
Definition at line 108 of file EcalRecHitWorkerRecover.h.
Referenced by run().
|
protected |
Definition at line 83 of file EcalRecHitWorkerRecover.h.
|
protected |
Definition at line 96 of file EcalRecHitWorkerRecover.h.
Referenced by estimateEnergy(), run(), and set().
|
protected |
Definition at line 69 of file EcalRecHitWorkerRecover.h.
Referenced by EcalRecHitWorkerRecover(), and run().
|
protected |
Definition at line 55 of file EcalRecHitWorkerRecover.h.
Referenced by set().
|
protected |
Definition at line 56 of file EcalRecHitWorkerRecover.h.
Referenced by EcalRecHitWorkerRecover(), and set().
|
protected |
Definition at line 89 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 94 of file EcalRecHitWorkerRecover.h.
Referenced by set().
|
protected |
Definition at line 99 of file EcalRecHitWorkerRecover.h.
Referenced by EcalRecHitWorkerRecover(), and set().
|
protected |
Definition at line 87 of file EcalRecHitWorkerRecover.h.
Referenced by set().
|
protected |
Definition at line 97 of file EcalRecHitWorkerRecover.h.
Referenced by EcalRecHitWorkerRecover(), and set().
|
protected |
Definition at line 100 of file EcalRecHitWorkerRecover.h.
Referenced by EcalRecHitWorkerRecover().
|
protected |
Definition at line 75 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 73 of file EcalRecHitWorkerRecover.h.
Referenced by EcalRecHitWorkerRecover(), and run().
|
protected |
Definition at line 102 of file EcalRecHitWorkerRecover.h.
Referenced by alreadyInserted(), insertRecHit(), and set().
|
protected |
Definition at line 103 of file EcalRecHitWorkerRecover.h.
Referenced by alreadyInserted(), insertRecHit(), and set().
|
protected |
Definition at line 76 of file EcalRecHitWorkerRecover.h.
Referenced by EcalRecHitWorkerRecover(), and run().
|
protected |
Definition at line 72 of file EcalRecHitWorkerRecover.h.
Referenced by EcalRecHitWorkerRecover(), and run().
|
protected |
Definition at line 74 of file EcalRecHitWorkerRecover.h.
Referenced by EcalRecHitWorkerRecover(), and run().
|
protected |
Definition at line 68 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 67 of file EcalRecHitWorkerRecover.h.
Referenced by EcalRecHitWorkerRecover(), and run().
|
protected |
Definition at line 86 of file EcalRecHitWorkerRecover.h.
Referenced by EcalRecHitWorkerRecover(), and run().
|
protected |
Definition at line 105 of file EcalRecHitWorkerRecover.h.
Referenced by run().
|
protected |
Definition at line 92 of file EcalRecHitWorkerRecover.h.
Referenced by estimateEnergy(), run(), and set().
|
protected |
Definition at line 98 of file EcalRecHitWorkerRecover.h.
Referenced by EcalRecHitWorkerRecover(), and set().