11 #ifndef RECOTAUTAG_RECOTAU_AntiElectronIDMVA2_H
12 #define RECOTAUTAG_RECOTAU_AntiElectronIDMVA2_H
20 #include "TMVA/Tools.h"
21 #include "TMVA/Reader.h"
35 const std::string& oneProngNoEleMatch_BL,
36 const std::string& oneProng0Pi0_BL,
37 const std::string& oneProng1pi0woGSF_BL,
38 const std::string& oneProng1pi0wGSFwoPfEleMva_BL,
39 const std::string& oneProng1pi0wGSFwPfEleMva_BL,
40 const std::string& oneProngNoEleMatch_EC,
41 const std::string& oneProng0Pi0_EC,
42 const std::string& oneProng1pi0woGSF_EC,
43 const std::string& oneProng1pi0wGSFwoPfEleMva_EC,
44 const std::string& oneProng1pi0wGSFwPfEleMva_EC);
47 const std::string& oneProngNoEleMatch_BL,
48 const std::string& oneProng0Pi0_BL,
49 const std::string& oneProng1pi0woGSF_BL,
50 const std::string& oneProng1pi0wGSFwoPfEleMva_BL,
51 const std::string& oneProng1pi0wGSFwPfEleMva_BL,
52 const std::string& oneProngNoEleMatch_EC,
53 const std::string& oneProng0Pi0_EC,
54 const std::string& oneProng1pi0woGSF_EC,
55 const std::string& oneProng1pi0wGSFwoPfEleMva_EC,
56 const std::string& oneProng1pi0wGSFwPfEleMva_EC);
59 double MVAValue(Float_t TauEtaAtEcalEntrance,
62 Float_t TauSignalPFChargedCands,
63 Float_t TauSignalPFGammaCands,
64 Float_t TauLeadPFChargedHadrHoP,
65 Float_t TauLeadPFChargedHadrEoP,
68 Float_t TauEmFraction,
69 const std::vector<Float_t>& GammasdEta,
70 const std::vector<Float_t>& GammasdPhi,
71 const std::vector<Float_t>& GammasPt,
75 Float_t ElecPFMvaOutput,
80 Float_t ElecEarlyBrem,
86 Float_t ElecGSFTrackResol,
87 Float_t ElecGSFTracklnPt,
88 Float_t ElecGSFTrackEta);
90 double MVAValue(Float_t TauEtaAtEcalEntrance,
93 Float_t TauSignalPFChargedCands,
94 Float_t TauSignalPFGammaCands,
95 Float_t TauLeadPFChargedHadrHoP,
96 Float_t TauLeadPFChargedHadrEoP,
99 Float_t TauEmFraction,
106 Float_t ElecPFMvaOutput,
111 Float_t ElecEarlyBrem,
112 Float_t ElecLateBrem,
117 Float_t ElecGSFTrackResol,
118 Float_t ElecGSFTracklnPt,
119 Float_t ElecGSFTrackEta);
Float_t Elec_GSFTracklnPt_
Float_t Tau_NumGammaCands_
Float_t Tau_NumChargedCands_
Float_t Elec_PFMvaOutput_
Float_t Elec_GSFTrackResol_
Float_t Tau_EtaAtEcalEntrance_
Float_t Elec_GSFTrackEta_
void Initialize_from_string(const std::string &methodName, const std::string &oneProngNoEleMatch_BL, const std::string &oneProng0Pi0_BL, const std::string &oneProng1pi0woGSF_BL, const std::string &oneProng1pi0wGSFwoPfEleMva_BL, const std::string &oneProng1pi0wGSFwPfEleMva_BL, const std::string &oneProngNoEleMatch_EC, const std::string &oneProng0Pi0_EC, const std::string &oneProng1pi0woGSF_EC, const std::string &oneProng1pi0wGSFwoPfEleMva_EC, const std::string &oneProng1pi0wGSFwPfEleMva_EC)
TMVA::Reader * fTMVAReader_[10]
void Initialize_from_file(const std::string &methodName, const std::string &oneProngNoEleMatch_BL, const std::string &oneProng0Pi0_BL, const std::string &oneProng1pi0woGSF_BL, const std::string &oneProng1pi0wGSFwoPfEleMva_BL, const std::string &oneProng1pi0wGSFwPfEleMva_BL, const std::string &oneProngNoEleMatch_EC, const std::string &oneProng0Pi0_EC, const std::string &oneProng1pi0woGSF_EC, const std::string &oneProng1pi0wGSFwoPfEleMva_EC, const std::string &oneProng1pi0wGSFwPfEleMva_EC)
Float_t Elec_EgammaOverPdif_
double MVAValue(Float_t TauEtaAtEcalEntrance, Float_t TauPhi, Float_t TauPt, Float_t TauSignalPFChargedCands, Float_t TauSignalPFGammaCands, Float_t TauLeadPFChargedHadrHoP, Float_t TauLeadPFChargedHadrEoP, Float_t TauHasGsf, Float_t TauVisMass, Float_t TauEmFraction, const std::vector< Float_t > &GammasdEta, const std::vector< Float_t > &GammasdPhi, const std::vector< Float_t > &GammasPt, Float_t ElecEta, Float_t ElecPhi, Float_t ElecPt, Float_t ElecPFMvaOutput, Float_t ElecEe, Float_t ElecEgamma, Float_t ElecPin, Float_t ElecPout, Float_t ElecEarlyBrem, Float_t ElecLateBrem, Float_t ElecFbrem, Float_t ElecChi2KF, Float_t ElecChi2GSF, Float_t ElecNumHits, Float_t ElecGSFTrackResol, Float_t ElecGSFTracklnPt, Float_t ElecGSFTrackEta)
Float_t Elec_EtotOverPin_