#include <ElectronEnergyCorrector.h>
Public Member Functions | |
void | classBasedParameterizationEnergy (reco::GsfElectron &, const reco::BeamSpot &bs) |
void | classBasedParameterizationUncertainty (reco::GsfElectron &) |
ElectronEnergyCorrector (EcalClusterFunctionBaseClass *crackCorrectionFunction) | |
void | simpleParameterizationUncertainty (reco::GsfElectron &) |
Private Member Functions | |
float | fBremEta (float sigmaPhiSigmaEta, float eta, int algorithm, reco::GsfElectron::Classification cl) const |
float | fEnergy (float e, int algorithm, reco::GsfElectron::Classification cl) const |
float | fEt (float et, int algorithm, reco::GsfElectron::Classification cl) const |
float | fEta (float energy, float eta, int algorithm) const |
double | fEtaBarrelBad (double scEta) const |
double | fEtaBarrelGood (double scEta) const |
double | fEtaEndcapBad (double scEta) const |
double | fEtaEndcapGood (double scEta) const |
Private Attributes | |
EcalClusterFunctionBaseClass * | crackCorrectionFunction_ |
Definition at line 10 of file ElectronEnergyCorrector.h.
|
inline |
Definition at line 14 of file ElectronEnergyCorrector.h.
References electronCleaner_cfi::algorithm, GetRecoTauVFromDQM_MC_cff::cl, classBasedParameterizationEnergy(), classBasedParameterizationUncertainty(), MillePedeFileConverter_cfg::e, stringResolutionProvider_cfi::et, stringResolutionProvider_cfi::eta, fBremEta(), fEnergy(), fEt(), fEta(), fEtaBarrelBad(), fEtaBarrelGood(), fEtaEndcapBad(), fEtaEndcapGood(), and simpleParameterizationUncertainty().
void ElectronEnergyCorrector::classBasedParameterizationEnergy | ( | reco::GsfElectron & | electron, |
const reco::BeamSpot & | bs | ||
) |
Definition at line 56 of file ElectronEnergyCorrector.cc.
References reco::GsfElectron::classification(), corr, crackCorrectionFunction_, stringResolutionProvider_cfi::et, fBremEta(), fEnergy(), fEt(), fEta(), reco::GsfElectron::GAP, EcalClusterFunctionBaseClass::getValue(), reco::GsfElectron::isEB(), reco::GsfElectron::isEcalEnergyCorrected(), reco::GsfElectron::isEE(), reco::return(), reco::GsfElectron::setCorrectedEcalEnergy(), reco::GsfElectron::superCluster(), and reco::GsfElectron::UNKNOWN.
Referenced by GsfElectronAlgo::createElectron(), ElectronEnergyCorrector(), and simpleParameterizationUncertainty().
void ElectronEnergyCorrector::classBasedParameterizationUncertainty | ( | reco::GsfElectron & | electron | ) |
Definition at line 20 of file ElectronEnergyCorrector.cc.
References reco::GsfElectron::classification(), EnergyUncertaintyElectronSpecific::computeElectronEnergyUncertainty(), reco::GsfElectron::correctedEcalEnergy(), energyError(), reco::GsfElectron::setCorrectedEcalEnergyError(), and reco::GsfElectron::superCluster().
Referenced by GsfElectronAlgo::createElectron(), and ElectronEnergyCorrector().
|
private |
Definition at line 158 of file ElectronEnergyCorrector.cc.
References Abs(), GetRecoTauVFromDQM_MC_cff::cl, reco::GsfElectron::GAP, RecoTauPiZeroBuilderPlugins_cfi::par0, and RecoTauPiZeroBuilderPlugins_cfi::par1.
Referenced by classBasedParameterizationEnergy(), ElectronEnergyCorrector(), and fEta().
|
private |
Definition at line 342 of file ElectronEnergyCorrector.cc.
References GetRecoTauVFromDQM_MC_cff::cl, JetChargeProducer_cfi::exp, reco::GsfElectron::GAP, RecoTauPiZeroBuilderPlugins_cfi::par0, and RecoTauPiZeroBuilderPlugins_cfi::par1.
Referenced by classBasedParameterizationEnergy(), and ElectronEnergyCorrector().
|
private |
Definition at line 303 of file ElectronEnergyCorrector.cc.
References GetRecoTauVFromDQM_MC_cff::cl, JetChargeProducer_cfi::exp, and reco::GsfElectron::GAP.
Referenced by classBasedParameterizationEnergy(), and ElectronEnergyCorrector().
|
private |
Definition at line 127 of file ElectronEnergyCorrector.cc.
References fBremEta(), and p1.
Referenced by classBasedParameterizationEnergy(), and ElectronEnergyCorrector().
|
private |
Definition at line 381 of file ElectronEnergyCorrector.cc.
References funct::abs(), p1, p2, p3, p4, and x.
Referenced by ElectronEnergyCorrector().
|
private |
Definition at line 368 of file ElectronEnergyCorrector.cc.
References funct::abs(), p1, p2, p3, p4, and x.
Referenced by ElectronEnergyCorrector().
|
private |
Definition at line 407 of file ElectronEnergyCorrector.cc.
References funct::abs(), p1, p2, p3, p4, and x.
Referenced by ElectronEnergyCorrector().
|
private |
Definition at line 394 of file ElectronEnergyCorrector.cc.
References funct::abs(), p1, p2, p3, p4, and x.
Referenced by ElectronEnergyCorrector().
void ElectronEnergyCorrector::simpleParameterizationUncertainty | ( | reco::GsfElectron & | electron | ) |
Definition at line 34 of file ElectronEnergyCorrector.cc.
References classBasedParameterizationEnergy(), reco::GsfElectron::correctedEcalEnergy(), energyError(), relativeConstraints::error, reco::GsfElectron::isEB(), reco::GsfElectron::isEE(), and reco::GsfElectron::setCorrectedEcalEnergyError().
Referenced by GsfElectronAlgo::createElectron(), and ElectronEnergyCorrector().
|
private |
Definition at line 36 of file ElectronEnergyCorrector.h.
Referenced by classBasedParameterizationEnergy().