#include <AntiElectronIDMVA3.h>
Public Member Functions | |
AntiElectronIDMVA3 () | |
void | Initialize_from_file (const std::string &methodName, const std::string &oneProngNoEleMatch0Pi0woGSF_BL, const std::string &oneProngNoEleMatch0Pi0wGSF_BL, const std::string &oneProngNoEleMatch1Pi0woGSF_BL, const std::string &oneProngNoEleMatch1Pi0wGSF_BL, const std::string &oneProng0Pi0woGSF_BL, const std::string &oneProng0Pi0wGSF_BL, const std::string &oneProng1Pi0woGSF_BL, const std::string &oneProng1Pi0wGSF_BL, const std::string &oneProngNoEleMatch0Pi0woGSF_EC, const std::string &oneProngNoEleMatch0Pi0wGSF_EC, const std::string &oneProngNoEleMatch1Pi0woGSF_EC, const std::string &oneProngNoEleMatch1Pi0wGSF_EC, const std::string &oneProng0Pi0woGSF_EC, const std::string &oneProng0Pi0wGSF_EC, const std::string &oneProng1Pi0woGSF_EC, const std::string &oneProng1Pi0wGSF_EC) |
void | Initialize_from_string (const std::string &methodName, const std::string &oneProngNoEleMatch0Pi0woGSF_BL, const std::string &oneProngNoEleMatch0Pi0wGSF_BL, const std::string &oneProngNoEleMatch1Pi0woGSF_BL, const std::string &oneProngNoEleMatch1Pi0wGSF_BL, const std::string &oneProng0Pi0woGSF_BL, const std::string &oneProng0Pi0wGSF_BL, const std::string &oneProng1Pi0woGSF_BL, const std::string &oneProng1Pi0wGSF_BL, const std::string &oneProngNoEleMatch0Pi0woGSF_EC, const std::string &oneProngNoEleMatch0Pi0wGSF_EC, const std::string &oneProngNoEleMatch1Pi0woGSF_EC, const std::string &oneProngNoEleMatch1Pi0wGSF_EC, const std::string &oneProng0Pi0woGSF_EC, const std::string &oneProng0Pi0wGSF_EC, const std::string &oneProng1Pi0woGSF_EC, const std::string &oneProng1Pi0wGSF_EC) |
double | MVAValue (Float_t TauEtaAtEcalEntrance, Float_t TauPt, Float_t TaudCrackEta, Float_t TaudCrackPhi, Float_t TauEmFraction, Float_t TauSignalPFGammaCands, Float_t TauLeadPFChargedHadrHoP, Float_t TauLeadPFChargedHadrEoP, Float_t TauVisMass, Float_t TauHadrMva, const std::vector< Float_t > &GammasdEta, const std::vector< Float_t > &GammasdPhi, const std::vector< Float_t > &GammasPt, Float_t TauKFNumHits, Float_t TauGSFNumHits, Float_t TauGSFChi2, Float_t TauGSFTrackResol, Float_t TauGSFTracklnPt, Float_t TauGSFTrackEta, Float_t TauPhi, Float_t TauSignalPFChargedCands, Float_t TauHasGsf, Float_t ElecEta, Float_t ElecPhi, Float_t ElecPt, Float_t ElecEe, Float_t ElecEgamma, Float_t ElecPin, Float_t ElecPout, Float_t ElecFbrem, Float_t ElecChi2GSF, Float_t ElecGSFNumHits, Float_t ElecGSFTrackResol, Float_t ElecGSFTracklnPt, Float_t ElecGSFTrackEta) |
double | MVAValue (Float_t TauEtaAtEcalEntrance, Float_t TauPt, Float_t TaudCrackEta, Float_t TaudCrackPhi, Float_t TauEmFraction, Float_t TauSignalPFGammaCands, Float_t TauLeadPFChargedHadrHoP, Float_t TauLeadPFChargedHadrEoP, Float_t TauVisMass, Float_t TauHadrMva, Float_t TauGammaEtaMom, Float_t TauGammaPhiMom, Float_t TauGammaEnFrac, Float_t TauKFNumHits, Float_t TauGSFNumHits, Float_t TauGSFChi2, Float_t TauGSFTrackResol, Float_t TauGSFTracklnPt, Float_t TauGSFTrackEta, Float_t TauPhi, Float_t TauSignalPFChargedCands, Float_t TauHasGsf, Float_t ElecEta, Float_t ElecPhi, Float_t ElecPt, Float_t ElecEe, Float_t ElecEgamma, Float_t ElecPin, Float_t ElecPout, Float_t ElecFbrem, Float_t ElecChi2GSF, Float_t ElecGSFNumHits, Float_t ElecGSFTrackResol, Float_t ElecGSFTracklnPt, Float_t ElecGSFTrackEta) |
double | MVAValue (const reco::PFTau &thePFTau, const reco::GsfElectron &theGsfEle) |
double | MVAValue (const reco::PFTau &thePFTau) |
~AntiElectronIDMVA3 () | |
Private Member Functions | |
void | bookMVAs () |
double | dCrackEta (double eta) |
double | dCrackPhi (double phi, double eta) |
double | minimum (double a, double b) |
Private Attributes | |
Float_t | Elec_Chi2GSF_ |
Float_t | Elec_EgammaOverPdif_ |
Float_t | Elec_EtotOverPin_ |
Float_t | Elec_Fbrem_ |
Float_t | Elec_GSFNumHits_ |
Float_t | Elec_GSFTrackEta_ |
Float_t | Elec_GSFTracklnPt_ |
Float_t | Elec_GSFTrackResol_ |
TMVA::Reader * | fTMVAReader_ [16] |
Float_t | GammadEta_ |
Float_t | GammadPhi_ |
Float_t | GammadPt_ |
Bool_t | isInitialized_ |
std::string | methodName_ |
Float_t | Tau_dCrackEta_ |
Float_t | Tau_dCrackPhi_ |
Float_t | Tau_EmFraction_ |
Float_t | Tau_EtaAtEcalEntrance_ |
Float_t | Tau_GammaEnFrac_ |
Float_t | Tau_GammaEtaMom_ |
Float_t | Tau_GammaPhiMom_ |
Float_t | Tau_GSFChi2_ |
Float_t | Tau_GSFTrackEta_ |
Float_t | Tau_GSFTracklnPt_ |
Float_t | Tau_GSFTrackResol_ |
Float_t | Tau_HadrEoP_ |
Float_t | Tau_HadrHoP_ |
Float_t | Tau_HadrMva_ |
Float_t | Tau_NumGammaCands_ |
Float_t | Tau_NumHitsVariable_ |
Float_t | Tau_Pt_ |
Float_t | Tau_VisMass_ |
int | verbosity_ |
Definition at line 27 of file AntiElectronIDMVA3.h.
AntiElectronIDMVA3::AntiElectronIDMVA3 | ( | ) |
AntiElectronIDMVA3::~AntiElectronIDMVA3 | ( | ) |
|
private |
Definition at line 134 of file AntiElectronIDMVA3.cc.
References Elec_Chi2GSF_, Elec_EgammaOverPdif_, Elec_EtotOverPin_, Elec_Fbrem_, Elec_GSFNumHits_, Elec_GSFTrackEta_, Elec_GSFTracklnPt_, Elec_GSFTrackResol_, fTMVAReader_, GammadEta_, GammadPhi_, GammadPt_, k_NoEleMatchwGwGSF_BL, k_NoEleMatchwGwGSF_EC, k_NoEleMatchwGwoGSF_BL, k_NoEleMatchwGwoGSF_EC, k_NoEleMatchwoGwGSF_BL, k_NoEleMatchwoGwGSF_EC, k_NoEleMatchwoGwoGSF_BL, k_NoEleMatchwoGwoGSF_EC, k_wGwGSF_BL, k_wGwGSF_EC, k_wGwoGSF_BL, k_wGwoGSF_EC, k_woGwGSF_BL, k_woGwGSF_EC, k_woGwoGSF_BL, k_woGwoGSF_EC, Tau_dCrackEta_, Tau_dCrackPhi_, Tau_EmFraction_, Tau_EtaAtEcalEntrance_, Tau_GammaEnFrac_, Tau_GammaEtaMom_, Tau_GammaPhiMom_, Tau_GSFChi2_, Tau_GSFTrackEta_, Tau_GSFTracklnPt_, Tau_GSFTrackResol_, Tau_HadrEoP_, Tau_HadrHoP_, Tau_HadrMva_, Tau_NumGammaCands_, Tau_NumHitsVariable_, Tau_Pt_, Tau_VisMass_, and verbosity_.
Referenced by Initialize_from_file(), and Initialize_from_string().
|
private |
Definition at line 1035 of file AntiElectronIDMVA3.cc.
References i, m, and minimum().
Referenced by MVAValue().
|
private |
Definition at line 976 of file AntiElectronIDMVA3.cc.
References i, m, minimum(), Pi, and pi.
Referenced by MVAValue().
void AntiElectronIDMVA3::Initialize_from_file | ( | const std::string & | methodName, |
const std::string & | oneProngNoEleMatch0Pi0woGSF_BL, | ||
const std::string & | oneProngNoEleMatch0Pi0wGSF_BL, | ||
const std::string & | oneProngNoEleMatch1Pi0woGSF_BL, | ||
const std::string & | oneProngNoEleMatch1Pi0wGSF_BL, | ||
const std::string & | oneProng0Pi0woGSF_BL, | ||
const std::string & | oneProng0Pi0wGSF_BL, | ||
const std::string & | oneProng1Pi0woGSF_BL, | ||
const std::string & | oneProng1Pi0wGSF_BL, | ||
const std::string & | oneProngNoEleMatch0Pi0woGSF_EC, | ||
const std::string & | oneProngNoEleMatch0Pi0wGSF_EC, | ||
const std::string & | oneProngNoEleMatch1Pi0woGSF_EC, | ||
const std::string & | oneProngNoEleMatch1Pi0wGSF_EC, | ||
const std::string & | oneProng0Pi0woGSF_EC, | ||
const std::string & | oneProng0Pi0wGSF_EC, | ||
const std::string & | oneProng1Pi0woGSF_EC, | ||
const std::string & | oneProng1Pi0wGSF_EC | ||
) |
Definition at line 42 of file AntiElectronIDMVA3.cc.
References bookMVAs(), fTMVAReader_, i, isInitialized_, k_NoEleMatchwGwGSF_BL, k_NoEleMatchwGwGSF_EC, k_NoEleMatchwGwoGSF_BL, k_NoEleMatchwGwoGSF_EC, k_NoEleMatchwoGwGSF_BL, k_NoEleMatchwoGwGSF_EC, k_NoEleMatchwoGwoGSF_BL, k_NoEleMatchwoGwoGSF_EC, k_wGwGSF_BL, k_wGwGSF_EC, k_wGwoGSF_BL, k_wGwoGSF_EC, k_woGwGSF_BL, k_woGwGSF_EC, k_woGwoGSF_BL, k_woGwoGSF_EC, reco::details::loadTMVAWeights(), and methodName_.
void AntiElectronIDMVA3::Initialize_from_string | ( | const std::string & | methodName, |
const std::string & | oneProngNoEleMatch0Pi0woGSF_BL, | ||
const std::string & | oneProngNoEleMatch0Pi0wGSF_BL, | ||
const std::string & | oneProngNoEleMatch1Pi0woGSF_BL, | ||
const std::string & | oneProngNoEleMatch1Pi0wGSF_BL, | ||
const std::string & | oneProng0Pi0woGSF_BL, | ||
const std::string & | oneProng0Pi0wGSF_BL, | ||
const std::string & | oneProng1Pi0woGSF_BL, | ||
const std::string & | oneProng1Pi0wGSF_BL, | ||
const std::string & | oneProngNoEleMatch0Pi0woGSF_EC, | ||
const std::string & | oneProngNoEleMatch0Pi0wGSF_EC, | ||
const std::string & | oneProngNoEleMatch1Pi0woGSF_EC, | ||
const std::string & | oneProngNoEleMatch1Pi0wGSF_EC, | ||
const std::string & | oneProng0Pi0woGSF_EC, | ||
const std::string & | oneProng0Pi0wGSF_EC, | ||
const std::string & | oneProng1Pi0woGSF_EC, | ||
const std::string & | oneProng1Pi0wGSF_EC | ||
) |
Definition at line 88 of file AntiElectronIDMVA3.cc.
References bookMVAs(), fTMVAReader_, i, isInitialized_, k_NoEleMatchwGwGSF_BL, k_NoEleMatchwGwGSF_EC, k_NoEleMatchwGwoGSF_BL, k_NoEleMatchwGwoGSF_EC, k_NoEleMatchwoGwGSF_BL, k_NoEleMatchwoGwGSF_EC, k_NoEleMatchwoGwoGSF_BL, k_NoEleMatchwoGwoGSF_EC, k_wGwGSF_BL, k_wGwGSF_EC, k_wGwoGSF_BL, k_wGwoGSF_EC, k_woGwGSF_BL, k_woGwGSF_EC, k_woGwoGSF_BL, k_woGwoGSF_EC, and methodName_.
|
private |
double AntiElectronIDMVA3::MVAValue | ( | Float_t | TauEtaAtEcalEntrance, |
Float_t | TauPt, | ||
Float_t | TaudCrackEta, | ||
Float_t | TaudCrackPhi, | ||
Float_t | TauEmFraction, | ||
Float_t | TauSignalPFGammaCands, | ||
Float_t | TauLeadPFChargedHadrHoP, | ||
Float_t | TauLeadPFChargedHadrEoP, | ||
Float_t | TauVisMass, | ||
Float_t | TauHadrMva, | ||
const std::vector< Float_t > & | GammasdEta, | ||
const std::vector< Float_t > & | GammasdPhi, | ||
const std::vector< Float_t > & | GammasPt, | ||
Float_t | TauKFNumHits, | ||
Float_t | TauGSFNumHits, | ||
Float_t | TauGSFChi2, | ||
Float_t | TauGSFTrackResol, | ||
Float_t | TauGSFTracklnPt, | ||
Float_t | TauGSFTrackEta, | ||
Float_t | TauPhi, | ||
Float_t | TauSignalPFChargedCands, | ||
Float_t | TauHasGsf, | ||
Float_t | ElecEta, | ||
Float_t | ElecPhi, | ||
Float_t | ElecPt, | ||
Float_t | ElecEe, | ||
Float_t | ElecEgamma, | ||
Float_t | ElecPin, | ||
Float_t | ElecPout, | ||
Float_t | ElecFbrem, | ||
Float_t | ElecChi2GSF, | ||
Float_t | ElecGSFNumHits, | ||
Float_t | ElecGSFTrackResol, | ||
Float_t | ElecGSFTracklnPt, | ||
Float_t | ElecGSFTrackEta | ||
) |
Definition at line 504 of file AntiElectronIDMVA3.cc.
Referenced by MVAValue().
double AntiElectronIDMVA3::MVAValue | ( | Float_t | TauEtaAtEcalEntrance, |
Float_t | TauPt, | ||
Float_t | TaudCrackEta, | ||
Float_t | TaudCrackPhi, | ||
Float_t | TauEmFraction, | ||
Float_t | TauSignalPFGammaCands, | ||
Float_t | TauLeadPFChargedHadrHoP, | ||
Float_t | TauLeadPFChargedHadrEoP, | ||
Float_t | TauVisMass, | ||
Float_t | TauHadrMva, | ||
Float_t | TauGammaEtaMom, | ||
Float_t | TauGammaPhiMom, | ||
Float_t | TauGammaEnFrac, | ||
Float_t | TauKFNumHits, | ||
Float_t | TauGSFNumHits, | ||
Float_t | TauGSFChi2, | ||
Float_t | TauGSFTrackResol, | ||
Float_t | TauGSFTracklnPt, | ||
Float_t | TauGSFTrackEta, | ||
Float_t | TauPhi, | ||
Float_t | TauSignalPFChargedCands, | ||
Float_t | TauHasGsf, | ||
Float_t | ElecEta, | ||
Float_t | ElecPhi, | ||
Float_t | ElecPt, | ||
Float_t | ElecEe, | ||
Float_t | ElecEgamma, | ||
Float_t | ElecPin, | ||
Float_t | ElecPout, | ||
Float_t | ElecFbrem, | ||
Float_t | ElecChi2GSF, | ||
Float_t | ElecGSFNumHits, | ||
Float_t | ElecGSFTrackResol, | ||
Float_t | ElecGSFTracklnPt, | ||
Float_t | ElecGSFTrackEta | ||
) |
Definition at line 609 of file AntiElectronIDMVA3.cc.
References deltaR(), Elec_Chi2GSF_, Elec_EgammaOverPdif_, Elec_EtotOverPin_, Elec_Fbrem_, Elec_GSFNumHits_, Elec_GSFTrackEta_, Elec_GSFTracklnPt_, Elec_GSFTrackResol_, fTMVAReader_, isInitialized_, k_NoEleMatchwGwGSF_BL, k_NoEleMatchwGwGSF_EC, k_NoEleMatchwGwoGSF_BL, k_NoEleMatchwGwoGSF_EC, k_NoEleMatchwoGwGSF_BL, k_NoEleMatchwoGwGSF_EC, k_NoEleMatchwoGwoGSF_BL, k_NoEleMatchwoGwoGSF_EC, k_wGwGSF_BL, k_wGwGSF_EC, k_wGwoGSF_BL, k_wGwoGSF_EC, k_woGwGSF_BL, k_woGwGSF_EC, k_woGwoGSF_BL, k_woGwoGSF_EC, siStripFEDMonitor_P5_cff::Max, methodName_, Tau_dCrackEta_, Tau_dCrackPhi_, Tau_EmFraction_, Tau_EtaAtEcalEntrance_, Tau_GammaEnFrac_, Tau_GammaEtaMom_, Tau_GammaPhiMom_, Tau_GSFChi2_, Tau_GSFTrackEta_, Tau_GSFTracklnPt_, Tau_GSFTrackResol_, Tau_HadrEoP_, Tau_HadrHoP_, Tau_HadrMva_, Tau_NumGammaCands_, Tau_NumHitsVariable_, Tau_Pt_, and Tau_VisMass_.
double AntiElectronIDMVA3::MVAValue | ( | const reco::PFTau & | thePFTau, |
const reco::GsfElectron & | theGsfEle | ||
) |
Definition at line 717 of file AntiElectronIDMVA3.cc.
References edm::RefVector< C, T, F >::at(), asciidump::at, dCrackEta(), dCrackPhi(), reco::PFTau::electronPreIDOutput(), reco::PFTau::emFraction(), reco::LeafCandidate::eta(), reco::GsfElectron::fbrem(), reco::GsfElectron::gsfTrack(), i, edm::Ref< C, T, F >::isAvailable(), edm::Ref< C, T, F >::isNonnull(), j, reco::PFTau::leadPFChargedHadrCand(), create_public_lumi_plots::log, reco::LeafCandidate::mass(), siStripFEDMonitor_P5_cff::Max, MVAValue(), reco::GsfElectron::pflowSuperCluster(), reco::LeafCandidate::phi(), reco::LeafCandidate::pt(), reco::PFTau::signalPFCands(), reco::PFTau::signalPFChargedHadrCands(), reco::PFTau::signalPFGammaCands(), edm::RefVector< C, T, F >::size(), findQualityFiles::size, reco::GsfElectron::trackMomentumAtVtx(), and reco::GsfElectron::trackMomentumOut().
double AntiElectronIDMVA3::MVAValue | ( | const reco::PFTau & | thePFTau | ) |
Definition at line 859 of file AntiElectronIDMVA3.cc.
References edm::RefVector< C, T, F >::at(), asciidump::at, dCrackEta(), dCrackPhi(), reco::PFTau::electronPreIDOutput(), reco::PFTau::emFraction(), reco::LeafCandidate::eta(), i, edm::Ref< C, T, F >::isNonnull(), j, reco::PFTau::leadPFChargedHadrCand(), create_public_lumi_plots::log, reco::LeafCandidate::mass(), siStripFEDMonitor_P5_cff::Max, MVAValue(), reco::LeafCandidate::phi(), reco::LeafCandidate::pt(), reco::PFTau::signalPFCands(), reco::PFTau::signalPFChargedHadrCands(), reco::PFTau::signalPFGammaCands(), edm::RefVector< C, T, F >::size(), and findQualityFiles::size.
|
private |
Definition at line 184 of file AntiElectronIDMVA3.h.
Referenced by bookMVAs(), and MVAValue().
|
private |
Definition at line 182 of file AntiElectronIDMVA3.h.
Referenced by bookMVAs(), and MVAValue().
|
private |
Definition at line 181 of file AntiElectronIDMVA3.h.
Referenced by bookMVAs(), and MVAValue().
|
private |
Definition at line 183 of file AntiElectronIDMVA3.h.
Referenced by bookMVAs(), and MVAValue().
|
private |
Definition at line 185 of file AntiElectronIDMVA3.h.
Referenced by bookMVAs(), and MVAValue().
|
private |
Definition at line 188 of file AntiElectronIDMVA3.h.
Referenced by bookMVAs(), and MVAValue().
|
private |
Definition at line 187 of file AntiElectronIDMVA3.h.
Referenced by bookMVAs(), and MVAValue().
|
private |
Definition at line 186 of file AntiElectronIDMVA3.h.
Referenced by bookMVAs(), and MVAValue().
|
private |
Definition at line 156 of file AntiElectronIDMVA3.h.
Referenced by AntiElectronIDMVA3(), bookMVAs(), Initialize_from_file(), Initialize_from_string(), MVAValue(), and ~AntiElectronIDMVA3().
|
private |
Definition at line 158 of file AntiElectronIDMVA3.h.
Referenced by bookMVAs().
|
private |
Definition at line 159 of file AntiElectronIDMVA3.h.
Referenced by bookMVAs().
|
private |
Definition at line 160 of file AntiElectronIDMVA3.h.
Referenced by bookMVAs().
|
private |
Definition at line 154 of file AntiElectronIDMVA3.h.
Referenced by Initialize_from_file(), Initialize_from_string(), and MVAValue().
|
private |
Definition at line 155 of file AntiElectronIDMVA3.h.
Referenced by Initialize_from_file(), Initialize_from_string(), and MVAValue().
|
private |
Definition at line 164 of file AntiElectronIDMVA3.h.
Referenced by bookMVAs(), and MVAValue().
|
private |
Definition at line 165 of file AntiElectronIDMVA3.h.
Referenced by bookMVAs(), and MVAValue().
|
private |
Definition at line 166 of file AntiElectronIDMVA3.h.
Referenced by bookMVAs(), and MVAValue().
|
private |
Definition at line 162 of file AntiElectronIDMVA3.h.
Referenced by bookMVAs(), and MVAValue().
|
private |
Definition at line 174 of file AntiElectronIDMVA3.h.
Referenced by bookMVAs(), and MVAValue().
|
private |
Definition at line 172 of file AntiElectronIDMVA3.h.
Referenced by bookMVAs(), and MVAValue().
|
private |
Definition at line 173 of file AntiElectronIDMVA3.h.
Referenced by bookMVAs(), and MVAValue().
|
private |
Definition at line 175 of file AntiElectronIDMVA3.h.
Referenced by bookMVAs(), and MVAValue().
|
private |
Definition at line 179 of file AntiElectronIDMVA3.h.
Referenced by bookMVAs(), and MVAValue().
|
private |
Definition at line 178 of file AntiElectronIDMVA3.h.
Referenced by bookMVAs(), and MVAValue().
|
private |
Definition at line 177 of file AntiElectronIDMVA3.h.
Referenced by bookMVAs(), and MVAValue().
|
private |
Definition at line 169 of file AntiElectronIDMVA3.h.
Referenced by bookMVAs(), and MVAValue().
|
private |
Definition at line 168 of file AntiElectronIDMVA3.h.
Referenced by bookMVAs(), and MVAValue().
|
private |
Definition at line 171 of file AntiElectronIDMVA3.h.
Referenced by bookMVAs(), and MVAValue().
|
private |
Definition at line 167 of file AntiElectronIDMVA3.h.
Referenced by bookMVAs(), and MVAValue().
|
private |
Definition at line 176 of file AntiElectronIDMVA3.h.
Referenced by bookMVAs(), and MVAValue().
|
private |
Definition at line 163 of file AntiElectronIDMVA3.h.
Referenced by bookMVAs(), and MVAValue().
|
private |
Definition at line 170 of file AntiElectronIDMVA3.h.
Referenced by bookMVAs(), and MVAValue().
|
private |
Definition at line 190 of file AntiElectronIDMVA3.h.
Referenced by AntiElectronIDMVA3(), and bookMVAs().