9 #ifndef RECOTAUTAG_RECOTAU_AntiElectronIDMVA6_H 10 #define RECOTAUTAG_RECOTAU_AntiElectronIDMVA6_H 30 #include "TMVA/Tools.h" 31 #include "TMVA/Reader.h" 47 Float_t TauEtaAtEcalEntrance,
49 Float_t TauLeadChargedPFCandPt,
50 Float_t TauLeadChargedPFCandEtaAtEcalEntrance,
51 Float_t TauEmFraction,
52 Float_t TauLeadPFChargedHadrHoP,
53 Float_t TauLeadPFChargedHadrEoP,
58 Int_t TauSignalPFGammaCandsIn,
59 Int_t TauSignalPFGammaCandsOut,
60 const std::vector<Float_t>& GammasdEtaInSigCone,
61 const std::vector<Float_t>& GammasdPhiInSigCone,
62 const std::vector<Float_t>& GammasPtInSigCone,
63 const std::vector<Float_t>& GammasdEtaOutSigCone,
64 const std::vector<Float_t>& GammasdPhiOutSigCone,
65 const std::vector<Float_t>& GammasPtOutSigCone,
68 Float_t ElecEtotOverPin,
69 Float_t ElecChi2NormGSF,
70 Float_t ElecChi2NormKF,
71 Float_t ElecGSFNumHits,
72 Float_t ElecKFNumHits,
73 Float_t ElecGSFTrackResol,
74 Float_t ElecGSFTracklnPt,
80 Float_t ElecMvaInSigmaEtaEta,
81 Float_t ElecMvaInHadEnergy,
82 Float_t ElecMvaInDeltaEta
86 Float_t TauEtaAtEcalEntrance,
88 Float_t TauLeadChargedPFCandPt,
89 Float_t TauLeadChargedPFCandEtaAtEcalEntrance,
90 Float_t TauEmFraction,
91 Float_t TauLeadPFChargedHadrHoP,
92 Float_t TauLeadPFChargedHadrEoP,
97 Int_t TauSignalPFGammaCandsIn,
98 Int_t TauSignalPFGammaCandsOut,
99 Float_t TauGammaEtaMomIn,
100 Float_t TauGammaEtaMomOut,
101 Float_t TauGammaPhiMomIn,
102 Float_t TauGammaPhiMomOut,
103 Float_t TauGammaEnFracIn,
104 Float_t TauGammaEnFracOut,
107 Float_t ElecEtotOverPin,
108 Float_t ElecChi2NormGSF,
109 Float_t ElecChi2NormKF,
110 Float_t ElecGSFNumHits,
111 Float_t ElecKFNumHits,
112 Float_t ElecGSFTrackResol,
113 Float_t ElecGSFTracklnPt,
117 Float_t ElecDeltaEta,
118 Float_t ElecDeltaPhi,
119 Float_t ElecMvaInSigmaEtaEta,
120 Float_t ElecMvaInHadEnergy,
121 Float_t ElecMvaInDeltaEta
double minimum(double a, double b)
std::string mvaName_woGwGSF_BL_
std::string mvaName_NoEleMatch_woGwoGSF_BL_
bool atECalEntrance(const reco::Candidate *part, math::XYZPoint &pos)
std::string mvaName_NoEleMatch_woGwoGSF_EC_
edm::FileInPath inputFileName_
AntiElectronIDMVA6(const edm::ParameterSet &)
const GBRForest * mva_wGwGSF_EC_
Float_t * Var_woGwGSF_Barrel_
Float_t * Var_NoEleMatch_wGwoGSF_Barrel_
double dCrackPhi(double phi, double eta)
const GBRForest * mva_NoEleMatch_woGwoGSF_EC_
std::string mvaName_NoEleMatch_wGwoGSF_EC_
Float_t * Var_wGwGSF_Barrel_
void beginEvent(const edm::Event &, const edm::EventSetup &)
const GBRForest * mva_NoEleMatch_wGwoGSF_BL_
Float_t * Var_NoEleMatch_woGwoGSF_Endcap_
std::vector< TFile * > inputFilesToDelete_
const GBRForest * mva_woGwGSF_EC_
bool usePhiAtEcalEntranceExtrapolation_
Analysis-level tau class.
std::string mvaName_wGwGSF_EC_
double MVAValue(Float_t TauPt, Float_t TauEtaAtEcalEntrance, Float_t TauPhi, Float_t TauLeadChargedPFCandPt, Float_t TauLeadChargedPFCandEtaAtEcalEntrance, Float_t TauEmFraction, Float_t TauLeadPFChargedHadrHoP, Float_t TauLeadPFChargedHadrEoP, Float_t TauVisMassIn, Float_t TaudCrackEta, Float_t TaudCrackPhi, Float_t TauHasGsf, Int_t TauSignalPFGammaCandsIn, Int_t TauSignalPFGammaCandsOut, const std::vector< Float_t > &GammasdEtaInSigCone, const std::vector< Float_t > &GammasdPhiInSigCone, const std::vector< Float_t > &GammasPtInSigCone, const std::vector< Float_t > &GammasdEtaOutSigCone, const std::vector< Float_t > &GammasdPhiOutSigCone, const std::vector< Float_t > &GammasPtOutSigCone, Float_t ElecEta, Float_t ElecPhi, Float_t ElecEtotOverPin, Float_t ElecChi2NormGSF, Float_t ElecChi2NormKF, Float_t ElecGSFNumHits, Float_t ElecKFNumHits, Float_t ElecGSFTrackResol, Float_t ElecGSFTracklnPt, Float_t ElecPin, Float_t ElecPout, Float_t ElecEecal, Float_t ElecDeltaEta, Float_t ElecDeltaPhi, Float_t ElecMvaInSigmaEtaEta, Float_t ElecMvaInHadEnergy, Float_t ElecMvaInDeltaEta)
XYZPointD XYZPoint
point in space with cartesian internal representation
Float_t * Var_NoEleMatch_wGwoGSF_Endcap_
Analysis-level electron class.
const GBRForest * mva_wGwGSF_BL_
const GBRForest * mva_woGwGSF_BL_
const GBRForest * mva_NoEleMatch_wGwoGSF_EC_
Float_t * Var_wGwGSF_Endcap_
std::string mvaName_wGwGSF_BL_
std::string mvaName_NoEleMatch_wGwoGSF_BL_
double dCrackEta(double eta)
const GBRForest * mva_NoEleMatch_woGwoGSF_BL_
Float_t * Var_woGwGSF_Endcap_
std::string mvaName_woGwGSF_EC_
Float_t * Var_NoEleMatch_woGwoGSF_Barrel_