#include <PhotonEnergyCorrector.h>
Public Member Functions | |
double | applyCrackCorrection (const reco::SuperCluster &cl, EcalClusterFunctionBaseClass *crackCorrectionFunction) |
void | calculate (edm::Event &evt, reco::Photon &, int subdet, const reco::VertexCollection &vtxcol, const edm::EventSetup &iSetup) |
std::unique_ptr< ModifyObjectValueBase > & | gedRegression () |
void | init (const edm::EventSetup &theEventSetup) |
PhotonEnergyCorrector (const edm::ParameterSet &config, edm::ConsumesCollector &&iC) | |
Definition at line 26 of file PhotonEnergyCorrector.h.
PhotonEnergyCorrector::PhotonEnergyCorrector | ( | const edm::ParameterSet & | config, |
edm::ConsumesCollector && | iC | ||
) |
Definition at line 14 of file PhotonEnergyCorrector.cc.
double PhotonEnergyCorrector::applyCrackCorrection | ( | const reco::SuperCluster & | cl, |
EcalClusterFunctionBaseClass * | crackCorrectionFunction | ||
) |
Definition at line 174 of file PhotonEnergyCorrector.cc.
References haddnano::cl, and EcalClusterFunctionBaseClass::getValue().
Referenced by calculate().
void PhotonEnergyCorrector::calculate | ( | edm::Event & | evt, |
reco::Photon & | thePhoton, | ||
int | subdet, | ||
const reco::VertexCollection & | vtxcol, | ||
const edm::EventSetup & | iSetup | ||
) |
Definition at line 78 of file PhotonEnergyCorrector.cc.
References applyCrackCorrection(), barrelEcalHitsToken_, EgHLTOffHistBins_cfi::deltaE, reco::Photon::e5x5(), DetId::Ecal, reco::Photon::ecal_photons, reco::Photon::ecal_standard, EcalBarrel, ecalClusterToolsESGetTokens_, EcalEndcap, endcapEcalHitsToken_, gedRegression_, EcalClusterLazyToolsBase::ESGetTokens::get(), reco::Photon::getCorrectedEnergy(), reco::Photon::getCorrectedEnergyError(), CaloGeometry::getSubdetectorGeometry(), EgHLTOffEleSelection_cfi::minR9, minR9Barrel_, minR9Endcap_, photonEcalEnergyCorrFunction_, photonUncertaintyCalculator_, reco::Photon::r9(), reco::Photon::regression1, reco::Photon::regression2, regressionCorrector_, scCrackEnergyFunction_, scEnergyFunction_, reco::Photon::setCorrectedEnergy(), reco::Photon::superCluster(), theCaloGeom_, w_file_, and weightsfromDB_.
Referenced by PhotonProducer::fillPhotonCollection().
|
inline |
Definition at line 30 of file PhotonEnergyCorrector.h.
References gedRegression_.
void PhotonEnergyCorrector::init | ( | const edm::EventSetup & | theEventSetup | ) |
Definition at line 64 of file PhotonEnergyCorrector.cc.
References caloGeomToken_, edm::EventSetup::getHandle(), photonEcalEnergyCorrFunction_, photonUncertaintyCalculator_, regressionCorrector_, regressionCorrectorFactory_, scCrackEnergyFunction_, scEnergyErrorFunction_, scEnergyFunction_, and theCaloGeom_.
Referenced by PhotonProducer::fillPhotonCollection().
|
private |
Definition at line 52 of file PhotonEnergyCorrector.h.
|
private |
Definition at line 54 of file PhotonEnergyCorrector.h.
Referenced by calculate().
|
private |
Definition at line 57 of file PhotonEnergyCorrector.h.
Referenced by init().
|
private |
Definition at line 41 of file PhotonEnergyCorrector.h.
|
private |
Definition at line 56 of file PhotonEnergyCorrector.h.
Referenced by calculate().
|
private |
Definition at line 53 of file PhotonEnergyCorrector.h.
|
private |
Definition at line 55 of file PhotonEnergyCorrector.h.
Referenced by calculate().
|
private |
Definition at line 48 of file PhotonEnergyCorrector.h.
Referenced by calculate(), and gedRegression().
|
private |
Definition at line 49 of file PhotonEnergyCorrector.h.
Referenced by calculate().
|
private |
Definition at line 50 of file PhotonEnergyCorrector.h.
Referenced by calculate().
|
private |
Definition at line 47 of file PhotonEnergyCorrector.h.
Referenced by calculate(), and init().
|
private |
Definition at line 59 of file PhotonEnergyCorrector.h.
Referenced by calculate(), and init().
|
private |
Definition at line 43 of file PhotonEnergyCorrector.h.
Referenced by calculate(), and init().
|
private |
Definition at line 42 of file PhotonEnergyCorrector.h.
Referenced by init().
|
private |
Definition at line 45 of file PhotonEnergyCorrector.h.
Referenced by calculate(), and init().
|
private |
Definition at line 46 of file PhotonEnergyCorrector.h.
Referenced by init().
|
private |
Definition at line 44 of file PhotonEnergyCorrector.h.
Referenced by calculate(), and init().
|
private |
Definition at line 51 of file PhotonEnergyCorrector.h.
Referenced by calculate(), and init().
|
private |
Definition at line 40 of file PhotonEnergyCorrector.h.
|
private |
Definition at line 39 of file PhotonEnergyCorrector.h.
Referenced by calculate().
|
private |
Definition at line 38 of file PhotonEnergyCorrector.h.
Referenced by calculate().