#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 algoId, const CaloSubdetectorGeometry &geometry, const CaloTopology &topology) const |
HiEgammaSCEnergyCorrectionAlgo (float noise, const edm::ParameterSet &pSet, VerbosityLevel verbosity=pERROR) | |
Private Member Functions | |
float | fBrem (float widthRatio, reco::CaloCluster::AlgoId algoId, EcalSubdetector theBase) const |
float | fEta (float eta, reco::CaloCluster::AlgoId algoId, EcalSubdetector theBase) const |
float | fEtEta (float et, float eta, reco::CaloCluster::AlgoId algoId, EcalSubdetector theBase) const |
float | fNCrystals (int nCry, reco::CaloCluster::AlgoId algoId, EcalSubdetector theBase) const |
int | nCrystalsGT2Sigma (reco::BasicCluster const &seed, EcalRecHitCollection const &rhc) const |
Private Attributes | |
const double | maxR9_ |
const double | minR9Barrel_ |
const double | minR9Endcap_ |
const std::vector< double > | p_fBrem_ |
const std::vector< double > | p_fBremTh_ |
const std::vector< double > | p_fEta_ |
const std::vector< double > | p_fEtEta_ |
const float | sigmaElectronicNoise_ |
const VerbosityLevel | verbosity_ |
Definition at line 21 of file HiEgammaSCEnergyCorrectionAlgo.h.
Enumerator | |
---|---|
pDEBUG | |
pWARNING | |
pINFO | |
pERROR |
Definition at line 24 of file HiEgammaSCEnergyCorrectionAlgo.h.
HiEgammaSCEnergyCorrectionAlgo::HiEgammaSCEnergyCorrectionAlgo | ( | float | noise, |
const edm::ParameterSet & | pSet, | ||
HiEgammaSCEnergyCorrectionAlgo::VerbosityLevel | verbosity = pERROR |
||
) |
Definition at line 10 of file HiEgammaSCEnergyCorrectionAlgo.cc.
reco::SuperCluster HiEgammaSCEnergyCorrectionAlgo::applyCorrection | ( | const reco::SuperCluster & | cl, |
const EcalRecHitCollection & | rhc, | ||
reco::CaloCluster::AlgoId | algoId, | ||
const CaloSubdetectorGeometry & | geometry, | ||
const CaloTopology & | topology | ||
) | const |
Definition at line 29 of file HiEgammaSCEnergyCorrectionAlgo.cc.
References hltPFPuppi_cfi::algoId, SuperClusterShapeAlgo::Calculate_Covariances(), haddnano::cl, gather_cfg::cout, EcalBarrel, EcalEndcap, SuperClusterShapeAlgo::etaWidth(), photons_cff::etaWidth, fBrem(), fEta(), fEtEta(), maxR9_, minR9Barrel_, minR9Endcap_, nCrystalsGT2Sigma(), SuperClusterShapeAlgo::phiWidth(), photons_cff::phiWidth, pINFO, edm::PtrVector< T >::push_back(), electrons_cff::r9, reco::CaloCluster::setFlags(), and verbosity_.
|
private |
Definition at line 197 of file HiEgammaSCEnergyCorrectionAlgo.cc.
References hltPFPuppi_cfi::algoId, EcalBarrel, EcalEndcap, f, DQMScaleToClient_cfi::factor, reco::CaloCluster::island, hltrates_dqm_sourceclient-live_cfg::offset, p_fBrem_, and p_fBremTh_.
Referenced by applyCorrection().
|
private |
Definition at line 177 of file HiEgammaSCEnergyCorrectionAlgo.cc.
References hltPFPuppi_cfi::algoId, EcalBarrel, EcalEndcap, PVValHelper::eta, f, DQMScaleToClient_cfi::factor, reco::CaloCluster::island, hltrates_dqm_sourceclient-live_cfg::offset, and p_fEta_.
Referenced by applyCorrection().
|
private |
Definition at line 150 of file HiEgammaSCEnergyCorrectionAlgo.cc.
References hltPFPuppi_cfi::algoId, EcalBarrel, EcalEndcap, EgHLTOffHistBins_cfi::et, PVValHelper::eta, f, DQMScaleToClient_cfi::factor, reco::CaloCluster::island, hltrates_dqm_sourceclient-live_cfg::offset, p_fEtEta_, and mathSSE::sqrt().
Referenced by applyCorrection().
|
private |
Definition at line 228 of file HiEgammaSCEnergyCorrectionAlgo.cc.
References hltPFPuppi_cfi::algoId, gather_cfg::cout, EcalBarrel, EcalEndcap, f, dqmMemoryStats::float, reco::CaloCluster::island, LaserDQM_cfg::p1, SiStripOfflineCRack_cfg::p2, chargedHadronTrackResolutionFilter_cfi::p3, pINFO, mps_fire::result, verbosity_, and x.
|
private |
Definition at line 276 of file HiEgammaSCEnergyCorrectionAlgo.cc.
References gather_cfg::cout, edm::SortedCollection< T, SORT >::find(), hfClusterShapes_cfi::hits, pINFO, fileCollector::seed, sigmaElectronicNoise_, trackerHitRTTI::vector, and verbosity_.
Referenced by applyCorrection().
|
private |
Definition at line 60 of file HiEgammaSCEnergyCorrectionAlgo.h.
Referenced by applyCorrection().
|
private |
Definition at line 58 of file HiEgammaSCEnergyCorrectionAlgo.h.
Referenced by applyCorrection().
|
private |
Definition at line 59 of file HiEgammaSCEnergyCorrectionAlgo.h.
Referenced by applyCorrection().
|
private |
Definition at line 55 of file HiEgammaSCEnergyCorrectionAlgo.h.
Referenced by fBrem().
|
private |
Definition at line 55 of file HiEgammaSCEnergyCorrectionAlgo.h.
Referenced by fBrem().
|
private |
Definition at line 54 of file HiEgammaSCEnergyCorrectionAlgo.h.
Referenced by fEta().
|
private |
Definition at line 56 of file HiEgammaSCEnergyCorrectionAlgo.h.
Referenced by fEtEta().
|
private |
Definition at line 48 of file HiEgammaSCEnergyCorrectionAlgo.h.
Referenced by nCrystalsGT2Sigma().
|
private |
Definition at line 51 of file HiEgammaSCEnergyCorrectionAlgo.h.
Referenced by applyCorrection(), fNCrystals(), and nCrystalsGT2Sigma().