#include <EcalRecHitWorkerRecover.h>
Public Member Functions | |
EcalRecHitWorkerRecover (const edm::ParameterSet &, edm::ConsumesCollector &c) | |
bool | run (const edm::Event &evt, const EcalUncalibratedRecHit &uncalibRH, EcalRecHitCollection &result) |
void | set (const edm::EventSetup &es) |
virtual | ~EcalRecHitWorkerRecover () |
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 22 of file EcalRecHitWorkerRecover.cc.
References edm::ConsumesCollector::consumes(), dbStatusToBeExcludedEB_, dbStatusToBeExcludedEE_, edm::ParameterSet::getParameter(), killDeadChannels_, logWarningEtThreshold_EB_FE_, logWarningEtThreshold_EE_FE_, rechitMaker_, recoverEBFE_, recoverEBIsolatedChannels_, recoverEBVFE_, recoverEEFE_, recoverEEIsolatedChannels_, recoverEEVFE_, singleRecoveryMethod_, singleRecoveryThreshold_, AlCaHLTBitMon_QueryRunRegistry::string, and tpDigiToken_.
|
inlinevirtual |
Definition at line 33 of file EcalRecHitWorkerRecover.h.
References alreadyInserted(), checkChannelStatus(), mps_alisetup::collection, estimateEnergy(), hfClusterShapes_cfi::hits, 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 431 of file EcalRecHitWorkerRecover.cc.
References chStatus_, DEFINE_EDM_PLUGIN, and mps_update::status.
Referenced by run(), and ~EcalRecHitWorkerRecover().
|
protected |
Definition at line 353 of file EcalRecHitWorkerRecover.cc.
References KineDebug3::count(), stringResolutionProvider_cfi::eta, PV3DBase< T, PVType, FrameType >::eta(), edm::SortedCollection< T, SORT >::find(), objects.autophobj::float, geo_, CaloGeometry::getPosition(), EcalTPGScale::getTPGInGeV(), packedPFCandidateRefMixer_cfi::pf, EcalTrigTowerConstituentsMap::towerOf(), tpgscale_, and ttMap_.
Referenced by run(), and ~EcalRecHitWorkerRecover().
|
protected |
Definition at line 382 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 422 of file EcalRecHitWorkerRecover.cc.
Referenced by ~EcalRecHitWorkerRecover().
|
virtual |
Implements EcalRecHitWorkerBaseClass.
Definition at line 70 of file EcalRecHitWorkerRecover.cc.
References alreadyInserted(), caloTopology_, checkChannelStatus(), EcalTrigTowerConstituentsMap::constituentsOf(), EcalDeadChannelRecoveryAlgos< DetIdT >::correct(), dbStatusToBeExcludedEB_, dbStatusToBeExcludedEE_, 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(), EcalRecHit::energy(), estimateEnergy(), stringResolutionProvider_cfi::eta, PV3DBase< T, PVType, FrameType >::eta(), edm::SortedCollection< T, SORT >::find(), EcalUncalibratedRecHit::flags(), flags, geo_, edm::Event::getByToken(), CaloSubdetectorGeometry::getGeometry(), CaloGeometry::getPosition(), CaloCellGeometry::getPosition(), EcalTPGScale::getTPGInGeV(), hfClusterShapes_cfi::hits, mps_fire::i, hcalTTPDigis_cfi::id, EcalUncalibratedRecHit::id(), insertRecHit(), EcalScDetId::ix(), EEDetId::ix(), EcalScDetId::iy(), EEDetId::iy(), 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_, PV3DBase< T, PVType, FrameType >::theta(), theta(), EcalTrigTowerConstituentsMap::towerOf(), tpDigiToken_, funct::true, ttMap_, findQualityFiles::v, EEDetId::validDetId(), HcalDigiParam_cfi::zside, EcalScDetId::zside(), and EEDetId::zside().
Referenced by ~EcalRecHitWorkerRecover().
|
virtual |
Implements EcalRecHitWorkerBaseClass.
Definition at line 48 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 53 of file EcalRecHitWorkerRecover.h.
Referenced by set().
|
protected |
Definition at line 52 of file EcalRecHitWorkerRecover.h.
|
protected |
Definition at line 54 of file EcalRecHitWorkerRecover.h.
Referenced by checkChannelStatus(), and set().
|
protected |
Definition at line 71 of file EcalRecHitWorkerRecover.h.
Referenced by EcalRecHitWorkerRecover(), and run().
|
protected |
Definition at line 70 of file EcalRecHitWorkerRecover.h.
Referenced by EcalRecHitWorkerRecover(), and run().
|
protected |
Definition at line 94 of file EcalRecHitWorkerRecover.h.
Referenced by run().
|
protected |
Definition at line 84 of file EcalRecHitWorkerRecover.h.
|
protected |
Definition at line 77 of file EcalRecHitWorkerRecover.h.
Referenced by set().
|
protected |
Definition at line 74 of file EcalRecHitWorkerRecover.h.
|
protected |
Definition at line 95 of file EcalRecHitWorkerRecover.h.
Referenced by run().
|
protected |
Definition at line 85 of file EcalRecHitWorkerRecover.h.
Referenced by estimateEnergy(), run(), and set().
|
protected |
Definition at line 59 of file EcalRecHitWorkerRecover.h.
Referenced by EcalRecHitWorkerRecover(), and run().
|
protected |
Definition at line 49 of file EcalRecHitWorkerRecover.h.
Referenced by set().
|
protected |
Definition at line 78 of file EcalRecHitWorkerRecover.h.
Referenced by EcalRecHitWorkerRecover(), and run().
|
protected |
Definition at line 79 of file EcalRecHitWorkerRecover.h.
Referenced by EcalRecHitWorkerRecover(), and run().
|
protected |
Definition at line 83 of file EcalRecHitWorkerRecover.h.
Referenced by set().
|
protected |
Definition at line 76 of file EcalRecHitWorkerRecover.h.
Referenced by set().
|
protected |
Definition at line 87 of file EcalRecHitWorkerRecover.h.
Referenced by EcalRecHitWorkerRecover().
|
protected |
Definition at line 65 of file EcalRecHitWorkerRecover.h.
Referenced by EcalRecHitWorkerRecover(), and run().
|
protected |
Definition at line 61 of file EcalRecHitWorkerRecover.h.
Referenced by EcalRecHitWorkerRecover(), and run().
|
protected |
Definition at line 63 of file EcalRecHitWorkerRecover.h.
Referenced by EcalRecHitWorkerRecover(), and run().
|
protected |
Definition at line 89 of file EcalRecHitWorkerRecover.h.
Referenced by alreadyInserted(), insertRecHit(), and set().
|
protected |
Definition at line 90 of file EcalRecHitWorkerRecover.h.
Referenced by alreadyInserted(), insertRecHit(), and set().
|
protected |
Definition at line 66 of file EcalRecHitWorkerRecover.h.
Referenced by EcalRecHitWorkerRecover(), and run().
|
protected |
Definition at line 62 of file EcalRecHitWorkerRecover.h.
Referenced by EcalRecHitWorkerRecover(), and run().
|
protected |
Definition at line 64 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 57 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 92 of file EcalRecHitWorkerRecover.h.
Referenced by estimateEnergy(), and set().
|
protected |
Definition at line 81 of file EcalRecHitWorkerRecover.h.
Referenced by estimateEnergy(), run(), and set().