#include <EcalRecHitWorkerRecover.h>
Public Member Functions | |
EcalRecHitWorkerRecover (const edm::ParameterSet &) | |
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 &) | |
virtual | ~EcalRecHitWorkerBaseClass () |
Protected Member Functions | |
bool | alreadyInserted (const DetId &id) |
float | estimateEnergy (int ieta, EcalRecHitCollection *hits, std::set< DetId > sId, std::vector< DetId > vId) |
void | insertRecHit (const EcalRecHit &hit, EcalRecHitCollection &collection) |
float | recCheckCalib (float energy, int ieta) |
Protected Attributes | |
edm::ESHandle< CaloGeometry > | caloGeometry_ |
edm::ESHandle< CaloTopology > | caloTopology_ |
const CaloSubdetectorGeometry * | ebGeom_ |
const EcalElectronicsMapping * | ecalMapping_ |
EcalTPGScale | ecalScale_ |
const CaloSubdetectorGeometry * | eeGeom_ |
const CaloGeometry * | geo_ |
bool | killDeadChannels_ |
edm::ESHandle< EcalLaserDbService > | laser |
double | logWarningEtThreshold_EB_FE_ |
double | logWarningEtThreshold_EE_FE_ |
edm::ESHandle < CaloSubdetectorGeometry > | pEBGeom_ |
edm::ESHandle < EcalElectronicsMapping > | pEcalMapping_ |
edm::ESHandle < CaloSubdetectorGeometry > | pEEGeom_ |
EcalRecHitSimpleAlgo * | rechitMaker_ |
bool | recoverEBFE_ |
bool | recoverEBIsolatedChannels_ |
bool | recoverEBVFE_ |
std::set< DetId > | recoveredDetIds_EB_ |
std::set< DetId > | recoveredDetIds_EE_ |
bool | recoverEEFE_ |
bool | recoverEEIsolatedChannels_ |
bool | recoverEEVFE_ |
std::string | singleRecoveryMethod_ |
double | singleRecoveryThreshold_ |
edm::InputTag | tpDigiCollection_ |
edm::ESHandle < EcalTrigTowerConstituentsMap > | ttMap_ |
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 29 of file EcalRecHitWorkerRecover.h.
EcalRecHitWorkerRecover::EcalRecHitWorkerRecover | ( | const edm::ParameterSet & | ps | ) |
Definition at line 22 of file EcalRecHitWorkerRecover.cc.
References edm::ParameterSet::getParameter(), killDeadChannels_, logWarningEtThreshold_EB_FE_, logWarningEtThreshold_EE_FE_, rechitMaker_, recoverEBFE_, recoverEBIsolatedChannels_, recoverEBVFE_, recoverEEFE_, recoverEEIsolatedChannels_, recoverEEVFE_, singleRecoveryMethod_, singleRecoveryThreshold_, and tpDigiCollection_.
|
inlinevirtual |
Definition at line 32 of file EcalRecHitWorkerRecover.h.
|
protected |
Definition at line 377 of file EcalRecHitWorkerRecover.cc.
References EcalBarrel, EcalEndcap, recoveredDetIds_EB_, and recoveredDetIds_EE_.
Referenced by insertRecHit(), and run().
|
protected |
Definition at line 330 of file EcalRecHitWorkerRecover.cc.
References prof2calltree::count, relval_parameters_module::energy, PV3DBase< T, PVType, FrameType >::eta(), eta(), edm::SortedCollection< T, SORT >::find(), geo_, and CaloGeometry::getPosition().
Referenced by run().
|
protected |
Definition at line 352 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 392 of file EcalRecHitWorkerRecover.cc.
|
virtual |
Implements EcalRecHitWorkerBaseClass.
Definition at line 65 of file EcalRecHitWorkerRecover.cc.
References alreadyInserted(), caloTopology_, EcalRecHitWorkerBaseClass::EB_FE, EcalRecHitWorkerBaseClass::EB_single, EcalRecHitWorkerBaseClass::EB_VFE, ebGeom_, ecalScale_, EcalRecHitWorkerBaseClass::EE_FE, EcalRecHitWorkerBaseClass::EE_single, EcalRecHitWorkerBaseClass::EE_VFE, edm::SortedCollection< T, SORT >::end(), relval_parameters_module::energy, estimateEnergy(), PV3DBase< T, PVType, FrameType >::eta(), eta(), edm::SortedCollection< T, SORT >::find(), flags, geo_, edm::Event::getByLabel(), CaloSubdetectorGeometry::getGeometry(), CaloGeometry::getPosition(), CaloCellGeometry::getPosition(), EcalTPGScale::getTPGInGeV(), i, EcalUncalibratedRecHit::id(), ExpressReco_HICollisions_FallBack::id, insertRecHit(), edm::InputTag::instance(), edm::HandleBase::isValid(), EEDetId::ix(), EcalScDetId::ix(), EEDetId::iy(), EcalScDetId::iy(), j, EcalRecHit::kDead, killDeadChannels_, EcalRecHit::kL1SpikeFlag, EcalRecHit::kNeighboursRecovered, EcalRecHit::kTowerRecovered, EcalRecHit::kTPSaturated, edm::InputTag::label(), logWarningEtThreshold_EB_FE_, logWarningEtThreshold_EE_FE_, edm::Handle< T >::product(), edm::ESHandle< class >::product(), EcalUncalibratedRecHit::recoFlag(), recoverEBFE_, recoverEBIsolatedChannels_, recoverEBVFE_, recoverEEFE_, recoverEEIsolatedChannels_, recoverEEVFE_, query::result, EcalRecHit::setFlagBits(), funct::sin(), singleRecoveryMethod_, singleRecoveryThreshold_, PV3DBase< T, PVType, FrameType >::theta(), theta(), tpDigiCollection_, ttMap_, v, EEDetId::validDetId(), EEDetId::zside(), and EcalScDetId::zside().
|
virtual |
Implements EcalRecHitWorkerBaseClass.
Definition at line 43 of file EcalRecHitWorkerRecover.cc.
References caloGeometry_, caloTopology_, ebGeom_, ecalMapping_, ecalScale_, eeGeom_, geo_, edm::EventSetup::get(), laser, pEBGeom_, pEcalMapping_, pEEGeom_, edm::ESHandle< class >::product(), recoveredDetIds_EB_, recoveredDetIds_EE_, EcalTPGScale::setEventSetup(), and ttMap_.
|
protected |
Definition at line 50 of file EcalRecHitWorkerRecover.h.
Referenced by set().
|
protected |
Definition at line 49 of file EcalRecHitWorkerRecover.h.
|
protected |
Definition at line 74 of file EcalRecHitWorkerRecover.h.
|
protected |
Definition at line 66 of file EcalRecHitWorkerRecover.h.
Referenced by set().
|
protected |
Definition at line 63 of file EcalRecHitWorkerRecover.h.
|
protected |
Definition at line 75 of file EcalRecHitWorkerRecover.h.
Referenced by set().
|
protected |
Definition at line 76 of file EcalRecHitWorkerRecover.h.
Referenced by estimateEnergy(), run(), and set().
|
protected |
Definition at line 53 of file EcalRecHitWorkerRecover.h.
Referenced by EcalRecHitWorkerRecover(), and run().
|
protected |
Definition at line 46 of file EcalRecHitWorkerRecover.h.
Referenced by set().
|
protected |
Definition at line 67 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 72 of file EcalRecHitWorkerRecover.h.
Referenced by set().
|
protected |
Definition at line 65 of file EcalRecHitWorkerRecover.h.
Referenced by set().
|
protected |
Definition at line 73 of file EcalRecHitWorkerRecover.h.
Referenced by set().
|
protected |
Definition at line 78 of file EcalRecHitWorkerRecover.h.
Referenced by EcalRecHitWorkerRecover().
|
protected |
Definition at line 59 of file EcalRecHitWorkerRecover.h.
Referenced by EcalRecHitWorkerRecover(), and run().
|
protected |
Definition at line 55 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 80 of file EcalRecHitWorkerRecover.h.
Referenced by alreadyInserted(), insertRecHit(), and set().
|
protected |
Definition at line 81 of file EcalRecHitWorkerRecover.h.
Referenced by alreadyInserted(), insertRecHit(), and set().
|
protected |
Definition at line 60 of file EcalRecHitWorkerRecover.h.
Referenced by EcalRecHitWorkerRecover(), and run().
|
protected |
Definition at line 56 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 52 of file EcalRecHitWorkerRecover.h.
Referenced by EcalRecHitWorkerRecover(), and run().
|
protected |
Definition at line 51 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 70 of file EcalRecHitWorkerRecover.h.