#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.
|
protected |
Definition at line 410 of file EcalRecHitWorkerRecover.cc.
References EcalBarrel, EcalEndcap, recoveredDetIds_EB_, and recoveredDetIds_EE_.
Referenced by insertRecHit(), and run().
|
protected |
Definition at line 434 of file EcalRecHitWorkerRecover.cc.
References chStatus_, and mps_update::status.
Referenced by run().
|
protected |
Definition at line 356 of file EcalRecHitWorkerRecover.cc.
References KineDebug3::count(), relval_parameters_module::energy, eta, PV3DBase< T, PVType, FrameType >::eta(), edm::SortedCollection< T, SORT >::find(), geo_, CaloGeometry::getPosition(), EcalTPGScale::getTPGInGeV(), tpgscale_, and ttMap_.
Referenced by run().
|
protected |
Definition at line 385 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().
|
protected |
Definition at line 425 of file EcalRecHitWorkerRecover.cc.
|
virtual |
Implements EcalRecHitWorkerBaseClass.
Definition at line 72 of file EcalRecHitWorkerRecover.cc.
References alreadyInserted(), caloTopology_, checkChannelStatus(), 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(), relval_parameters_module::energy, EcalRecHit::energy(), estimateEnergy(), 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(), i, EcalUncalibratedRecHit::id(), insertRecHit(), EcalScDetId::ix(), EEDetId::ix(), EcalScDetId::iy(), EEDetId::iy(), j, EcalRecHit::kDead, killDeadChannels_, EcalRecHit::kL1SpikeFlag, EcalRecHit::kNeighboursRecovered, EcalRecHit::kTowerRecovered, EcalRecHit::kTPSaturated, logWarningEtThreshold_EB_FE_, logWarningEtThreshold_EE_FE_, edm::Handle< T >::product(), edm::ESHandle< class >::product(), recoverEBFE_, recoverEBIsolatedChannels_, recoverEBVFE_, recoverEEFE_, recoverEEIsolatedChannels_, recoverEEVFE_, mps_fire::result, EcalDeadChannelRecoveryAlgos< DetIdT >::setCaloTopology(), EcalRecHit::setFlag(), funct::sin(), singleRecoveryMethod_, singleRecoveryThreshold_, PV3DBase< T, PVType, FrameType >::theta(), theta(), tpDigiToken_, funct::true, ttMap_, findQualityFiles::v, EEDetId::validDetId(), EcalScDetId::zside(), EEDetId::zside(), and ecaldqm::zside().
|
virtual |
Implements EcalRecHitWorkerBaseClass.
Definition at line 48 of file EcalRecHitWorkerRecover.cc.
References caloGeometry_, caloTopology_, chStatus_, ebGeom_, ecalMapping_, ecalScale_, eeGeom_, geo_, edm::EventSetup::get(), laser, pEBGeom_, pEcalMapping_, pEEGeom_, edm::ESHandle< class >::product(), recoveredDetIds_EB_, recoveredDetIds_EE_, EcalTPGScale::setEventSetup(), tpgscale_, and ttMap_.
Referenced by betterConfigParser.BetterConfigParser::getGeneral().
|
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 96 of file EcalRecHitWorkerRecover.h.
Referenced by run().
|
protected |
Definition at line 85 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 97 of file EcalRecHitWorkerRecover.h.
Referenced by run().
|
protected |
Definition at line 86 of file EcalRecHitWorkerRecover.h.
Referenced by set().
|
protected |
Definition at line 87 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 84 of file EcalRecHitWorkerRecover.h.
Referenced by set().
|
protected |
Definition at line 89 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 91 of file EcalRecHitWorkerRecover.h.
Referenced by alreadyInserted(), insertRecHit(), and set().
|
protected |
Definition at line 92 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 94 of file EcalRecHitWorkerRecover.h.
Referenced by estimateEnergy(), and set().
|
protected |
Definition at line 81 of file EcalRecHitWorkerRecover.h.
Referenced by estimateEnergy(), run(), and set().