#include <EgammaSCEnergyCorrectionAlgo.h>
Public Types | |
using | BasicClusterFunction = std::function< float(reco::BasicCluster const &, EcalRecHitCollection const &)> |
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_) |
EgammaSCEnergyCorrectionAlgo (float noise) | |
Static Public Member Functions | |
static reco::SuperCluster | applyCrackCorrection (const reco::SuperCluster &cl, EcalClusterFunctionBaseClass *crackCorrectionFunction) |
static reco::SuperCluster | applyLocalContCorrection (const reco::SuperCluster &cl, BasicClusterFunction localContCorrectionFunction) |
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_ |
Definition at line 18 of file EgammaSCEnergyCorrectionAlgo.h.
using EgammaSCEnergyCorrectionAlgo::BasicClusterFunction = std::function<float(reco::BasicCluster const&, EcalRecHitCollection const&)> |
Definition at line 20 of file EgammaSCEnergyCorrectionAlgo.h.
EgammaSCEnergyCorrectionAlgo::EgammaSCEnergyCorrectionAlgo | ( | float | noise | ) |
Definition at line 13 of file EgammaSCEnergyCorrectionAlgo.cc.
References hgchebackDigitizer_cfi::noise.
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 15 of file EgammaSCEnergyCorrectionAlgo.cc.
References SuperClusterShapeAlgo::Calculate_Covariances(), haddnano::cl, reco::CaloCluster::dynamicHybrid, SuperClusterShapeAlgo::etaWidth(), egamma_custom_cff::etaWidth, fNCrystals(), EcalClusterFunctionBaseClass::getValue(), reco::CaloCluster::hybrid, LogTrace, reco::CaloCluster::multi5x5, nCrystalsGT2Sigma(), SuperClusterShapeAlgo::phiWidth(), egamma_custom_cff::phiWidth, reco::CaloCluster::setEnergy(), reco::SuperCluster::setEtaWidth(), reco::SuperCluster::setPhiWidth(), and createJobs::tmp.
|
static |
Definition at line 215 of file EgammaSCEnergyCorrectionAlgo.cc.
References gpuPixelDoublets::cc, haddnano::cl, EcalClusterFunctionBaseClass::getValue(), and reco::CaloCluster::setEnergy().
Referenced by EgammaSCCorrectionMaker::produce().
|
static |
Definition at line 233 of file EgammaSCEnergyCorrectionAlgo.cc.
References haddnano::cl, and reco::CaloCluster::setEnergy().
Referenced by EgammaSCCorrectionMaker::produce().
|
private |
Definition at line 109 of file EgammaSCEnergyCorrectionAlgo.cc.
References EcalBarrel, EcalEndcap, f, reco::CaloCluster::hybrid, reco::CaloCluster::island, LogTrace, LaserDQM_cfg::p1, SiStripOfflineCRack_cfg::p2, chargedHadronTrackResolutionFilter_cfi::p3, mps_fire::result, and x.
Referenced by applyCorrection().
|
private |
Definition at line 186 of file EgammaSCEnergyCorrectionAlgo.cc.
References edm::SortedCollection< T, SORT >::find(), hfClusterShapes_cfi::hits, LogTrace, fileCollector::seed, and sigmaElectronicNoise_.
Referenced by applyCorrection().
|
private |
Definition at line 53 of file EgammaSCEnergyCorrectionAlgo.h.
Referenced by nCrystalsGT2Sigma().