#include <MuonIDMVA.h>
Public Member Functions | |
void | Initialize (TString methodName, unsigned int version, TString Subdet0Pt10To14p5Weights, TString Subdet1Pt10To14p5Weights, TString Subdet0Pt14p5To20Weights, TString Subdet1Pt14p5To20Weights, TString Subdet0Pt20ToInfWeights, TString Subdet1Pt20ToInfWeights) |
Bool_t | IsInitialized () const |
MuonIDMVA () | |
Double_t | MVAValue (HWW &, const unsigned int mu, const unsigned int vertex) |
Double_t | MVAValue (Double_t MuPt, Double_t MuEta, Double_t MuTkNchi2, Double_t MuGlobalNchi2, Double_t MuNValidHits, Double_t MuNTrackerHits, Double_t MuNPixelHits, Double_t MuNMatches, Double_t MuD0, Double_t MuIP3d, Double_t MuIP3dSig, Double_t MuTrkKink, Double_t MuSegmentCompatibility, Double_t MuCaloCompatibility, Double_t MuHadEnergyOverPt, Double_t MuHoEnergyOverPt, Double_t MuEmEnergyOverPt, Double_t MuHadS9EnergyOverPt, Double_t MuHoS9EnergyOverPt, Double_t MuEmS9EnergyOverPt, Double_t MuTrkIso03OverPt, Double_t MuEMIso03OverPt, Double_t MuHadIso03OverPt, Double_t MuTrkIso05OverPt, Double_t MuEMIso05OverPt, Double_t MuHadIso05OverPt, Bool_t printDebug=kFALSE) |
~MuonIDMVA () | |
Static Public Member Functions | |
static const Double_t | MuonEffectiveArea (EMuonEffectiveAreaType type, Double_t Eta) |
Protected Attributes | |
Bool_t | fIsInitialized |
TString | fMethodname |
Float_t | fMVAVar_MuCaloCompatibility |
Float_t | fMVAVar_MuChargedIso03OverPt |
Float_t | fMVAVar_MuChargedIso04OverPt |
Float_t | fMVAVar_MuD0 |
Float_t | fMVAVar_MuEmEnergyOverPt |
Float_t | fMVAVar_MuEMIso03OverPt |
Float_t | fMVAVar_MuEMIso05OverPt |
Float_t | fMVAVar_MuEmS9EnergyOverPt |
Float_t | fMVAVar_MuGlobalNchi2 |
Float_t | fMVAVar_MuHadEnergyOverPt |
Float_t | fMVAVar_MuHadIso03OverPt |
Float_t | fMVAVar_MuHadIso05OverPt |
Float_t | fMVAVar_MuHadS9EnergyOverPt |
Float_t | fMVAVar_MuHoEnergyOverPt |
Float_t | fMVAVar_MuHoS9EnergyOverPt |
Float_t | fMVAVar_MuIP3d |
Float_t | fMVAVar_MuIP3dSig |
Float_t | fMVAVar_MuNeutralIso03OverPt |
Float_t | fMVAVar_MuNeutralIso04OverPt |
Float_t | fMVAVar_MuNMatches |
Float_t | fMVAVar_MuNPixelHits |
Float_t | fMVAVar_MuNTrackerHits |
Float_t | fMVAVar_MuNValidHits |
Float_t | fMVAVar_MuSegmentCompatibility |
Float_t | fMVAVar_MuTkNchi2 |
Float_t | fMVAVar_MuTrkIso03OverPt |
Float_t | fMVAVar_MuTrkIso05OverPt |
Float_t | fMVAVar_MuTrkKink |
TMVA::Reader * | fTMVAReader [6] |
Definition at line 24 of file MuonIDMVA.h.
Definition at line 68 of file MuonIDMVA.h.
MuonIDMVA::MuonIDMVA | ( | ) |
MuonIDMVA::~MuonIDMVA | ( | ) |
void MuonIDMVA::Initialize | ( | TString | methodName, |
unsigned int | version, | ||
TString | Subdet0Pt10To14p5Weights, | ||
TString | Subdet1Pt10To14p5Weights, | ||
TString | Subdet0Pt14p5To20Weights, | ||
TString | Subdet1Pt14p5To20Weights, | ||
TString | Subdet0Pt20ToInfWeights, | ||
TString | Subdet1Pt20ToInfWeights | ||
) |
Definition at line 35 of file MuonIDMVA.cc.
References fIsInitialized, fMethodname, fMVAVar_MuCaloCompatibility, fMVAVar_MuD0, fMVAVar_MuEmEnergyOverPt, fMVAVar_MuEMIso03OverPt, fMVAVar_MuEMIso05OverPt, fMVAVar_MuEmS9EnergyOverPt, fMVAVar_MuGlobalNchi2, fMVAVar_MuHadEnergyOverPt, fMVAVar_MuHadIso03OverPt, fMVAVar_MuHadIso05OverPt, fMVAVar_MuHadS9EnergyOverPt, fMVAVar_MuIP3d, fMVAVar_MuIP3dSig, fMVAVar_MuNMatches, fMVAVar_MuNPixelHits, fMVAVar_MuNTrackerHits, fMVAVar_MuNValidHits, fMVAVar_MuSegmentCompatibility, fMVAVar_MuTkNchi2, fMVAVar_MuTrkIso03OverPt, fMVAVar_MuTrkIso05OverPt, fMVAVar_MuTrkKink, fTMVAReader, and i.
|
inline |
|
inlinestatic |
Definition at line 87 of file MuonIDMVA.h.
References kMuChargedIso03, kMuChargedIso04, kMuEmEnergy, kMuEMIso03, kMuEMIso05, kMuEmS9Energy, kMuHadEnergy, kMuHadIso03, kMuHadIso05, kMuHadS9Energy, kMuHoEnergy, kMuHoS9Energy, kMuNeutralIso03, kMuNeutralIso04, kMuTrkIso03, and kMuTrkIso05.
Referenced by MVAValue().
Double_t MuonIDMVA::MVAValue | ( | HWW & | hww, |
const unsigned int | mu, | ||
const unsigned int | vertex | ||
) |
Definition at line 211 of file MuonIDMVA.cc.
References HWW::evt_event(), HWW::evt_lumiBlock(), HWW::evt_run(), HWW::evt_ww_rho_vor(), first, fIsInitialized, fMethodname, fMVAVar_MuCaloCompatibility, fMVAVar_MuD0, fMVAVar_MuEmEnergyOverPt, fMVAVar_MuEMIso03OverPt, fMVAVar_MuEMIso05OverPt, fMVAVar_MuEmS9EnergyOverPt, fMVAVar_MuGlobalNchi2, fMVAVar_MuHadEnergyOverPt, fMVAVar_MuHadIso03OverPt, fMVAVar_MuHadIso05OverPt, fMVAVar_MuHadS9EnergyOverPt, fMVAVar_MuHoEnergyOverPt, fMVAVar_MuHoS9EnergyOverPt, fMVAVar_MuIP3d, fMVAVar_MuIP3dSig, fMVAVar_MuNMatches, fMVAVar_MuNPixelHits, fMVAVar_MuNTrackerHits, fMVAVar_MuNValidHits, fMVAVar_MuSegmentCompatibility, fMVAVar_MuTkNchi2, fMVAVar_MuTrkIso03OverPt, fMVAVar_MuTrkIso05OverPt, fMVAVar_MuTrkKink, fTMVAReader, kMuEmEnergy, kMuEMIso03, kMuEMIso05, kMuEmS9Energy, kMuHadEnergy, kMuHadIso03, kMuHadIso05, kMuHadS9Energy, kMuHoEnergy, kMuHoS9Energy, kMuTrkIso03, kMuTrkIso05, LogDebug, HWWFunctions::mud0PV_smurfV3(), MuonEffectiveArea(), HWW::mus_caloCompatibility(), HWW::mus_chi2(), HWW::mus_e_em(), HWW::mus_e_emS9(), HWW::mus_e_had(), HWW::mus_e_hadS9(), HWW::mus_e_ho(), HWW::mus_e_hoS9(), HWW::mus_gfit_chi2(), HWW::mus_gfit_ndof(), HWW::mus_gfit_validSTAHits(), HWW::mus_ip3d(), HWW::mus_ip3derr(), HWW::mus_iso03_emEt(), HWW::mus_iso03_hadEt(), HWW::mus_iso03_sumPt(), HWW::mus_iso05_emEt(), HWW::mus_iso05_hadEt(), HWW::mus_iso05_sumPt(), HWW::mus_ndof(), HWW::mus_nmatches(), HWW::mus_p4(), HWW::mus_segmCompatibility(), HWW::mus_trk_p4(), HWW::mus_trkidx(), HWW::mus_trkKink(), HWW::mus_validHits(), matplotRender::reader, HWWFunctions::trks_d0_pv(), and HWW::trks_valid_pixelhits().
Referenced by HWWFunctions::goodMuonTMVA().
Double_t MuonIDMVA::MVAValue | ( | Double_t | MuPt, |
Double_t | MuEta, | ||
Double_t | MuTkNchi2, | ||
Double_t | MuGlobalNchi2, | ||
Double_t | MuNValidHits, | ||
Double_t | MuNTrackerHits, | ||
Double_t | MuNPixelHits, | ||
Double_t | MuNMatches, | ||
Double_t | MuD0, | ||
Double_t | MuIP3d, | ||
Double_t | MuIP3dSig, | ||
Double_t | MuTrkKink, | ||
Double_t | MuSegmentCompatibility, | ||
Double_t | MuCaloCompatibility, | ||
Double_t | MuHadEnergyOverPt, | ||
Double_t | MuHoEnergyOverPt, | ||
Double_t | MuEmEnergyOverPt, | ||
Double_t | MuHadS9EnergyOverPt, | ||
Double_t | MuHoS9EnergyOverPt, | ||
Double_t | MuEmS9EnergyOverPt, | ||
Double_t | MuTrkIso03OverPt, | ||
Double_t | MuEMIso03OverPt, | ||
Double_t | MuHadIso03OverPt, | ||
Double_t | MuTrkIso05OverPt, | ||
Double_t | MuEMIso05OverPt, | ||
Double_t | MuHadIso05OverPt, | ||
Bool_t | printDebug = kFALSE |
||
) |
Definition at line 94 of file MuonIDMVA.cc.
References fIsInitialized, fMethodname, fMVAVar_MuCaloCompatibility, fMVAVar_MuD0, fMVAVar_MuEmEnergyOverPt, fMVAVar_MuEMIso03OverPt, fMVAVar_MuEMIso05OverPt, fMVAVar_MuEmS9EnergyOverPt, fMVAVar_MuGlobalNchi2, fMVAVar_MuHadEnergyOverPt, fMVAVar_MuHadIso03OverPt, fMVAVar_MuHadIso05OverPt, fMVAVar_MuHadS9EnergyOverPt, fMVAVar_MuHoEnergyOverPt, fMVAVar_MuHoS9EnergyOverPt, fMVAVar_MuIP3d, fMVAVar_MuIP3dSig, fMVAVar_MuNMatches, fMVAVar_MuNPixelHits, fMVAVar_MuNTrackerHits, fMVAVar_MuNValidHits, fMVAVar_MuSegmentCompatibility, fMVAVar_MuTkNchi2, fMVAVar_MuTrkIso03OverPt, fMVAVar_MuTrkIso05OverPt, fMVAVar_MuTrkKink, fTMVAReader, LogDebug, and matplotRender::reader.
|
protected |
Definition at line 183 of file MuonIDMVA.h.
Referenced by Initialize(), IsInitialized(), and MVAValue().
|
protected |
Definition at line 182 of file MuonIDMVA.h.
Referenced by Initialize(), and MVAValue().
|
protected |
Definition at line 196 of file MuonIDMVA.h.
Referenced by Initialize(), and MVAValue().
|
protected |
Definition at line 203 of file MuonIDMVA.h.
|
protected |
Definition at line 205 of file MuonIDMVA.h.
|
protected |
Definition at line 191 of file MuonIDMVA.h.
Referenced by Initialize(), and MVAValue().
|
protected |
Definition at line 199 of file MuonIDMVA.h.
Referenced by Initialize(), and MVAValue().
|
protected |
Definition at line 208 of file MuonIDMVA.h.
Referenced by Initialize(), and MVAValue().
|
protected |
Definition at line 211 of file MuonIDMVA.h.
Referenced by Initialize(), and MVAValue().
|
protected |
Definition at line 202 of file MuonIDMVA.h.
Referenced by Initialize(), and MVAValue().
|
protected |
Definition at line 186 of file MuonIDMVA.h.
Referenced by Initialize(), and MVAValue().
|
protected |
Definition at line 197 of file MuonIDMVA.h.
Referenced by Initialize(), and MVAValue().
|
protected |
Definition at line 209 of file MuonIDMVA.h.
Referenced by Initialize(), and MVAValue().
|
protected |
Definition at line 212 of file MuonIDMVA.h.
Referenced by Initialize(), and MVAValue().
|
protected |
Definition at line 200 of file MuonIDMVA.h.
Referenced by Initialize(), and MVAValue().
|
protected |
Definition at line 198 of file MuonIDMVA.h.
Referenced by MVAValue().
|
protected |
Definition at line 201 of file MuonIDMVA.h.
Referenced by MVAValue().
|
protected |
Definition at line 192 of file MuonIDMVA.h.
Referenced by Initialize(), and MVAValue().
|
protected |
Definition at line 193 of file MuonIDMVA.h.
Referenced by Initialize(), and MVAValue().
|
protected |
Definition at line 204 of file MuonIDMVA.h.
|
protected |
Definition at line 206 of file MuonIDMVA.h.
|
protected |
Definition at line 190 of file MuonIDMVA.h.
Referenced by Initialize(), and MVAValue().
|
protected |
Definition at line 189 of file MuonIDMVA.h.
Referenced by Initialize(), and MVAValue().
|
protected |
Definition at line 188 of file MuonIDMVA.h.
Referenced by Initialize(), and MVAValue().
|
protected |
Definition at line 187 of file MuonIDMVA.h.
Referenced by Initialize(), and MVAValue().
|
protected |
Definition at line 195 of file MuonIDMVA.h.
Referenced by Initialize(), and MVAValue().
|
protected |
Definition at line 185 of file MuonIDMVA.h.
Referenced by Initialize(), and MVAValue().
|
protected |
Definition at line 207 of file MuonIDMVA.h.
Referenced by Initialize(), and MVAValue().
|
protected |
Definition at line 210 of file MuonIDMVA.h.
Referenced by Initialize(), and MVAValue().
|
protected |
Definition at line 194 of file MuonIDMVA.h.
Referenced by Initialize(), and MVAValue().
|
protected |
Definition at line 181 of file MuonIDMVA.h.
Referenced by Initialize(), MuonIDMVA(), MVAValue(), and ~MuonIDMVA().