#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 sigmaElectronicNoise_.
|
inline |
Definition at line 27 of file EgammaSCEnergyCorrectionAlgo.h.
References applyCorrection(), applyCrackCorrection(), applyLocalContCorrection(), GetRecoTauVFromDQM_MC_cff::cl, gedGsfElectrons_cfi::crackCorrectionFunction, fNCrystals(), nCrystalsGT2Sigma(), SurveyInfoScenario_cff::seed, and AlCaHLTBitMon_QueryRunRegistry::string.
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(), and ~EgammaSCEnergyCorrectionAlgo().
reco::SuperCluster EgammaSCEnergyCorrectionAlgo::applyCrackCorrection | ( | const reco::SuperCluster & | cl, |
EcalClusterFunctionBaseClass * | crackCorrectionFunction | ||
) |
Definition at line 231 of file EgammaSCEnergyCorrectionAlgo.cc.
References applyLocalContCorrection(), 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(), and ~EgammaSCEnergyCorrectionAlgo().
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 applyCrackCorrection(), EgammaSCCorrectionMaker::produce(), and ~EgammaSCEnergyCorrectionAlgo().
|
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(), and ~EgammaSCEnergyCorrectionAlgo().
|
private |
Definition at line 200 of file EgammaSCEnergyCorrectionAlgo.cc.
References edm::SortedCollection< T, SORT >::find(), hfClusterShapes_cfi::hits, LogTrace, and sigmaElectronicNoise_.
Referenced by applyCorrection(), and ~EgammaSCEnergyCorrectionAlgo().
|
private |
Definition at line 58 of file EgammaSCEnergyCorrectionAlgo.h.
Referenced by EgammaSCEnergyCorrectionAlgo(), and nCrystalsGT2Sigma().
|
private |
Definition at line 60 of file EgammaSCEnergyCorrectionAlgo.h.