#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 | |
Bool_t | fIsInitialized |
Bool_t | fOwnsForests |
const GBRForest * | fReadereb |
const GBRForest * | fReaderebvariance |
const GBRForest * | fReaderee |
const GBRForest * | fReadereevariance |
Float_t * | fVals |
Definition at line 21 of file EGEnergyCorrector.h.
EGEnergyCorrector::EGEnergyCorrector | ( | ) |
Definition at line 18 of file EGEnergyCorrector.cc.
EGEnergyCorrector::~EGEnergyCorrector | ( | ) |
Definition at line 32 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 92 of file EGEnergyCorrector.cc.
References Abs(), b, reco::deltaPhi(), reco::Photon::e5x5(), EcalBarrel, reco::CaloCluster::energy(), reco::CaloCluster::eta(), fReadereb, fReaderebvariance, fReaderee, fReadereevariance, fVals, edm::EventSetup::get(), GBRForest::GetResponse(), reco::Photon::hadronicOverEm(), reco::CaloCluster::hitsAndFractions(), edm::Ptr< T >::isNonnull(), egammaTools::localEcalClusterCoordsEB(), cmsBatch::log, reco::CaloCluster::phi(), reco::Photon::r9(), matplotRender::reader, alignCSCRings::s, mathSSE::sqrt(), and reco::Photon::superCluster().
Referenced by EGEnergyAnalyzer::analyze(), and IsInitialized().
std::pair< double, double > EGEnergyCorrector::CorrectedEnergyWithError | ( | const reco::GsfElectron & | e, |
const reco::VertexCollection & | vtxcol, | ||
EcalClusterLazyTools & | clustertools, | ||
const edm::EventSetup & | es | ||
) |
Definition at line 294 of file EGEnergyCorrector.cc.
References Abs(), b, reco::deltaPhi(), EcalBarrel, reco::GsfElectron::ecalDrivenSeed(), reco::CaloCluster::energy(), reco::CaloCluster::eta(), fReadereb, fReaderebvariance, fReaderee, fReadereevariance, fVals, edm::EventSetup::get(), GBRForest::GetResponse(), reco::GsfElectron::hcalOverEcal(), reco::CaloCluster::hitsAndFractions(), edm::Ptr< T >::isNonnull(), egammaTools::localEcalClusterCoordsEB(), cmsBatch::log, reco::CaloCluster::phi(), 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 491 of file EGEnergyCorrector.cc.
References Abs(), b, reco::deltaPhi(), reco::Photon::e5x5(), EcalBarrel, reco::CaloCluster::energy(), reco::CaloCluster::eta(), fReadereb, fReaderebvariance, fReaderee, fReadereevariance, fVals, edm::EventSetup::get(), GBRForest::GetResponse(), reco::Photon::hadTowOverEm(), reco::CaloCluster::hitsAndFractions(), egammaTools::localEcalClusterCoordsEB(), Min(), reco::CaloCluster::phi(), reco::Photon::r9(), matplotRender::reader, rho, alignCSCRings::s, mathSSE::sqrt(), and reco::Photon::superCluster().
Referenced by IsInitialized().
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 655 of file EGEnergyCorrector.cc.
References Abs(), b, reco::deltaPhi(), EcalBarrel, reco::CaloCluster::energy(), reco::CaloCluster::eta(), fReadereb, fReaderebvariance, fReaderee, fReadereevariance, fVals, edm::EventSetup::get(), GBRForest::GetResponse(), reco::GsfElectron::hcalOverEcalBc(), reco::CaloCluster::hitsAndFractions(), egammaTools::localEcalClusterCoordsEB(), reco::CaloCluster::phi(), 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 47 of file EGEnergyCorrector.cc.
References fIsInitialized, fOwnsForests, fReadereb, fReaderebvariance, fReaderee, fReadereevariance, fVals, edm::EventSetup::get(), and edm::ESHandle< T >::product().
Referenced by EGEnergyAnalyzer::analyze().
|
inline |
Definition at line 27 of file EGEnergyCorrector.h.
References CorrectedEnergyWithError(), CorrectedEnergyWithErrorV3(), MillePedeFileConverter_cfg::e, fIsInitialized, AlCaHLTBitMon_ParallelJobs::p, and rho.
Referenced by EGEnergyAnalyzer::analyze().
|
protected |
Definition at line 41 of file EGEnergyCorrector.h.
Referenced by Initialize(), and IsInitialized().
|
protected |
Definition at line 42 of file EGEnergyCorrector.h.
Referenced by Initialize(), and ~EGEnergyCorrector().
|
protected |
Definition at line 36 of file EGEnergyCorrector.h.
Referenced by CorrectedEnergyWithError(), CorrectedEnergyWithErrorV3(), 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 43 of file EGEnergyCorrector.h.
Referenced by CorrectedEnergyWithError(), CorrectedEnergyWithErrorV3(), Initialize(), and ~EGEnergyCorrector().