#include <EGEnergyCorrector.h>
Public Member Functions | |
std::pair< double, double > | CorrectedEnergyWithError (const reco::Photon &p, const reco::VertexCollection &vtxcol, EcalClusterLazyTools &clustertools, const edm::EventSetup &es) |
std::pair< double, double > | CorrectedEnergyWithError (const reco::GsfElectron &e, const reco::VertexCollection &vtxcol, EcalClusterLazyTools &clustertools, const edm::EventSetup &es) |
std::pair< double, double > | CorrectedEnergyWithErrorV3 (const reco::Photon &p, const reco::VertexCollection &vtxcol, double rho, EcalClusterLazyTools &clustertools, const edm::EventSetup &es, bool applyRescale=false) |
std::pair< double, double > | CorrectedEnergyWithErrorV3 (const reco::GsfElectron &e, const reco::VertexCollection &vtxcol, double rho, EcalClusterLazyTools &clustertools, const edm::EventSetup &es) |
EGEnergyCorrector () | |
void | Initialize (const edm::EventSetup &iSetup, std::string regweights, bool weightsFromDB=false) |
Bool_t | IsInitialized () const |
~EGEnergyCorrector () | |
Protected Attributes | |
EcalClusterLocal | _ecalLocal |
Bool_t | fIsInitialized |
Bool_t | fOwnsForests |
const GBRForest * | fReadereb |
const GBRForest * | fReaderebvariance |
const GBRForest * | fReaderee |
const GBRForest * | fReadereevariance |
Float_t * | fVals |
Definition at line 22 of file EGEnergyCorrector.h.
EGEnergyCorrector::EGEnergyCorrector | ( | ) |
Definition at line 17 of file EGEnergyCorrector.cc.
EGEnergyCorrector::~EGEnergyCorrector | ( | ) |
Definition at line 31 of file EGEnergyCorrector.cc.
References fOwnsForests, fReadereb, fReaderebvariance, fReaderee, fReadereevariance, and fVals.
std::pair< double, double > EGEnergyCorrector::CorrectedEnergyWithError | ( | const reco::Photon & | p, |
const reco::VertexCollection & | vtxcol, | ||
EcalClusterLazyTools & | clustertools, | ||
const edm::EventSetup & | es | ||
) |
Definition at line 91 of file EGEnergyCorrector.cc.
References _ecalLocal, b, reco::deltaPhi(), EcalClusterLazyTools::e2nd(), EcalClusterLazyTools::e3x3(), EcalClusterLazyTools::e5x5(), reco::Photon::e5x5(), EcalClusterLazyTools::eBottom(), EcalBarrel, EcalClusterLazyTools::eLeft(), EcalClusterLazyTools::eMax(), EcalClusterLazyTools::eRight(), EcalClusterLazyTools::eTop(), fReadereb, fReaderebvariance, fReaderee, fReadereevariance, fVals, GBRForest::GetResponse(), reco::Photon::hadronicOverEm(), edm::Ptr< T >::isNonnull(), EcalClusterLocal::localCoordsEB(), EcalClusterLazyTools::localCovariances(), create_public_lumi_plots::log, reco::Photon::r9(), matplotRender::reader, alignCSCRings::s, mathSSE::sqrt(), and reco::Photon::superCluster().
Referenced by EGEnergyAnalyzer::analyze(), and PhotonEnergyCorrector::calculate().
std::pair< double, double > EGEnergyCorrector::CorrectedEnergyWithError | ( | const reco::GsfElectron & | e, |
const reco::VertexCollection & | vtxcol, | ||
EcalClusterLazyTools & | clustertools, | ||
const edm::EventSetup & | es | ||
) |
Definition at line 290 of file EGEnergyCorrector.cc.
References _ecalLocal, b, reco::deltaPhi(), EcalClusterLazyTools::e2nd(), EcalClusterLazyTools::e3x3(), EcalClusterLazyTools::e5x5(), EcalClusterLazyTools::eBottom(), EcalBarrel, reco::GsfElectron::ecalDrivenSeed(), EcalClusterLazyTools::eLeft(), EcalClusterLazyTools::eMax(), EcalClusterLazyTools::eRight(), EcalClusterLazyTools::eTop(), fReadereb, fReaderebvariance, fReaderee, fReadereevariance, fVals, GBRForest::GetResponse(), reco::GsfElectron::hcalOverEcal(), edm::Ptr< T >::isNonnull(), EcalClusterLocal::localCoordsEB(), EcalClusterLazyTools::localCovariances(), create_public_lumi_plots::log, matplotRender::reader, alignCSCRings::s, mathSSE::sqrt(), and reco::GsfElectron::superCluster().
std::pair< double, double > EGEnergyCorrector::CorrectedEnergyWithErrorV3 | ( | const reco::Photon & | p, |
const reco::VertexCollection & | vtxcol, | ||
double | rho, | ||
EcalClusterLazyTools & | clustertools, | ||
const edm::EventSetup & | es, | ||
bool | applyRescale = false |
||
) |
Definition at line 484 of file EGEnergyCorrector.cc.
References _ecalLocal, b, reco::deltaPhi(), EcalClusterLazyTools::e2nd(), EcalClusterLazyTools::e2x5Bottom(), EcalClusterLazyTools::e2x5Left(), EcalClusterLazyTools::e2x5Max(), EcalClusterLazyTools::e2x5Right(), EcalClusterLazyTools::e2x5Top(), EcalClusterLazyTools::e3x3(), EcalClusterLazyTools::e5x5(), reco::Photon::e5x5(), EcalClusterLazyTools::eBottom(), EcalBarrel, EcalClusterLazyTools::eLeft(), EcalClusterLazyTools::eMax(), EcalClusterLazyTools::eRight(), EcalClusterLazyTools::eTop(), fReadereb, fReaderebvariance, fReaderee, fReadereevariance, fVals, GBRForest::GetResponse(), reco::Photon::hadTowOverEm(), EcalClusterLocal::localCoordsEB(), EcalClusterLazyTools::localCovariances(), siStripFEDMonitor_P5_cff::Min, reco::Photon::r9(), matplotRender::reader, rho, alignCSCRings::s, mathSSE::sqrt(), and reco::Photon::superCluster().
std::pair< double, double > EGEnergyCorrector::CorrectedEnergyWithErrorV3 | ( | const reco::GsfElectron & | e, |
const reco::VertexCollection & | vtxcol, | ||
double | rho, | ||
EcalClusterLazyTools & | clustertools, | ||
const edm::EventSetup & | es | ||
) |
Definition at line 646 of file EGEnergyCorrector.cc.
References _ecalLocal, b, reco::deltaPhi(), EcalClusterLazyTools::e2nd(), EcalClusterLazyTools::e2x5Bottom(), EcalClusterLazyTools::e2x5Left(), EcalClusterLazyTools::e2x5Max(), EcalClusterLazyTools::e2x5Right(), EcalClusterLazyTools::e2x5Top(), EcalClusterLazyTools::e3x3(), EcalClusterLazyTools::e5x5(), EcalClusterLazyTools::eBottom(), EcalBarrel, EcalClusterLazyTools::eLeft(), EcalClusterLazyTools::eMax(), EcalClusterLazyTools::eRight(), EcalClusterLazyTools::eTop(), fReadereb, fReaderebvariance, fReaderee, fReadereevariance, fVals, GBRForest::GetResponse(), reco::GsfElectron::hcalOverEcalBc(), EcalClusterLocal::localCoordsEB(), EcalClusterLazyTools::localCovariances(), matplotRender::reader, rho, alignCSCRings::s, mathSSE::sqrt(), and reco::GsfElectron::superCluster().
void EGEnergyCorrector::Initialize | ( | const edm::EventSetup & | iSetup, |
std::string | regweights, | ||
bool | weightsFromDB = false |
||
) |
Definition at line 46 of file EGEnergyCorrector.cc.
References fIsInitialized, fOwnsForests, fReadereb, fReaderebvariance, fReaderee, fReadereevariance, fVals, edm::EventSetup::get(), edm::ESHandle< class >::product(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by EGEnergyAnalyzer::analyze(), and PhotonEnergyCorrector::init().
|
inline |
Definition at line 28 of file EGEnergyCorrector.h.
References fIsInitialized.
Referenced by EGEnergyAnalyzer::analyze(), and PhotonEnergyCorrector::init().
|
protected |
Definition at line 46 of file EGEnergyCorrector.h.
Referenced by CorrectedEnergyWithError(), and CorrectedEnergyWithErrorV3().
|
protected |
Definition at line 42 of file EGEnergyCorrector.h.
Referenced by Initialize(), and IsInitialized().
|
protected |
Definition at line 43 of file EGEnergyCorrector.h.
Referenced by Initialize(), and ~EGEnergyCorrector().
|
protected |
Definition at line 37 of file EGEnergyCorrector.h.
Referenced by CorrectedEnergyWithError(), CorrectedEnergyWithErrorV3(), Initialize(), and ~EGEnergyCorrector().
|
protected |
Definition at line 38 of file EGEnergyCorrector.h.
Referenced by CorrectedEnergyWithError(), CorrectedEnergyWithErrorV3(), Initialize(), and ~EGEnergyCorrector().
|
protected |
Definition at line 39 of file EGEnergyCorrector.h.
Referenced by CorrectedEnergyWithError(), CorrectedEnergyWithErrorV3(), Initialize(), and ~EGEnergyCorrector().
|
protected |
Definition at line 40 of file EGEnergyCorrector.h.
Referenced by CorrectedEnergyWithError(), CorrectedEnergyWithErrorV3(), Initialize(), and ~EGEnergyCorrector().
|
protected |
Definition at line 44 of file EGEnergyCorrector.h.
Referenced by CorrectedEnergyWithError(), CorrectedEnergyWithErrorV3(), Initialize(), and ~EGEnergyCorrector().