#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 41 of file EGammaMvaEleEstimatorCSA14.h.
EGammaMvaEleEstimatorCSA14::EGammaMvaEleEstimatorCSA14 | ( | ) |
Definition at line 11 of file EGammaMvaEleEstimatorCSA14.cc.
EGammaMvaEleEstimatorCSA14::~EGammaMvaEleEstimatorCSA14 | ( | ) |
Definition at line 22 of file EGammaMvaEleEstimatorCSA14.cc.
References fTMVAMethod, fTMVAReader, and i.
void EGammaMvaEleEstimatorCSA14::bindVariables | ( | ) |
Definition at line 489 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, and edm::detail::isnan().
Referenced by mvaValue().
UInt_t EGammaMvaEleEstimatorCSA14::GetMVABin | ( | double | eta, |
double | pt | ||
) | const |
Definition at line 208 of file EGammaMvaEleEstimatorCSA14.cc.
References newFWLiteAna::bin, fMVAType, kNonTrig, kNonTrigPhys14, and kTrig.
Referenced by mvaValue().
void EGammaMvaEleEstimatorCSA14::initialize | ( | std::string | methodName, |
std::string | weightsfile, | ||
EGammaMvaEleEstimatorCSA14::MVAType | type | ||
) |
Definition at line 31 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 43 of file EGammaMvaEleEstimatorCSA14.cc.
References assert(), gather_cfg::cout, AlCaHLTBitMon_QueryRunRegistry::data, Exception, mergeVDriftHistosByStation::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, fTMVAMethod, fTMVAReader, fUseBinnedVersion, i, kNonTrig, kNonTrigPhys14, kTrig, and SiPixelLorentzAngle_cfi::read.
|
inline |
Definition at line 60 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 250 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< EcalClusterToolsImpl >::e1x5(), EcalClusterLazyToolsT< EcalClusterToolsImpl >::e3x3(), EcalClusterLazyToolsT< EcalClusterToolsImpl >::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(), edm::Ref< C, T, F >::isAvailable(), edm::detail::isnan(), edm::Ref< C, T, F >::isNonnull(), kNonTrig, kNonTrigPhys14, kTrig, EcalClusterLazyToolsT< EcalClusterToolsImpl >::localCovariances(), HLT_25ns10e33_v2_cff::mva, reco::LeafCandidate::p(), reco::Vertex::position(), reco::LeafCandidate::pt(), mathSSE::sqrt(), reco::GsfElectron::superCluster(), and groupFilesInBlocks::tt.
Referenced by heppy::EGammaMvaEleEstimatorFWLite::mvaValue().
Double_t EGammaMvaEleEstimatorCSA14::mvaValue | ( | const pat::Electron & | ele, |
bool | printDebug | ||
) |
Definition at line 387 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, HLT_25ns10e33_v2_cff::mva, reco::LeafCandidate::p(), reco::LeafCandidate::pt(), and pat::Electron::superCluster().
|
private |
Definition at line 87 of file EGammaMvaEleEstimatorCSA14.h.
Referenced by initialize(), isInitialized(), and mvaValue().
|
private |
Definition at line 86 of file EGammaMvaEleEstimatorCSA14.h.
Referenced by initialize(), and mvaValue().
|
private |
Definition at line 88 of file EGammaMvaEleEstimatorCSA14.h.
Referenced by GetMVABin(), initialize(), and mvaValue().
|
private |
Definition at line 121 of file EGammaMvaEleEstimatorCSA14.h.
Referenced by initialize(), and mvaValue().
|
private |
Definition at line 128 of file EGammaMvaEleEstimatorCSA14.h.
|
private |
Definition at line 129 of file EGammaMvaEleEstimatorCSA14.h.
|
private |
Definition at line 130 of file EGammaMvaEleEstimatorCSA14.h.
|
private |
Definition at line 131 of file EGammaMvaEleEstimatorCSA14.h.
|
private |
Definition at line 132 of file EGammaMvaEleEstimatorCSA14.h.
|
private |
Definition at line 116 of file EGammaMvaEleEstimatorCSA14.h.
Referenced by mvaValue().
|
private |
Definition at line 98 of file EGammaMvaEleEstimatorCSA14.h.
Referenced by bindVariables(), initialize(), and mvaValue().
|
private |
Definition at line 100 of file EGammaMvaEleEstimatorCSA14.h.
Referenced by bindVariables(), initialize(), and mvaValue().
|
private |
Definition at line 99 of file EGammaMvaEleEstimatorCSA14.h.
Referenced by bindVariables(), initialize(), and mvaValue().
|
private |
Definition at line 112 of file EGammaMvaEleEstimatorCSA14.h.
Referenced by bindVariables(), initialize(), and mvaValue().
|
private |
Definition at line 110 of file EGammaMvaEleEstimatorCSA14.h.
Referenced by bindVariables(), initialize(), and mvaValue().
|
private |
Definition at line 113 of file EGammaMvaEleEstimatorCSA14.h.
|
private |
Definition at line 120 of file EGammaMvaEleEstimatorCSA14.h.
Referenced by mvaValue().
|
private |
Definition at line 104 of file EGammaMvaEleEstimatorCSA14.h.
Referenced by initialize(), and mvaValue().
|
private |
Definition at line 92 of file EGammaMvaEleEstimatorCSA14.h.
Referenced by bindVariables(), initialize(), and mvaValue().
|
private |
Definition at line 133 of file EGammaMvaEleEstimatorCSA14.h.
|
private |
Definition at line 134 of file EGammaMvaEleEstimatorCSA14.h.
|
private |
Definition at line 135 of file EGammaMvaEleEstimatorCSA14.h.
|
private |
Definition at line 136 of file EGammaMvaEleEstimatorCSA14.h.
|
private |
Definition at line 137 of file EGammaMvaEleEstimatorCSA14.h.
|
private |
Definition at line 96 of file EGammaMvaEleEstimatorCSA14.h.
Referenced by bindVariables(), initialize(), and mvaValue().
|
private |
Definition at line 109 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 117 of file EGammaMvaEleEstimatorCSA14.h.
Referenced by mvaValue().
|
private |
Definition at line 118 of file EGammaMvaEleEstimatorCSA14.h.
Referenced by mvaValue().
|
private |
Definition at line 124 of file EGammaMvaEleEstimatorCSA14.h.
Referenced by initialize(), and mvaValue().
|
private |
Definition at line 125 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 94 of file EGammaMvaEleEstimatorCSA14.h.
Referenced by initialize(), and mvaValue().
|
private |
Definition at line 95 of file EGammaMvaEleEstimatorCSA14.h.
Referenced by mvaValue().
|
private |
Definition at line 138 of file EGammaMvaEleEstimatorCSA14.h.
|
private |
Definition at line 139 of file EGammaMvaEleEstimatorCSA14.h.
|
private |
Definition at line 140 of file EGammaMvaEleEstimatorCSA14.h.
|
private |
Definition at line 141 of file EGammaMvaEleEstimatorCSA14.h.
|
private |
Definition at line 142 of file EGammaMvaEleEstimatorCSA14.h.
|
private |
Definition at line 106 of file EGammaMvaEleEstimatorCSA14.h.
Referenced by bindVariables(), initialize(), and mvaValue().
|
private |
Definition at line 105 of file EGammaMvaEleEstimatorCSA14.h.
Referenced by initialize(), and mvaValue().
|
private |
Definition at line 114 of file EGammaMvaEleEstimatorCSA14.h.
Referenced by initialize(), and mvaValue().
|
private |
Definition at line 122 of file EGammaMvaEleEstimatorCSA14.h.
Referenced by initialize(), and mvaValue().
|
private |
Definition at line 107 of file EGammaMvaEleEstimatorCSA14.h.
Referenced by bindVariables(), initialize(), and mvaValue().
|
private |
Definition at line 123 of file EGammaMvaEleEstimatorCSA14.h.
|
private |
Definition at line 126 of file EGammaMvaEleEstimatorCSA14.h.
Referenced by initialize(), and mvaValue().
|
private |
Definition at line 102 of file EGammaMvaEleEstimatorCSA14.h.
Referenced by initialize(), and mvaValue().
|
private |
Definition at line 103 of file EGammaMvaEleEstimatorCSA14.h.
Referenced by bindVariables(), initialize(), and mvaValue().
|
private |
Definition at line 90 of file EGammaMvaEleEstimatorCSA14.h.
Referenced by initialize().
|
private |
Definition at line 85 of file EGammaMvaEleEstimatorCSA14.h.
Referenced by initialize(), mvaValue(), and ~EGammaMvaEleEstimatorCSA14().
|
private |
Definition at line 84 of file EGammaMvaEleEstimatorCSA14.h.
Referenced by initialize(), mvaValue(), and ~EGammaMvaEleEstimatorCSA14().
|
private |
Definition at line 89 of file EGammaMvaEleEstimatorCSA14.h.
Referenced by initialize(), and mvaValue().