#include <EGEnergyCorrector.h>
Public Member Functions | |
std::pair< double, double > | CorrectedEnergyWithError (const reco::Photon &p, const reco::VertexCollection &vtxcol, EcalClusterLazyTools &clustertools, CaloGeometry const &caloGeometry) |
std::pair< double, double > | CorrectedEnergyWithErrorV3 (const reco::Photon &p, const reco::VertexCollection &vtxcol, double rho, EcalClusterLazyTools &clustertools, CaloGeometry const &caloGeometry, bool applyRescale=false) |
void | Initialize (const edm::EventSetup &iSetup, std::string regweights, bool weightsFromDB=false) |
bool | IsInitialized () const |
~EGEnergyCorrector () | |
Protected Attributes | |
bool | fIsInitialized = false |
bool | fOwnsForests = false |
const GBRForest * | fReadereb = nullptr |
const GBRForest * | fReaderebvariance = nullptr |
const GBRForest * | fReaderee = nullptr |
const GBRForest * | fReadereevariance = nullptr |
std::array< float, 73 > | fVals |
Definition at line 22 of file EGEnergyCorrector.h.
EGEnergyCorrector::~EGEnergyCorrector | ( | ) |
Definition at line 17 of file EGEnergyCorrector.cc.
std::pair< double, double > EGEnergyCorrector::CorrectedEnergyWithError | ( | const reco::Photon & | p, |
const reco::VertexCollection & | vtxcol, | ||
EcalClusterLazyTools & | clustertools, | ||
CaloGeometry const & | caloGeometry | ||
) |
Definition at line 77 of file EGEnergyCorrector.cc.
References Abs(), b, b2, reco::deltaPhi(), EcalBarrel, reco::CaloCluster::energy(), reco::CaloCluster::eta(), GBRForest::GetResponse(), edm::Ptr< T >::isNonnull(), egammaTools::localEcalClusterCoordsEB(), dqm-mbProfile::log, AlCaHLTBitMon_ParallelJobs::p, reco::CaloCluster::phi(), DQM::reader, alignCSCRings::s, and mathSSE::sqrt().
Referenced by EGEnergyAnalyzer::analyze().
std::pair< double, double > EGEnergyCorrector::CorrectedEnergyWithErrorV3 | ( | const reco::Photon & | p, |
const reco::VertexCollection & | vtxcol, | ||
double | rho, | ||
EcalClusterLazyTools & | clustertools, | ||
CaloGeometry const & | caloGeometry, | ||
bool | applyRescale = false |
||
) |
Definition at line 272 of file EGEnergyCorrector.cc.
References Abs(), b, reco::deltaPhi(), EcalBarrel, GBRForest::GetResponse(), egammaTools::localEcalClusterCoordsEB(), Min(), AlCaHLTBitMon_ParallelJobs::p, DQM::reader, alignCSCRings::s, and mathSSE::sqrt().
void EGEnergyCorrector::Initialize | ( | const edm::EventSetup & | iSetup, |
std::string | regweights, | ||
bool | weightsFromDB = false |
||
) |
Definition at line 31 of file EGEnergyCorrector.cc.
References f, reco::get(), edm::EventSetup::get(), and edm::ESHandle< T >::product().
Referenced by EGEnergyAnalyzer::analyze().
|
inline |
Definition at line 27 of file EGEnergyCorrector.h.
References fIsInitialized.
Referenced by EGEnergyAnalyzer::analyze().
|
protected |
Definition at line 47 of file EGEnergyCorrector.h.
Referenced by IsInitialized().
|
protected |
Definition at line 48 of file EGEnergyCorrector.h.
|
protected |
Definition at line 42 of file EGEnergyCorrector.h.
|
protected |
Definition at line 43 of file EGEnergyCorrector.h.
|
protected |
Definition at line 44 of file EGEnergyCorrector.h.
|
protected |
Definition at line 45 of file EGEnergyCorrector.h.
|
protected |
Definition at line 49 of file EGEnergyCorrector.h.