Analysis Software
Documentation for sPHENIX simulation software
|
#include <coresoftware/blob/master/offline/packages/KFParticle_sPHENIX/KFParticle_MVA.h>
Public Member Functions | |
KFParticle_MVA ()=default | |
virtual | ~KFParticle_MVA ()=default |
std::tuple< TMVA::Reader *, std::vector< Float_t > > | initMVA () |
Float_t | evaluateMVA (TMVA::Reader *reader, std::vector< Float_t > reader_floats, const KFParticle &particle, const 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 24 of file KFParticle_MVA.h.
View newest version in sPHENIX GitHub at line 24 of file KFParticle_MVA.h
|
default |
|
virtualdefault |
Float_t KFParticle_MVA::evaluateMVA | ( | TMVA::Reader * | reader, |
std::vector< Float_t > | reader_floats, | ||
const KFParticle & | particle, | ||
const KFPVertex & | vertex | ||
) |
Definition at line 39 of file KFParticle_MVA.cc.
View newest version in sPHENIX GitHub at line 39 of file KFParticle_MVA.cc
References KFParticle_Tools::flightDistanceChi2(), KFParticleBase::GetDeviationFromVertex(), m_mva_variable_list, method, and nMVApars.
std::tuple< TMVA::Reader *, std::vector< Float_t > > KFParticle_MVA::initMVA | ( | ) |
Definition at line 22 of file KFParticle_MVA.cc.
View newest version in sPHENIX GitHub at line 22 of file KFParticle_MVA.cc
References i, m_mva_path, m_mva_variable_list, std::tr1::make_tuple(), method, nMVApars, and summary::reader.
Referenced by KFParticle_sPHENIX::Init().
|
protected |
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 initMVA(), and KFParticle_sPHENIX::setMVAWeightsPath().
|
protected |
Definition at line 38 of file KFParticle_MVA.h.
View newest version in sPHENIX GitHub at line 38 of file KFParticle_MVA.h
Referenced by KFParticle_sPHENIX::setMVAType().
|
protected |
Definition at line 37 of file KFParticle_MVA.h.
View newest version in sPHENIX GitHub at line 37 of file KFParticle_MVA.h
Referenced by evaluateMVA(), initMVA(), and KFParticle_sPHENIX::setMVAVarList().
|
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 KFParticle_sPHENIX::setNumMVAPars().
|
private |
Definition at line 43 of file KFParticle_MVA.h.
View newest version in sPHENIX GitHub at line 43 of file KFParticle_MVA.h
Referenced by evaluateMVA(), and initMVA().
|
private |
Definition at line 42 of file KFParticle_MVA.h.
View newest version in sPHENIX GitHub at line 42 of file KFParticle_MVA.h
Referenced by evaluateMVA(), and initMVA().