CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Attributes
PhotonEnergyCorrector Class Reference

#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)
 

Private Attributes

edm::InputTag barrelEcalHits_
 
edm::EDGetTokenT
< EcalRecHitCollection
barrelEcalHitsToken_
 
std::string candidateP4type_
 
edm::InputTag endcapEcalHits_
 
edm::EDGetTokenT
< EcalRecHitCollection
endcapEcalHitsToken_
 
std::unique_ptr
< ModifyObjectValueBase
gedRegression_
 
double minR9Barrel_
 
double minR9Endcap_
 
std::unique_ptr
< EcalClusterFunctionBaseClass
photonEcalEnergyCorrFunction_
 
std::unique_ptr
< EnergyUncertaintyPhotonSpecific
photonUncertaintyCalculator_
 
std::unique_ptr
< EGEnergyCorrector
regressionCorrector_
 
std::unique_ptr
< EcalClusterFunctionBaseClass
scCrackEnergyFunction_
 
std::unique_ptr
< EcalClusterFunctionBaseClass
scEnergyErrorFunction_
 
std::unique_ptr
< EcalClusterFunctionBaseClass
scEnergyFunction_
 
edm::ESHandle< CaloGeometrytheCaloGeom_
 
std::string w_db_
 
std::string w_file_
 
bool weightsfromDB_
 

Detailed Description

Author
Nancy Marinelli, U. of Notre Dame, US

Definition at line 27 of file PhotonEnergyCorrector.h.

Constructor & Destructor Documentation

PhotonEnergyCorrector::PhotonEnergyCorrector ( const edm::ParameterSet config,
edm::ConsumesCollector &&  iC 
)

Definition at line 13 of file PhotonEnergyCorrector.cc.

Member Function Documentation

double PhotonEnergyCorrector::applyCrackCorrection ( const reco::SuperCluster cl,
EcalClusterFunctionBaseClass crackCorrectionFunction 
)

Definition at line 185 of file PhotonEnergyCorrector.cc.

void PhotonEnergyCorrector::calculate ( edm::Event evt,
reco::Photon thePhoton,
int  subdet,
const reco::VertexCollection vtxcol,
const edm::EventSetup iSetup 
)

Definition at line 94 of file PhotonEnergyCorrector.cc.

std::unique_ptr<ModifyObjectValueBase>& PhotonEnergyCorrector::gedRegression ( )
inline

Definition at line 33 of file PhotonEnergyCorrector.h.

References gedRegression_.

34  { return gedRegression_; }
std::unique_ptr< ModifyObjectValueBase > gedRegression_
void PhotonEnergyCorrector::init ( const edm::EventSetup theEventSetup)

Definition at line 72 of file PhotonEnergyCorrector.cc.

Member Data Documentation

edm::InputTag PhotonEnergyCorrector::barrelEcalHits_
private

Definition at line 55 of file PhotonEnergyCorrector.h.

edm::EDGetTokenT<EcalRecHitCollection> PhotonEnergyCorrector::barrelEcalHitsToken_
private

Definition at line 57 of file PhotonEnergyCorrector.h.

std::string PhotonEnergyCorrector::candidateP4type_
private

Definition at line 45 of file PhotonEnergyCorrector.h.

edm::InputTag PhotonEnergyCorrector::endcapEcalHits_
private

Definition at line 56 of file PhotonEnergyCorrector.h.

edm::EDGetTokenT<EcalRecHitCollection> PhotonEnergyCorrector::endcapEcalHitsToken_
private

Definition at line 58 of file PhotonEnergyCorrector.h.

std::unique_ptr<ModifyObjectValueBase> PhotonEnergyCorrector::gedRegression_
private

Definition at line 51 of file PhotonEnergyCorrector.h.

Referenced by gedRegression().

double PhotonEnergyCorrector::minR9Barrel_
private

Definition at line 52 of file PhotonEnergyCorrector.h.

double PhotonEnergyCorrector::minR9Endcap_
private

Definition at line 53 of file PhotonEnergyCorrector.h.

std::unique_ptr<EcalClusterFunctionBaseClass> PhotonEnergyCorrector::photonEcalEnergyCorrFunction_
private

Definition at line 50 of file PhotonEnergyCorrector.h.

std::unique_ptr<EnergyUncertaintyPhotonSpecific> PhotonEnergyCorrector::photonUncertaintyCalculator_
private

Definition at line 60 of file PhotonEnergyCorrector.h.

std::unique_ptr<EGEnergyCorrector> PhotonEnergyCorrector::regressionCorrector_
private

Definition at line 46 of file PhotonEnergyCorrector.h.

std::unique_ptr<EcalClusterFunctionBaseClass> PhotonEnergyCorrector::scCrackEnergyFunction_
private

Definition at line 48 of file PhotonEnergyCorrector.h.

std::unique_ptr<EcalClusterFunctionBaseClass> PhotonEnergyCorrector::scEnergyErrorFunction_
private

Definition at line 49 of file PhotonEnergyCorrector.h.

std::unique_ptr<EcalClusterFunctionBaseClass> PhotonEnergyCorrector::scEnergyFunction_
private

Definition at line 47 of file PhotonEnergyCorrector.h.

edm::ESHandle<CaloGeometry> PhotonEnergyCorrector::theCaloGeom_
private

Definition at line 54 of file PhotonEnergyCorrector.h.

std::string PhotonEnergyCorrector::w_db_
private

Definition at line 44 of file PhotonEnergyCorrector.h.

std::string PhotonEnergyCorrector::w_file_
private

Definition at line 43 of file PhotonEnergyCorrector.h.

bool PhotonEnergyCorrector::weightsfromDB_
private

Definition at line 42 of file PhotonEnergyCorrector.h.