#include <EgammaSCEnergyCorrectionAlgo.h>
Public Member Functions | |
reco::SuperCluster | applyCorrection (const reco::SuperCluster &cl, const EcalRecHitCollection &rhc, reco::CaloCluster::AlgoId theAlgo, const CaloSubdetectorGeometry *geometry, EcalClusterFunctionBaseClass *energyCorrectionFunction, std::string energyCorrectorName_, int modeEB_, int modeEE_) |
reco::SuperCluster | applyCrackCorrection (const reco::SuperCluster &cl, EcalClusterFunctionBaseClass *crackCorrectionFunction) |
reco::SuperCluster | applyLocalContCorrection (const reco::SuperCluster &cl, EcalClusterFunctionBaseClass *localContCorrectionFunction) |
EgammaSCEnergyCorrectionAlgo (float noise, reco::CaloCluster::AlgoId theAlgo, const edm::ParameterSet &pset) | |
~EgammaSCEnergyCorrectionAlgo () | |
Private Member Functions | |
float | fNCrystals (int nCry, reco::CaloCluster::AlgoId theAlgo, EcalSubdetector theBase) const |
int | nCrystalsGT2Sigma (reco::BasicCluster const &seed, EcalRecHitCollection const &rhc) const |
Private Attributes | |
float | sigmaElectronicNoise_ |
reco::CaloCluster::AlgoId | theAlgo_ |
Definition at line 20 of file EgammaSCEnergyCorrectionAlgo.h.
EgammaSCEnergyCorrectionAlgo::EgammaSCEnergyCorrectionAlgo | ( | float | noise, |
reco::CaloCluster::AlgoId | theAlgo, | ||
const edm::ParameterSet & | pset | ||
) |
Definition at line 11 of file EgammaSCEnergyCorrectionAlgo.cc.
References HLT_25ns10e33_v2_cff::noise, and sigmaElectronicNoise_.
|
inline |
Definition at line 27 of file EgammaSCEnergyCorrectionAlgo.h.
reco::SuperCluster EgammaSCEnergyCorrectionAlgo::applyCorrection | ( | const reco::SuperCluster & | cl, |
const EcalRecHitCollection & | rhc, | ||
reco::CaloCluster::AlgoId | theAlgo, | ||
const CaloSubdetectorGeometry * | geometry, | ||
EcalClusterFunctionBaseClass * | energyCorrectionFunction, | ||
std::string | energyCorrectorName_, | ||
int | modeEB_, | ||
int | modeEE_ | ||
) |
Definition at line 20 of file EgammaSCEnergyCorrectionAlgo.cc.
References SuperClusterShapeAlgo::Calculate_Covariances(), GetRecoTauVFromDQM_MC_cff::cl, reco::CaloCluster::dynamicHybrid, reco::CaloCluster::energy(), SuperClusterShapeAlgo::etaWidth(), fNCrystals(), EcalClusterFunctionBaseClass::getValue(), reco::CaloCluster::hybrid, LogTrace, reco::CaloCluster::multi5x5, nCrystalsGT2Sigma(), SuperClusterShapeAlgo::phiWidth(), reco::SuperCluster::preshowerEnergy(), reco::SuperCluster::rawEnergy(), reco::SuperCluster::seed(), reco::CaloCluster::setEnergy(), reco::SuperCluster::setEtaWidth(), reco::SuperCluster::setPhiWidth(), and tmp.
Referenced by EgammaSCCorrectionMaker::produce().
reco::SuperCluster EgammaSCEnergyCorrectionAlgo::applyCrackCorrection | ( | const reco::SuperCluster & | cl, |
EcalClusterFunctionBaseClass * | crackCorrectionFunction | ||
) |
Definition at line 231 of file EgammaSCEnergyCorrectionAlgo.cc.
References GetRecoTauVFromDQM_MC_cff::cl, reco::SuperCluster::clustersBegin(), reco::SuperCluster::clustersEnd(), reco::CaloCluster::energy(), EcalClusterFunctionBaseClass::getValue(), reco::SuperCluster::rawEnergy(), and reco::CaloCluster::setEnergy().
Referenced by EgammaSCCorrectionMaker::produce().
reco::SuperCluster EgammaSCEnergyCorrectionAlgo::applyLocalContCorrection | ( | const reco::SuperCluster & | cl, |
EcalClusterFunctionBaseClass * | localContCorrectionFunction | ||
) |
Definition at line 259 of file EgammaSCEnergyCorrectionAlgo.cc.
References GetRecoTauVFromDQM_MC_cff::cl, reco::CaloCluster::energy(), EcalClusterFunctionBaseClass::getValue(), reco::SuperCluster::seed(), and reco::CaloCluster::setEnergy().
Referenced by EgammaSCCorrectionMaker::produce().
|
private |
Definition at line 120 of file EgammaSCEnergyCorrectionAlgo.cc.
References EcalBarrel, EcalEndcap, f, reco::CaloCluster::hybrid, reco::CaloCluster::island, LogTrace, p1, p2, p3, p4, mps_fire::result, and x.
Referenced by applyCorrection().
|
private |
Definition at line 200 of file EgammaSCEnergyCorrectionAlgo.cc.
References edm::SortedCollection< T, SORT >::find(), LogTrace, and sigmaElectronicNoise_.
Referenced by applyCorrection().
|
private |
Definition at line 58 of file EgammaSCEnergyCorrectionAlgo.h.
Referenced by EgammaSCEnergyCorrectionAlgo(), and nCrystalsGT2Sigma().
|
private |
Definition at line 60 of file EgammaSCEnergyCorrectionAlgo.h.