#include <EGammaMvaEleEstimatorCSA14.h>
Public Types | |
enum | MVAType { kTrig = 0, kNonTrig = 1, kNonTrigPhys14 = 2 } |
Public Member Functions | |
void | bindVariables () |
EGammaMvaEleEstimatorCSA14 () | |
UInt_t | GetMVABin (double eta, double pt) const |
void | initialize (std::string methodName, std::string weightsfile, EGammaMvaEleEstimatorCSA14::MVAType type) |
void | initialize (std::string methodName, EGammaMvaEleEstimatorCSA14::MVAType type, Bool_t useBinnedVersion, std::vector< std::string > weightsfiles) |
Bool_t | isInitialized () const |
Double_t | mvaValue (const reco::GsfElectron &ele, const reco::Vertex &vertex, const TransientTrackBuilder &transientTrackBuilder, noZS::EcalClusterLazyTools myEcalCluster, bool printDebug=kFALSE) |
Double_t | mvaValue (const pat::Electron &ele, bool printDebug) |
~EGammaMvaEleEstimatorCSA14 () | |
Definition at line 38 of file EGammaMvaEleEstimatorCSA14.h.
EGammaMvaEleEstimatorCSA14::EGammaMvaEleEstimatorCSA14 | ( | ) |
Definition at line 11 of file EGammaMvaEleEstimatorCSA14.cc.
EGammaMvaEleEstimatorCSA14::~EGammaMvaEleEstimatorCSA14 | ( | ) |
Definition at line 17 of file EGammaMvaEleEstimatorCSA14.cc.
References fTMVAReader, and mps_fire::i.
void EGammaMvaEleEstimatorCSA14::bindVariables | ( | ) |
Definition at line 451 of file EGammaMvaEleEstimatorCSA14.cc.
References fMVAVar_deta, fMVAVar_detacalo, fMVAVar_dphi, fMVAVar_eleEoPout, fMVAVar_EoP, fMVAVar_fbrem, fMVAVar_gsfchi2, fMVAVar_kfchi2, fMVAVar_OneMinusE1x5E5x5, fMVAVar_R9, fMVAVar_spp, CommonMethods::isnan(), and edm::isNotFinite().
Referenced by mvaValue().
UInt_t EGammaMvaEleEstimatorCSA14::GetMVABin | ( | double | eta, |
double | pt | ||
) | const |
Definition at line 205 of file EGammaMvaEleEstimatorCSA14.cc.
References newFWLiteAna::bin, PVValHelper::eta, fMVAType, kNonTrig, kNonTrigPhys14, kTrig, and DiDispStaMuonMonitor_cfi::pt.
Referenced by mvaValue().
void EGammaMvaEleEstimatorCSA14::initialize | ( | std::string | methodName, |
std::string | weightsfile, | ||
EGammaMvaEleEstimatorCSA14::MVAType | type | ||
) |
Definition at line 25 of file EGammaMvaEleEstimatorCSA14.cc.
Referenced by heppy::EGammaMvaEleEstimatorFWLite::initialize().
void EGammaMvaEleEstimatorCSA14::initialize | ( | std::string | methodName, |
EGammaMvaEleEstimatorCSA14::MVAType | type, | ||
Bool_t | useBinnedVersion, | ||
std::vector< std::string > | weightsfiles | ||
) |
Definition at line 34 of file EGammaMvaEleEstimatorCSA14.cc.
References cms::cuda::assert(), gather_cfg::cout, data, Exception, geometryDiff::file, fisInitialized, fMethodname, fMVAType, fMVAVar_abseta, fMVAVar_deta, fMVAVar_detacalo, fMVAVar_dphi, fMVAVar_eleEoPout, fMVAVar_EoP, fMVAVar_etawidth, fMVAVar_fbrem, fMVAVar_gsfchi2, fMVAVar_HoE, fMVAVar_IoEmIoP, fMVAVar_isBarrel, fMVAVar_isEndcap, fMVAVar_kfchi2, fMVAVar_kfhits, fMVAVar_OneMinusE1x5E5x5, fMVAVar_phiwidth, fMVAVar_PreShowerOverRaw, fMVAVar_pt, fMVAVar_R9, fMVAVar_SCeta, fMVAVar_see, fMVAVar_spp, fNMVABins, free(), fTMVAMethod, fTMVAReader, fUseBinnedVersion, mps_fire::i, kNonTrig, kNonTrigPhys14, kTrig, malloc(), and fileinputsource_cfi::read.
|
inline |
Definition at line 55 of file EGammaMvaEleEstimatorCSA14.h.
References fisInitialized.
Double_t EGammaMvaEleEstimatorCSA14::mvaValue | ( | const reco::GsfElectron & | ele, |
const reco::Vertex & | vertex, | ||
const TransientTrackBuilder & | transientTrackBuilder, | ||
noZS::EcalClusterLazyTools | myEcalCluster, | ||
bool | printDebug = kFALSE |
||
) |
Definition at line 251 of file EGammaMvaEleEstimatorCSA14.cc.
References IPTools::absoluteImpactParameter3D(), newFWLiteAna::bin, bindVariables(), TransientTrackBuilder::build(), reco::GsfElectron::closestCtfTrackRef(), gather_cfg::cout, reco::GsfElectron::deltaEtaSeedClusterTrackAtCalo(), reco::GsfElectron::deltaEtaSuperClusterTrackAtVtx(), reco::GsfElectron::deltaPhiSuperClusterTrackAtVtx(), EcalClusterLazyToolsT< ClusterTools >::e1x5(), EcalClusterLazyToolsT< ClusterTools >::e3x3(), EcalClusterLazyToolsT< ClusterTools >::e5x5(), reco::GsfElectron::e5x5(), reco::GsfElectron::ecalEnergy(), reco::GsfElectron::eEleClusterOverPout(), reco::GsfElectron::eSuperClusterOverP(), reco::GsfElectron::fbrem(), fisInitialized, fMethodname, fMVAType, fMVAVar_abseta, fMVAVar_d0, fMVAVar_deta, fMVAVar_detacalo, fMVAVar_dphi, fMVAVar_eleEoPout, fMVAVar_EoP, fMVAVar_eta, fMVAVar_etawidth, fMVAVar_fbrem, fMVAVar_gsfchi2, fMVAVar_HoE, fMVAVar_IoEmIoP, fMVAVar_ip3d, fMVAVar_ip3dSig, fMVAVar_isBarrel, fMVAVar_isEndcap, fMVAVar_kfchi2, fMVAVar_kfhits, fMVAVar_kfhitsall, fMVAVar_OneMinusE1x5E5x5, fMVAVar_phiwidth, fMVAVar_PreShowerOverRaw, fMVAVar_pt, fMVAVar_R9, fMVAVar_SCeta, fMVAVar_see, fMVAVar_spp, fTMVAMethod, fTMVAReader, fUseBinnedVersion, GetMVABin(), reco::GsfElectron::gsfTrack(), reco::GsfElectron::hadronicOverEm(), electrons_cff::ip3d, edm::Ref< C, T, F >::isAvailable(), edm::isFinite(), edm::Ref< C, T, F >::isNonnull(), kNonTrig, kNonTrigPhys14, kTrig, EcalClusterLazyToolsT< ClusterTools >::localCovariances(), beam_dqm_sourceclient-live_cfg::mva, reco::LeafCandidate::p(), HLT_2024v11_cff::printDebug, reco::LeafCandidate::pt(), mathSSE::sqrt(), reco::GsfElectron::superCluster(), and bphysicsOniaDQM_cfi::vertex.
Referenced by heppy::EGammaMvaEleEstimatorFWLite::mvaValue().
Double_t EGammaMvaEleEstimatorCSA14::mvaValue | ( | const pat::Electron & | ele, |
bool | printDebug | ||
) |
Definition at line 372 of file EGammaMvaEleEstimatorCSA14.cc.
References newFWLiteAna::bin, bindVariables(), pat::Electron::closestCtfTrackRef(), gather_cfg::cout, reco::GsfElectron::deltaEtaSeedClusterTrackAtCalo(), reco::GsfElectron::deltaEtaSuperClusterTrackAtVtx(), reco::GsfElectron::deltaPhiSuperClusterTrackAtVtx(), reco::GsfElectron::ecalEnergy(), reco::GsfElectron::eEleClusterOverPout(), reco::GsfElectron::eSuperClusterOverP(), reco::GsfElectron::fbrem(), fisInitialized, fMethodname, fMVAType, fMVAVar_abseta, fMVAVar_deta, fMVAVar_detacalo, fMVAVar_dphi, fMVAVar_eleEoPout, fMVAVar_EoP, fMVAVar_eta, fMVAVar_etawidth, fMVAVar_fbrem, fMVAVar_gsfchi2, fMVAVar_HoE, fMVAVar_IoEmIoP, fMVAVar_isBarrel, fMVAVar_isEndcap, fMVAVar_kfchi2, fMVAVar_kfhits, fMVAVar_kfhitsall, fMVAVar_OneMinusE1x5E5x5, fMVAVar_phiwidth, fMVAVar_PreShowerOverRaw, fMVAVar_pt, fMVAVar_R9, fMVAVar_SCeta, fMVAVar_see, fMVAVar_spp, fTMVAMethod, fTMVAReader, reco::GsfElectron::full5x5_e1x5(), reco::GsfElectron::full5x5_e5x5(), reco::GsfElectron::full5x5_r9(), reco::GsfElectron::full5x5_sigmaIetaIeta(), reco::GsfElectron::full5x5_sigmaIphiIphi(), fUseBinnedVersion, GetMVABin(), pat::Electron::gsfTrack(), reco::GsfElectron::hadronicOverEm(), edm::Ref< C, T, F >::isAvailable(), edm::Ref< C, T, F >::isNonnull(), kNonTrig, kNonTrigPhys14, kTrig, beam_dqm_sourceclient-live_cfg::mva, reco::LeafCandidate::p(), HLT_2024v11_cff::printDebug, reco::LeafCandidate::pt(), and pat::Electron::superCluster().
|
private |
Definition at line 73 of file EGammaMvaEleEstimatorCSA14.h.
Referenced by initialize(), isInitialized(), and mvaValue().
|
private |
Definition at line 72 of file EGammaMvaEleEstimatorCSA14.h.
Referenced by initialize(), and mvaValue().
|
private |
Definition at line 74 of file EGammaMvaEleEstimatorCSA14.h.
Referenced by GetMVABin(), initialize(), and mvaValue().
|
private |
Definition at line 107 of file EGammaMvaEleEstimatorCSA14.h.
Referenced by initialize(), and mvaValue().
|
private |
Definition at line 114 of file EGammaMvaEleEstimatorCSA14.h.
|
private |
Definition at line 115 of file EGammaMvaEleEstimatorCSA14.h.
|
private |
Definition at line 116 of file EGammaMvaEleEstimatorCSA14.h.
|
private |
Definition at line 117 of file EGammaMvaEleEstimatorCSA14.h.
|
private |
Definition at line 118 of file EGammaMvaEleEstimatorCSA14.h.
|
private |
Definition at line 102 of file EGammaMvaEleEstimatorCSA14.h.
Referenced by mvaValue().
|
private |
Definition at line 84 of file EGammaMvaEleEstimatorCSA14.h.
Referenced by bindVariables(), initialize(), and mvaValue().
|
private |
Definition at line 86 of file EGammaMvaEleEstimatorCSA14.h.
Referenced by bindVariables(), initialize(), and mvaValue().
|
private |
Definition at line 85 of file EGammaMvaEleEstimatorCSA14.h.
Referenced by bindVariables(), initialize(), and mvaValue().
|
private |
Definition at line 98 of file EGammaMvaEleEstimatorCSA14.h.
Referenced by bindVariables(), initialize(), and mvaValue().
|
private |
Definition at line 96 of file EGammaMvaEleEstimatorCSA14.h.
Referenced by bindVariables(), initialize(), and mvaValue().
|
private |
Definition at line 99 of file EGammaMvaEleEstimatorCSA14.h.
|
private |
Definition at line 106 of file EGammaMvaEleEstimatorCSA14.h.
Referenced by mvaValue().
|
private |
Definition at line 90 of file EGammaMvaEleEstimatorCSA14.h.
Referenced by initialize(), and mvaValue().
|
private |
Definition at line 78 of file EGammaMvaEleEstimatorCSA14.h.
Referenced by bindVariables(), initialize(), and mvaValue().
|
private |
Definition at line 119 of file EGammaMvaEleEstimatorCSA14.h.
|
private |
Definition at line 120 of file EGammaMvaEleEstimatorCSA14.h.
|
private |
Definition at line 121 of file EGammaMvaEleEstimatorCSA14.h.
|
private |
Definition at line 122 of file EGammaMvaEleEstimatorCSA14.h.
|
private |
Definition at line 123 of file EGammaMvaEleEstimatorCSA14.h.
|
private |
Definition at line 82 of file EGammaMvaEleEstimatorCSA14.h.
Referenced by bindVariables(), initialize(), and mvaValue().
|
private |
Definition at line 95 of file EGammaMvaEleEstimatorCSA14.h.
Referenced by initialize(), and mvaValue().
|
private |
Definition at line 97 of file EGammaMvaEleEstimatorCSA14.h.
Referenced by initialize(), and mvaValue().
|
private |
Definition at line 103 of file EGammaMvaEleEstimatorCSA14.h.
Referenced by mvaValue().
|
private |
Definition at line 104 of file EGammaMvaEleEstimatorCSA14.h.
Referenced by mvaValue().
|
private |
Definition at line 110 of file EGammaMvaEleEstimatorCSA14.h.
Referenced by initialize(), and mvaValue().
|
private |
Definition at line 111 of file EGammaMvaEleEstimatorCSA14.h.
Referenced by initialize(), and mvaValue().
|
private |
Definition at line 79 of file EGammaMvaEleEstimatorCSA14.h.
Referenced by bindVariables(), initialize(), and mvaValue().
|
private |
Definition at line 80 of file EGammaMvaEleEstimatorCSA14.h.
Referenced by initialize(), and mvaValue().
|
private |
Definition at line 81 of file EGammaMvaEleEstimatorCSA14.h.
Referenced by mvaValue().
|
private |
Definition at line 124 of file EGammaMvaEleEstimatorCSA14.h.
|
private |
Definition at line 125 of file EGammaMvaEleEstimatorCSA14.h.
|
private |
Definition at line 126 of file EGammaMvaEleEstimatorCSA14.h.
|
private |
Definition at line 127 of file EGammaMvaEleEstimatorCSA14.h.
|
private |
Definition at line 128 of file EGammaMvaEleEstimatorCSA14.h.
|
private |
Definition at line 92 of file EGammaMvaEleEstimatorCSA14.h.
Referenced by bindVariables(), initialize(), and mvaValue().
|
private |
Definition at line 91 of file EGammaMvaEleEstimatorCSA14.h.
Referenced by initialize(), and mvaValue().
|
private |
Definition at line 100 of file EGammaMvaEleEstimatorCSA14.h.
Referenced by initialize(), and mvaValue().
|
private |
Definition at line 108 of file EGammaMvaEleEstimatorCSA14.h.
Referenced by initialize(), and mvaValue().
|
private |
Definition at line 93 of file EGammaMvaEleEstimatorCSA14.h.
Referenced by bindVariables(), initialize(), and mvaValue().
|
private |
Definition at line 109 of file EGammaMvaEleEstimatorCSA14.h.
|
private |
Definition at line 112 of file EGammaMvaEleEstimatorCSA14.h.
Referenced by initialize(), and mvaValue().
|
private |
Definition at line 88 of file EGammaMvaEleEstimatorCSA14.h.
Referenced by initialize(), and mvaValue().
|
private |
Definition at line 89 of file EGammaMvaEleEstimatorCSA14.h.
Referenced by bindVariables(), initialize(), and mvaValue().
|
private |
Definition at line 76 of file EGammaMvaEleEstimatorCSA14.h.
Referenced by initialize().
|
private |
Definition at line 71 of file EGammaMvaEleEstimatorCSA14.h.
Referenced by initialize(), and mvaValue().
|
private |
Definition at line 70 of file EGammaMvaEleEstimatorCSA14.h.
Referenced by initialize(), mvaValue(), and ~EGammaMvaEleEstimatorCSA14().
|
private |
Definition at line 75 of file EGammaMvaEleEstimatorCSA14.h.
Referenced by initialize(), and mvaValue().