Public Member Functions | |
void | checkInit () const |
EcalClusterCrackCorrection (const edm::ParameterSet &, edm::ConsumesCollector iC) | |
const EcalClusterCrackCorrParameters * | getParameters () const |
float | getValue (const reco::BasicCluster &, const EcalRecHitCollection &) const override |
float | getValue (const reco::SuperCluster &, const int mode) const override |
float | getValue (const reco::CaloCluster &) const override |
void | init (const edm::EventSetup &es) override |
Public Member Functions inherited from EcalClusterFunctionBaseClass | |
virtual | ~EcalClusterFunctionBaseClass () |
Private Attributes | |
const CaloGeometry * | caloGeom_ = nullptr |
const edm::ESGetToken< CaloGeometry, CaloGeometryRecord > | geomToken_ |
const EcalClusterCrackCorrParameters * | params_ = nullptr |
const edm::ESGetToken< EcalClusterCrackCorrParameters, EcalClusterCrackCorrParametersRcd > | paramsToken_ |
Function to correct cluster for cracks in the calorimeter
$Id: EcalClusterCrackCorrection.h $Date: $Revision:
Definition at line 24 of file EcalClusterCrackCorrection.cc.
|
inline |
Definition at line 26 of file EcalClusterCrackCorrection.cc.
void EcalClusterCrackCorrection::checkInit | ( | ) | const |
Definition at line 55 of file EcalClusterCrackCorrection.cc.
References Exception, and params_.
Referenced by getValue().
|
inline |
Definition at line 30 of file EcalClusterCrackCorrection.cc.
References params_.
|
inlineoverridevirtual |
Implements EcalClusterFunctionBaseClass.
Definition at line 35 of file EcalClusterCrackCorrection.cc.
Referenced by getValue().
|
overridevirtual |
Implements EcalClusterFunctionBaseClass.
Definition at line 192 of file EcalClusterCrackCorrection.cc.
References checkInit(), getValue(), and reco::SuperCluster::seed().
|
overridevirtual |
Reimplemented from EcalClusterFunctionBaseClass.
Definition at line 64 of file EcalClusterCrackCorrection.cc.
References funct::abs(), caloGeom_, checkInit(), funct::cos(), LEDCalibrationChannels::depth, DetId::Ecal, EcalBarrel, reco::CaloCluster::energy(), PV3DBase< T, PVType, FrameType >::eta(), reco::CaloCluster::eta(), f, first, g, relativeConstraints::geom, CaloGeometry::getSubdetectorGeometry(), reco::CaloCluster::hitsAndFractions(), EBDetId::ieta(), EBDetId::iphi(), dqmdumpme::k, dqm-mbProfile::log, M_PI, hltrates_dqm_sourceclient-live_cfg::offset, EcalFunParams::params(), params_, PV3DBase< T, PVType, FrameType >::phi(), VtxSmearedParameters_cfi::Phi, reco::CaloCluster::position(), funct::pow(), PV3DBase< T, PVType, FrameType >::theta(), and MonitorAlCaEcalPi0_cfi::X0.
|
overridevirtual |
Implements EcalClusterFunctionBaseClass.
Definition at line 50 of file EcalClusterCrackCorrection.cc.
References caloGeom_, geomToken_, edm::EventSetup::getData(), params_, and paramsToken_.
|
private |
Definition at line 47 of file EcalClusterCrackCorrection.cc.
Referenced by getValue(), and init().
|
private |
Definition at line 45 of file EcalClusterCrackCorrection.cc.
Referenced by init().
|
private |
Definition at line 46 of file EcalClusterCrackCorrection.cc.
Referenced by checkInit(), getParameters(), getValue(), and init().
|
private |
Definition at line 44 of file EcalClusterCrackCorrection.cc.
Referenced by init().