#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 SuperClusterShapeAlgo::Calculate_Covariances(), reco::SuperCluster::clustersBegin(), reco::SuperCluster::clustersEnd(), gather_cfg::cout, 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_.
|
private |
Definition at line 197 of file HiEgammaSCEnergyCorrectionAlgo.cc.
References EcalBarrel, EcalEndcap, validate-o2o-wbm::f, 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 EcalBarrel, EcalEndcap, PVValHelper::eta, validate-o2o-wbm::f, 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 EcalBarrel, EcalEndcap, PVValHelper::eta, validate-o2o-wbm::f, 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 gather_cfg::cout, EcalBarrel, EcalEndcap, validate-o2o-wbm::f, reco::CaloCluster::island, fireworks::p1, fireworks::p2, 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(), reco::CaloCluster::hitsAndFractions(), pINFO, 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().