#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 11 of file HiEgammaSCEnergyCorrectionAlgo.cc.
References edm::ParameterSet::getParameter(), maxR9_, minR9Barrel_, minR9Endcap_, p_fBrem_, p_fBremTh_, p_fEta_, p_fEtEta_, sigmaElectronicNoise_, PFRecoTauDiscriminationAgainstMuon2_cfi::verbosity, and verbosity_.
|
inline |
Definition at line 34 of file HiEgammaSCEnergyCorrectionAlgo.h.
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 38 of file HiEgammaSCEnergyCorrectionAlgo.cc.
References SuperClusterShapeAlgo::Calculate_Covariances(), reco::SuperCluster::clustersBegin(), reco::SuperCluster::clustersEnd(), gather_cfg::cout, EcalClusterTools::e3x3(), EcalClusterTools::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().
|
private |
Definition at line 206 of file HiEgammaSCEnergyCorrectionAlgo.cc.
References EcalBarrel, EcalEndcap, f, reco::CaloCluster::island, evf::evtn::offset(), p_fBrem_, and p_fBremTh_.
Referenced by applyCorrection().
|
private |
Definition at line 187 of file HiEgammaSCEnergyCorrectionAlgo.cc.
References EcalBarrel, EcalEndcap, eta(), f, reco::CaloCluster::island, evf::evtn::offset(), and p_fEta_.
Referenced by applyCorrection().
|
private |
Definition at line 163 of file HiEgammaSCEnergyCorrectionAlgo.cc.
References EcalBarrel, EcalEndcap, eta(), f, reco::CaloCluster::island, evf::evtn::offset(), p_fEtEta_, and mathSSE::sqrt().
Referenced by applyCorrection().
|
private |
Definition at line 234 of file HiEgammaSCEnergyCorrectionAlgo.cc.
References gather_cfg::cout, EcalBarrel, EcalEndcap, f, reco::CaloCluster::island, p1, p2, p3, p4, pINFO, query::result, verbosity_, and vdt::x.
|
private |
Definition at line 274 of file HiEgammaSCEnergyCorrectionAlgo.cc.
References gather_cfg::cout, edm::SortedCollection< T, SORT >::find(), pINFO, sigmaElectronicNoise_, and verbosity_.
Referenced by applyCorrection().
|
inline |
Definition at line 45 of file HiEgammaSCEnergyCorrectionAlgo.h.
References PFRecoTauDiscriminationAgainstMuon2_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().