#include <EGEnergyCorrector.h>
Public Member Functions | |
std::pair< double, double > | CorrectedEnergyWithError (const reco::GsfElectron &e, const reco::VertexCollection &vtxcol, EcalClusterLazyTools &clustertools, const edm::EventSetup &es) |
std::pair< double, double > | CorrectedEnergyWithError (const reco::Photon &p, const reco::VertexCollection &vtxcol, EcalClusterLazyTools &clustertools, const edm::EventSetup &es) |
std::pair< double, double > | CorrectedEnergyWithErrorV3 (const reco::GsfElectron &e, const reco::VertexCollection &vtxcol, double rho, 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) |
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 30 of file EGEnergyCorrector.cc.
References fOwnsForests, fReadereb, fReaderebvariance, fReaderee, fReadereevariance, and fVals.
std::pair< double, double > EGEnergyCorrector::CorrectedEnergyWithError | ( | const reco::GsfElectron & | e, |
const reco::VertexCollection & | vtxcol, | ||
EcalClusterLazyTools & | clustertools, | ||
const edm::EventSetup & | es | ||
) |
Definition at line 292 of file EGEnergyCorrector.cc.
References Abs(), b, b2, reco::deltaPhi(), MillePedeFileConverter_cfg::e, EcalBarrel, reco::CaloCluster::energy(), reco::CaloCluster::eta(), fReadereb, fReaderebvariance, fReaderee, fReadereevariance, fVals, edm::EventSetup::get(), get, GBRForest::GetResponse(), edm::Ptr< T >::isNonnull(), egammaTools::localEcalClusterCoordsEB(), dqm-mbProfile::log, reco::CaloCluster::phi(), DQM::reader, alignCSCRings::s, and mathSSE::sqrt().
std::pair< double, double > EGEnergyCorrector::CorrectedEnergyWithError | ( | const reco::Photon & | p, |
const reco::VertexCollection & | vtxcol, | ||
EcalClusterLazyTools & | clustertools, | ||
const edm::EventSetup & | es | ||
) |
Definition at line 95 of file EGEnergyCorrector.cc.
References Abs(), b, b2, reco::deltaPhi(), EcalBarrel, reco::CaloCluster::energy(), reco::CaloCluster::eta(), fReadereb, fReaderebvariance, fReaderee, fReadereevariance, fVals, edm::EventSetup::get(), get, 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::GsfElectron & | e, |
const reco::VertexCollection & | vtxcol, | ||
double | rho, | ||
EcalClusterLazyTools & | clustertools, | ||
const edm::EventSetup & | es | ||
) |
Definition at line 652 of file EGEnergyCorrector.cc.
References Abs(), b, reco::deltaPhi(), MillePedeFileConverter_cfg::e, EcalBarrel, fReadereb, fReaderebvariance, fReaderee, fReadereevariance, fVals, edm::EventSetup::get(), get, GBRForest::GetResponse(), egammaTools::localEcalClusterCoordsEB(), DQM::reader, rho, alignCSCRings::s, and mathSSE::sqrt().
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 486 of file EGEnergyCorrector.cc.
References Abs(), b, reco::deltaPhi(), EcalBarrel, fReadereb, fReaderebvariance, fReaderee, fReadereevariance, fVals, edm::EventSetup::get(), get, GBRForest::GetResponse(), egammaTools::localEcalClusterCoordsEB(), Min(), AlCaHLTBitMon_ParallelJobs::p, DQM::reader, rho, alignCSCRings::s, and mathSSE::sqrt().
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(), 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 56 of file EGEnergyCorrector.h.
Referenced by Initialize(), and IsInitialized().
|
protected |
Definition at line 57 of file EGEnergyCorrector.h.
Referenced by Initialize(), and ~EGEnergyCorrector().
|
protected |
Definition at line 51 of file EGEnergyCorrector.h.
Referenced by CorrectedEnergyWithError(), CorrectedEnergyWithErrorV3(), Initialize(), and ~EGEnergyCorrector().
|
protected |
Definition at line 52 of file EGEnergyCorrector.h.
Referenced by CorrectedEnergyWithError(), CorrectedEnergyWithErrorV3(), Initialize(), and ~EGEnergyCorrector().
|
protected |
Definition at line 53 of file EGEnergyCorrector.h.
Referenced by CorrectedEnergyWithError(), CorrectedEnergyWithErrorV3(), Initialize(), and ~EGEnergyCorrector().
|
protected |
Definition at line 54 of file EGEnergyCorrector.h.
Referenced by CorrectedEnergyWithError(), CorrectedEnergyWithErrorV3(), Initialize(), and ~EGEnergyCorrector().
|
protected |
Definition at line 58 of file EGEnergyCorrector.h.
Referenced by CorrectedEnergyWithError(), CorrectedEnergyWithErrorV3(), Initialize(), and ~EGEnergyCorrector().