Public Member Functions | |
void | checkInit () const |
EcalClusterEnergyUncertainty (const edm::ParameterSet &, edm::ConsumesCollector iC) | |
const EcalClusterEnergyUncertaintyParameters * | getParameters () const |
float | getValue (const reco::SuperCluster &, const int mode) const override |
float | getValue (const reco::BasicCluster &, const EcalRecHitCollection &) const override |
void | init (const edm::EventSetup &es) override |
Public Member Functions inherited from EcalClusterFunctionBaseClass | |
virtual float | getValue (const reco::CaloCluster &) const |
virtual | ~EcalClusterFunctionBaseClass () |
Private Attributes | |
const EcalClusterEnergyUncertaintyParameters * | params_ = nullptr |
const edm::ESGetToken< EcalClusterEnergyUncertaintyParameters, EcalClusterEnergyUncertaintyParametersRcd > | paramsToken_ |
Function that provides uncertainty on supercluster energy measurement Available numbers: total effective uncertainty (in GeV) assymetric uncertainties (positive and negative)
$Id: EcalClusterEnergyUncertainty.h $Date: $Revision:
Definition at line 18 of file EcalClusterEnergyUncertainty.cc.
|
inline |
Definition at line 20 of file EcalClusterEnergyUncertainty.cc.
void EcalClusterEnergyUncertainty::checkInit | ( | ) | const |
Definition at line 41 of file EcalClusterEnergyUncertainty.cc.
References Exception, and params_.
Referenced by getValue().
|
inline |
Definition at line 23 of file EcalClusterEnergyUncertainty.cc.
References params_.
|
overridevirtual |
Implements EcalClusterFunctionBaseClass.
Definition at line 50 of file EcalClusterEnergyUncertainty.cc.
References checkInit(), reco::CaloCluster::energy(), l1tnanotables_cff::et, PVValHelper::eta, reco::CaloCluster::eta(), reco::SuperCluster::etaWidth(), ALCARECOPromptCalibProdSiPixelAli0T_cff::mode, HLT_IsoTrack_cff::offset, LaserDQM_cfg::p1, SiStripOfflineCRack_cfg::p2, EcalFunParams::params(), params_, and reco::SuperCluster::phiWidth().
|
inlineoverridevirtual |
Implements EcalClusterFunctionBaseClass.
Definition at line 29 of file EcalClusterEnergyUncertainty.cc.
|
overridevirtual |
Implements EcalClusterFunctionBaseClass.
Definition at line 39 of file EcalClusterEnergyUncertainty.cc.
References edm::EventSetup::getData(), params_, and paramsToken_.
|
private |
Definition at line 36 of file EcalClusterEnergyUncertainty.cc.
Referenced by checkInit(), getParameters(), getValue(), and init().
|
private |
Definition at line 35 of file EcalClusterEnergyUncertainty.cc.
Referenced by init().