#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 | ) |
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(), GetRecoTauVFromDQM_MC_cff::cl, reco::CaloCluster::dynamicHybrid, SuperClusterShapeAlgo::etaWidth(), fNCrystals(), EcalClusterFunctionBaseClass::getValue(), reco::CaloCluster::hybrid, LogTrace, reco::CaloCluster::multi5x5, nCrystalsGT2Sigma(), SuperClusterShapeAlgo::phiWidth(), reco::CaloCluster::setEnergy(), reco::SuperCluster::setEtaWidth(), reco::SuperCluster::setPhiWidth(), and createJobs::tmp.
|
static |
Definition at line 215 of file EgammaSCEnergyCorrectionAlgo.cc.
References GetRecoTauVFromDQM_MC_cff::cl, EcalClusterFunctionBaseClass::getValue(), and reco::CaloCluster::setEnergy().
Referenced by EgammaSCCorrectionMaker::produce().
|
static |
Definition at line 233 of file EgammaSCEnergyCorrectionAlgo.cc.
References GetRecoTauVFromDQM_MC_cff::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, p1, p2, p3, p4, 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().