#include <AntiElectronIDMVA.h>
Public Member Functions | |
AntiElectronIDMVA () | |
void | Initialize (std::string methodName, std::string oneProng0Pi0_BL, std::string oneProng1pi0wGSF_BL, std::string oneProng1pi0woGSF_BL, std::string oneProng0Pi0_EC, std::string oneProng1pi0wGSF_EC, std::string oneProng1pi0woGSF_EC) |
double | MVAValue (Float_t TauEta, Float_t TauPt, Float_t TauSignalPFChargedCands, Float_t TauSignalPFGammaCands, Float_t TauLeadPFChargedHadrMva, Float_t TauLeadPFChargedHadrHoP, Float_t TauLeadPFChargedHadrEoP, Float_t TauHasGsf, Float_t TauVisMass, Float_t TauEmFraction, std::vector< Float_t > *GammasdEta, std::vector< Float_t > *GammasdPhi, std::vector< Float_t > *GammasPt) |
double | MVAValue (Float_t TauEta, Float_t TauPt, Float_t TauSignalPFChargedCands, Float_t TauSignalPFGammaCands, Float_t TauLeadPFChargedHadrMva, Float_t TauLeadPFChargedHadrHoP, Float_t TauLeadPFChargedHadrEoP, Float_t TauHasGsf, Float_t TauVisMass, Float_t TauEmFraction, Float_t GammaEtaMom, Float_t GammaPhiMom, Float_t GammaEnFrac) |
double | MVAValue (const reco::PFTauRef &thePFTauRef) |
~AntiElectronIDMVA () | |
Private Attributes | |
TMVA::Reader * | fTMVAReader_ [6] |
Float_t | GammadEta_ |
Float_t | GammadPhi_ |
Float_t | GammadPt_ |
Bool_t | isInitialized_ |
std::string | methodName_ |
Float_t | TauEmFraction_ |
Float_t | TauLeadPFChargedHadrEoP_ |
Float_t | TauLeadPFChargedHadrHoP_ |
Float_t | TauLeadPFChargedHadrMva_ |
Float_t | TauSignalPFGammaCands_ |
Float_t | TauVisMass_ |
int | verbosity_ |
Definition at line 33 of file AntiElectronIDMVA.h.
AntiElectronIDMVA::AntiElectronIDMVA | ( | ) |
AntiElectronIDMVA::~AntiElectronIDMVA | ( | ) |
void AntiElectronIDMVA::Initialize | ( | std::string | methodName, |
std::string | oneProng0Pi0_BL, | ||
std::string | oneProng1pi0wGSF_BL, | ||
std::string | oneProng1pi0woGSF_BL, | ||
std::string | oneProng0Pi0_EC, | ||
std::string | oneProng1pi0wGSF_EC, | ||
std::string | oneProng1pi0woGSF_EC | ||
) |
Definition at line 25 of file AntiElectronIDMVA.cc.
References fTMVAReader_, GammadEta_, GammadPhi_, GammadPt_, i, isInitialized_, reco::details::loadTMVAWeights(), methodName_, TauEmFraction_, TauLeadPFChargedHadrEoP_, TauLeadPFChargedHadrHoP_, TauLeadPFChargedHadrMva_, TauSignalPFGammaCands_, TauVisMass_, and verbosity_.
double AntiElectronIDMVA::MVAValue | ( | Float_t | TauEta, |
Float_t | TauPt, | ||
Float_t | TauSignalPFChargedCands, | ||
Float_t | TauSignalPFGammaCands, | ||
Float_t | TauLeadPFChargedHadrMva, | ||
Float_t | TauLeadPFChargedHadrHoP, | ||
Float_t | TauLeadPFChargedHadrEoP, | ||
Float_t | TauHasGsf, | ||
Float_t | TauVisMass, | ||
Float_t | TauEmFraction, | ||
std::vector< Float_t > * | GammasdEta, | ||
std::vector< Float_t > * | GammasdPhi, | ||
std::vector< Float_t > * | GammasPt | ||
) |
Definition at line 111 of file AntiElectronIDMVA.cc.
References gather_cfg::cout, dPhi(), fTMVAReader_, GammadEta_, GammadPhi_, GammadPt_, isInitialized_, gen::k, siStripFEDMonitor_P5_cff::Max, methodName_, Pi, TauEmFraction_, TauLeadPFChargedHadrEoP_, TauLeadPFChargedHadrHoP_, TauLeadPFChargedHadrMva_, and TauVisMass_.
double AntiElectronIDMVA::MVAValue | ( | Float_t | TauEta, |
Float_t | TauPt, | ||
Float_t | TauSignalPFChargedCands, | ||
Float_t | TauSignalPFGammaCands, | ||
Float_t | TauLeadPFChargedHadrMva, | ||
Float_t | TauLeadPFChargedHadrHoP, | ||
Float_t | TauLeadPFChargedHadrEoP, | ||
Float_t | TauHasGsf, | ||
Float_t | TauVisMass, | ||
Float_t | TauEmFraction, | ||
Float_t | GammaEtaMom, | ||
Float_t | GammaPhiMom, | ||
Float_t | GammaEnFrac | ||
) |
Definition at line 198 of file AntiElectronIDMVA.cc.
References gather_cfg::cout, fTMVAReader_, GammadEta_, GammadPhi_, GammadPt_, isInitialized_, siStripFEDMonitor_P5_cff::Max, methodName_, TauEmFraction_, TauLeadPFChargedHadrEoP_, TauLeadPFChargedHadrHoP_, TauLeadPFChargedHadrMva_, and TauVisMass_.
double AntiElectronIDMVA::MVAValue | ( | const reco::PFTauRef & | thePFTauRef | ) |
Definition at line 253 of file AntiElectronIDMVA.cc.
References asciidump::at, gather_cfg::cout, dPhi(), fTMVAReader_, GammadEta_, GammadPhi_, GammadPt_, isInitialized_, gen::k, siStripFEDMonitor_P5_cff::Max, methodName_, Pi, findQualityFiles::size, TauEmFraction_, TauLeadPFChargedHadrEoP_, TauLeadPFChargedHadrHoP_, TauLeadPFChargedHadrMva_, and TauVisMass_.
|
private |
Definition at line 107 of file AntiElectronIDMVA.h.
Referenced by AntiElectronIDMVA(), Initialize(), MVAValue(), and ~AntiElectronIDMVA().
|
private |
Definition at line 110 of file AntiElectronIDMVA.h.
Referenced by Initialize(), and MVAValue().
|
private |
Definition at line 111 of file AntiElectronIDMVA.h.
Referenced by Initialize(), and MVAValue().
|
private |
Definition at line 112 of file AntiElectronIDMVA.h.
Referenced by Initialize(), and MVAValue().
|
private |
Definition at line 105 of file AntiElectronIDMVA.h.
Referenced by Initialize(), and MVAValue().
|
private |
Definition at line 106 of file AntiElectronIDMVA.h.
Referenced by Initialize(), and MVAValue().
|
private |
Definition at line 116 of file AntiElectronIDMVA.h.
Referenced by Initialize(), and MVAValue().
|
private |
Definition at line 115 of file AntiElectronIDMVA.h.
Referenced by Initialize(), and MVAValue().
|
private |
Definition at line 114 of file AntiElectronIDMVA.h.
Referenced by Initialize(), and MVAValue().
|
private |
Definition at line 113 of file AntiElectronIDMVA.h.
Referenced by Initialize(), and MVAValue().
|
private |
Definition at line 108 of file AntiElectronIDMVA.h.
Referenced by Initialize().
|
private |
Definition at line 109 of file AntiElectronIDMVA.h.
Referenced by Initialize(), and MVAValue().
|
private |
Definition at line 118 of file AntiElectronIDMVA.h.
Referenced by AntiElectronIDMVA(), and Initialize().