EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
|
#include <fun4all_coresoftware/blob/master/offline/packages/KFParticle_sPHENIX/KFParticle_MVA.h>
Public Member Functions | |
KFParticle_MVA () | |
virtual | ~KFParticle_MVA () |
std::tuple< TMVA::Reader *, std::vector< Float_t > > | initMVA () |
Float_t | evaluateMVA (TMVA::Reader *reader, std::vector< Float_t > reader_floats, KFParticle particle, KFPVertex vertex) |
Protected Attributes | |
unsigned int | m_nPars = 1 |
std::vector< std::string > | m_mva_variable_list |
std::string | m_mva_type |
std::string | m_mva_path |
Private Attributes | |
unsigned int | nMVApars = m_nPars |
std::string | method = m_mva_path + " method" |
Definition at line 21 of file KFParticle_MVA.h.
View newest version in sPHENIX GitHub at line 21 of file KFParticle_MVA.h
|
inline |
Definition at line 24 of file KFParticle_MVA.h.
View newest version in sPHENIX GitHub at line 24 of file KFParticle_MVA.h
|
inlinevirtual |
Definition at line 26 of file KFParticle_MVA.h.
View newest version in sPHENIX GitHub at line 26 of file KFParticle_MVA.h
Float_t KFParticle_MVA::evaluateMVA | ( | TMVA::Reader * | reader, |
std::vector< Float_t > | reader_floats, | ||
KFParticle | particle, | ||
KFPVertex | vertex | ||
) |
Definition at line 33 of file KFParticle_MVA.cc.
View newest version in sPHENIX GitHub at line 33 of file KFParticle_MVA.cc
References KFParticle_Tools::flightDistanceChi2(), m_mva_variable_list, method, and nMVApars.
std::tuple< TMVA::Reader *, std::vector< Float_t > > KFParticle_MVA::initMVA | ( | ) |
Definition at line 16 of file KFParticle_MVA.cc.
View newest version in sPHENIX GitHub at line 16 of file KFParticle_MVA.cc
References m_mva_path, m_mva_variable_list, method, nMVApars, and reader().
Referenced by KFParticle_sPHENIX::Init().
|
protected |
Definition at line 36 of file KFParticle_MVA.h.
View newest version in sPHENIX GitHub at line 36 of file KFParticle_MVA.h
Referenced by initMVA(), and KFParticle_sPHENIX::setMVAWeightsPath().
|
protected |
Definition at line 35 of file KFParticle_MVA.h.
View newest version in sPHENIX GitHub at line 35 of file KFParticle_MVA.h
Referenced by KFParticle_sPHENIX::setMVAType().
|
protected |
Definition at line 34 of file KFParticle_MVA.h.
View newest version in sPHENIX GitHub at line 34 of file KFParticle_MVA.h
Referenced by evaluateMVA(), initMVA(), and KFParticle_sPHENIX::setMVAVarList().
|
protected |
Definition at line 33 of file KFParticle_MVA.h.
View newest version in sPHENIX GitHub at line 33 of file KFParticle_MVA.h
Referenced by KFParticle_sPHENIX::setNumMVAPars().
|
private |
Definition at line 40 of file KFParticle_MVA.h.
View newest version in sPHENIX GitHub at line 40 of file KFParticle_MVA.h
Referenced by evaluateMVA(), and initMVA().
|
private |
Definition at line 39 of file KFParticle_MVA.h.
View newest version in sPHENIX GitHub at line 39 of file KFParticle_MVA.h
Referenced by evaluateMVA(), and initMVA().