11 #ifndef RECOTAUTAG_RECOTAU_AntiElectronIDMVA3_H
12 #define RECOTAUTAG_RECOTAU_AntiElectronIDMVA3_H
20 #include "TMVA/Tools.h"
21 #include "TMVA/Reader.h"
35 const std::string& oneProngNoEleMatch0Pi0woGSF_BL,
36 const std::string& oneProngNoEleMatch0Pi0wGSF_BL,
37 const std::string& oneProngNoEleMatch1Pi0woGSF_BL,
38 const std::string& oneProngNoEleMatch1Pi0wGSF_BL,
39 const std::string& oneProng0Pi0woGSF_BL,
40 const std::string& oneProng0Pi0wGSF_BL,
41 const std::string& oneProng1Pi0woGSF_BL,
42 const std::string& oneProng1Pi0wGSF_BL,
43 const std::string& oneProngNoEleMatch0Pi0woGSF_EC,
44 const std::string& oneProngNoEleMatch0Pi0wGSF_EC,
45 const std::string& oneProngNoEleMatch1Pi0woGSF_EC,
46 const std::string& oneProngNoEleMatch1Pi0wGSF_EC,
47 const std::string& oneProng0Pi0woGSF_EC,
48 const std::string& oneProng0Pi0wGSF_EC,
49 const std::string& oneProng1Pi0woGSF_EC,
50 const std::string& oneProng1Pi0wGSF_EC);
53 const std::string& oneProngNoEleMatch0Pi0woGSF_BL,
54 const std::string& oneProngNoEleMatch0Pi0wGSF_BL,
55 const std::string& oneProngNoEleMatch1Pi0woGSF_BL,
56 const std::string& oneProngNoEleMatch1Pi0wGSF_BL,
57 const std::string& oneProng0Pi0woGSF_BL,
58 const std::string& oneProng0Pi0wGSF_BL,
59 const std::string& oneProng1Pi0woGSF_BL,
60 const std::string& oneProng1Pi0wGSF_BL,
61 const std::string& oneProngNoEleMatch0Pi0woGSF_EC,
62 const std::string& oneProngNoEleMatch0Pi0wGSF_EC,
63 const std::string& oneProngNoEleMatch1Pi0woGSF_EC,
64 const std::string& oneProngNoEleMatch1Pi0wGSF_EC,
65 const std::string& oneProng0Pi0woGSF_EC,
66 const std::string& oneProng0Pi0wGSF_EC,
67 const std::string& oneProng1Pi0woGSF_EC,
68 const std::string& oneProng1Pi0wGSF_EC);
70 double MVAValue(Float_t TauEtaAtEcalEntrance,
74 Float_t TauEmFraction,
75 Float_t TauSignalPFGammaCands,
76 Float_t TauLeadPFChargedHadrHoP,
77 Float_t TauLeadPFChargedHadrEoP,
80 const std::vector<Float_t>& GammasdEta,
81 const std::vector<Float_t>& GammasdPhi,
82 const std::vector<Float_t>& GammasPt,
84 Float_t TauGSFNumHits,
86 Float_t TauGSFTrackResol,
87 Float_t TauGSFTracklnPt,
88 Float_t TauGSFTrackEta,
90 Float_t TauSignalPFChargedCands,
101 Float_t ElecGSFNumHits,
102 Float_t ElecGSFTrackResol,
103 Float_t ElecGSFTracklnPt,
104 Float_t ElecGSFTrackEta);
106 double MVAValue(Float_t TauEtaAtEcalEntrance,
108 Float_t TaudCrackEta,
109 Float_t TaudCrackPhi,
110 Float_t TauEmFraction,
111 Float_t TauSignalPFGammaCands,
112 Float_t TauLeadPFChargedHadrHoP,
113 Float_t TauLeadPFChargedHadrEoP,
116 Float_t TauGammaEtaMom,
117 Float_t TauGammaPhiMom,
118 Float_t TauGammaEnFrac,
119 Float_t TauKFNumHits,
120 Float_t TauGSFNumHits,
122 Float_t TauGSFTrackResol,
123 Float_t TauGSFTracklnPt,
124 Float_t TauGSFTrackEta,
126 Float_t TauSignalPFChargedCands,
137 Float_t ElecGSFNumHits,
138 Float_t ElecGSFTrackResol,
139 Float_t ElecGSFTracklnPt,
140 Float_t ElecGSFTrackEta);
Float_t Elec_EgammaOverPdif_
Float_t Elec_EtotOverPin_
Float_t Elec_GSFTrackResol_
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)
double dCrackEta(double eta)
Float_t Tau_NumGammaCands_
Float_t Tau_GSFTrackResol_
Float_t Tau_EtaAtEcalEntrance_
double dCrackPhi(double phi, double eta)
Float_t Tau_NumHitsVariable_
TMVA::Reader * fTMVAReader_[16]
Float_t Elec_GSFTracklnPt_
Float_t Elec_GSFTrackEta_
double minimum(double a, double b)
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)
Float_t Tau_GSFTracklnPt_
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)