#include <HiEgammaSCEnergyCorrectionAlgo.h>
Public Types | |
enum | VerbosityLevel { pDEBUG = 0, pWARNING = 1, pINFO = 2, pERROR = 3 } |
Public Member Functions | |
reco::SuperCluster | applyCorrection (const reco::SuperCluster &cl, const EcalRecHitCollection &rhc, reco::CaloCluster::AlgoId theAlgo, const CaloSubdetectorGeometry *geometry, const CaloTopology *topology, EcalClusterFunctionBaseClass *EnergyCorrectionClass) |
HiEgammaSCEnergyCorrectionAlgo (float noise, reco::CaloCluster::AlgoId theAlgo, const edm::ParameterSet &pSet, VerbosityLevel verbosity=pERROR) | |
void | setVerbosity (VerbosityLevel verbosity) |
~HiEgammaSCEnergyCorrectionAlgo () | |
Private Member Functions | |
float | fBrem (float widthRatio, reco::CaloCluster::AlgoId theAlgo, EcalSubdetector theBase) const |
float | fEta (float eta, reco::CaloCluster::AlgoId theAlgo, EcalSubdetector theBase) const |
float | fEtEta (float et, float eta, reco::CaloCluster::AlgoId theAlgo, EcalSubdetector theBase) const |
float | fNCrystals (int nCry, reco::CaloCluster::AlgoId theAlgo, EcalSubdetector theBase) const |
int | nCrystalsGT2Sigma (reco::BasicCluster const &seed, EcalRecHitCollection const &rhc) const |
Private Attributes | |
double | maxR9_ |
double | minR9Barrel_ |
double | minR9Endcap_ |
std::vector< double > | p_fBrem_ |
std::vector< double > | p_fBremTh_ |
std::vector< double > | p_fEta_ |
std::vector< double > | p_fEtEta_ |
float | sigmaElectronicNoise_ |
reco::CaloCluster::AlgoId | theAlgo_ |
VerbosityLevel | verbosity_ |
Definition at line 23 of file HiEgammaSCEnergyCorrectionAlgo.h.
Enumerator | |
---|---|
pDEBUG | |
pWARNING | |
pINFO | |
pERROR |
Definition at line 26 of file HiEgammaSCEnergyCorrectionAlgo.h.
HiEgammaSCEnergyCorrectionAlgo::HiEgammaSCEnergyCorrectionAlgo | ( | float | noise, |
reco::CaloCluster::AlgoId | theAlgo, | ||
const edm::ParameterSet & | pSet, | ||
HiEgammaSCEnergyCorrectionAlgo::VerbosityLevel | verbosity = pERROR |
||
) |
Definition at line 10 of file HiEgammaSCEnergyCorrectionAlgo.cc.
References edm::ParameterSet::getParameter(), maxR9_, minR9Barrel_, minR9Endcap_, p_fBrem_, p_fBremTh_, p_fEta_, p_fEtEta_, sigmaElectronicNoise_, HIPAlignmentAlgorithm_cfi::verbosity, and verbosity_.
|
inline |
Definition at line 34 of file HiEgammaSCEnergyCorrectionAlgo.h.
References applyCorrection(), GetRecoTauVFromDQM_MC_cff::cl, and ecaldqm::topology().
reco::SuperCluster HiEgammaSCEnergyCorrectionAlgo::applyCorrection | ( | const reco::SuperCluster & | cl, |
const EcalRecHitCollection & | rhc, | ||
reco::CaloCluster::AlgoId | theAlgo, | ||
const CaloSubdetectorGeometry * | geometry, | ||
const CaloTopology * | topology, | ||
EcalClusterFunctionBaseClass * | EnergyCorrectionClass | ||
) |
Definition at line 37 of file HiEgammaSCEnergyCorrectionAlgo.cc.
References SuperClusterShapeAlgo::Calculate_Covariances(), reco::SuperCluster::clustersBegin(), reco::SuperCluster::clustersEnd(), gather_cfg::cout, heepElectronID_HEEPV50_CSA14_25ns_cff::e5x5, EcalBarrel, EcalEndcap, reco::CaloCluster::energy(), reco::CaloCluster::eta(), SuperClusterShapeAlgo::etaWidth(), fBrem(), fEta(), fEtEta(), reco::CaloCluster::flags(), maxR9_, minR9Barrel_, minR9Endcap_, nCrystalsGT2Sigma(), SuperClusterShapeAlgo::phiWidth(), pINFO, reco::CaloCluster::position(), reco::SuperCluster::preshowerEnergy(), edm::PtrVector< T >::push_back(), reco::SuperCluster::rawEnergy(), reco::SuperCluster::seed(), reco::CaloCluster::setFlags(), reco::CaloCluster::size(), and verbosity_.
Referenced by HiEgammaSCCorrectionMaker::produce(), and ~HiEgammaSCEnergyCorrectionAlgo().
|
private |
Definition at line 205 of file HiEgammaSCEnergyCorrectionAlgo.cc.
References EcalBarrel, EcalEndcap, f, reco::CaloCluster::island, PFRecoTauDiscriminationByIsolation_cfi::offset, p_fBrem_, and p_fBremTh_.
Referenced by applyCorrection(), and setVerbosity().
|
private |
Definition at line 186 of file HiEgammaSCEnergyCorrectionAlgo.cc.
References EcalBarrel, EcalEndcap, stringResolutionProvider_cfi::eta, f, reco::CaloCluster::island, PFRecoTauDiscriminationByIsolation_cfi::offset, and p_fEta_.
Referenced by applyCorrection(), and setVerbosity().
|
private |
Definition at line 162 of file HiEgammaSCEnergyCorrectionAlgo.cc.
References EcalBarrel, EcalEndcap, stringResolutionProvider_cfi::eta, f, reco::CaloCluster::island, PFRecoTauDiscriminationByIsolation_cfi::offset, p_fEtEta_, and mathSSE::sqrt().
Referenced by applyCorrection(), and setVerbosity().
|
private |
Definition at line 233 of file HiEgammaSCEnergyCorrectionAlgo.cc.
References gather_cfg::cout, EcalBarrel, EcalEndcap, f, objects.autophobj::float, reco::CaloCluster::island, p1, p2, p3, p4, pINFO, mps_fire::result, verbosity_, and x.
Referenced by setVerbosity().
|
private |
Definition at line 273 of file HiEgammaSCEnergyCorrectionAlgo.cc.
References gather_cfg::cout, edm::SortedCollection< T, SORT >::find(), hfClusterShapes_cfi::hits, pINFO, sigmaElectronicNoise_, and verbosity_.
Referenced by applyCorrection(), and setVerbosity().
|
inline |
Definition at line 45 of file HiEgammaSCEnergyCorrectionAlgo.h.
References stringResolutionProvider_cfi::et, stringResolutionProvider_cfi::eta, fBrem(), fEta(), fEtEta(), fNCrystals(), nCrystalsGT2Sigma(), SurveyInfoScenario_cff::seed, HIPAlignmentAlgorithm_cfi::verbosity, and verbosity_.
|
private |
Definition at line 77 of file HiEgammaSCEnergyCorrectionAlgo.h.
Referenced by applyCorrection(), and HiEgammaSCEnergyCorrectionAlgo().
|
private |
Definition at line 75 of file HiEgammaSCEnergyCorrectionAlgo.h.
Referenced by applyCorrection(), and HiEgammaSCEnergyCorrectionAlgo().
|
private |
Definition at line 76 of file HiEgammaSCEnergyCorrectionAlgo.h.
Referenced by applyCorrection(), and HiEgammaSCEnergyCorrectionAlgo().
|
private |
Definition at line 72 of file HiEgammaSCEnergyCorrectionAlgo.h.
Referenced by fBrem(), and HiEgammaSCEnergyCorrectionAlgo().
|
private |
Definition at line 72 of file HiEgammaSCEnergyCorrectionAlgo.h.
Referenced by fBrem(), and HiEgammaSCEnergyCorrectionAlgo().
|
private |
Definition at line 71 of file HiEgammaSCEnergyCorrectionAlgo.h.
Referenced by fEta(), and HiEgammaSCEnergyCorrectionAlgo().
|
private |
Definition at line 73 of file HiEgammaSCEnergyCorrectionAlgo.h.
Referenced by fEtEta(), and HiEgammaSCEnergyCorrectionAlgo().
|
private |
Definition at line 63 of file HiEgammaSCEnergyCorrectionAlgo.h.
Referenced by HiEgammaSCEnergyCorrectionAlgo(), and nCrystalsGT2Sigma().
|
private |
Definition at line 68 of file HiEgammaSCEnergyCorrectionAlgo.h.
|
private |
Definition at line 66 of file HiEgammaSCEnergyCorrectionAlgo.h.
Referenced by applyCorrection(), fNCrystals(), HiEgammaSCEnergyCorrectionAlgo(), nCrystalsGT2Sigma(), and setVerbosity().