#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.
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, 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 createJobs::tmp.
|
static |
Definition at line 215 of file EgammaSCEnergyCorrectionAlgo.cc.
References haddnano::cl, reco::SuperCluster::clustersBegin(), reco::SuperCluster::clustersEnd(), reco::CaloCluster::energy(), EcalClusterFunctionBaseClass::getValue(), reco::SuperCluster::rawEnergy(), and reco::CaloCluster::setEnergy().
Referenced by EgammaSCCorrectionMaker::produce().
|
static |
Definition at line 233 of file EgammaSCEnergyCorrectionAlgo.cc.
References haddnano::cl, reco::CaloCluster::energy(), reco::SuperCluster::seed(), and reco::CaloCluster::setEnergy().
Referenced by EgammaSCCorrectionMaker::produce().
|
private |
Definition at line 109 of file EgammaSCEnergyCorrectionAlgo.cc.
References EcalBarrel, EcalEndcap, validate-o2o-wbm::f, reco::CaloCluster::hybrid, reco::CaloCluster::island, LogTrace, fireworks::p1, fireworks::p2, mps_fire::result, and x.
Referenced by applyCorrection().
|
private |
Definition at line 186 of file EgammaSCEnergyCorrectionAlgo.cc.
References edm::SortedCollection< T, SORT >::find(), reco::CaloCluster::hitsAndFractions(), LogTrace, and sigmaElectronicNoise_.
Referenced by applyCorrection().
|
private |
Definition at line 53 of file EgammaSCEnergyCorrectionAlgo.h.
Referenced by nCrystalsGT2Sigma().