#include <MVAVariableManager.h>
Classes | |
struct | MVAVariableInfo |
Public Member Functions | |
const std::string & | getName (int index) const |
int | getNVars () const |
float | getValue (int index, const ParticleType &particle, const std::vector< float > &auxVariables) const |
int | getVarIndex (const std::string &name) |
MVAVariableManager (const std::string &variableDefinitionFileName) | |
Private Member Functions | |
void | addVariable (const std::string &name, const std::string &formula, const std::string &lowerClip, const std::string &upperClip) |
Private Attributes | |
std::vector< std::string > | formulas_ |
std::vector< ThreadSafeStringCut< StringObjectFunction< ParticleType >, ParticleType > > | functions_ |
const MVAVariableIndexMap< ParticleType > | indexMap |
std::map< std::string, int > | indexMap_ |
std::vector< std::string > | names_ |
int | nVars_ |
std::vector< MVAVariableInfo > | variableInfos_ |
Definition at line 14 of file MVAVariableManager.h.
|
inline |
Definition at line 18 of file MVAVariableManager.h.
|
inlineprivate |
Definition at line 87 of file MVAVariableManager.h.
Referenced by MVAVariableManager< reco::GsfElectron >::MVAVariableManager().
|
inline |
Definition at line 52 of file MVAVariableManager.h.
Referenced by plotting.Plot::draw(), ElectronMVANtuplizer::ElectronMVANtuplizer(), PhotonMVAEstimator::mvaValue(), ElectronMVAEstimatorRun2::mvaValue(), and PhotonMVANtuplizer::PhotonMVANtuplizer().
|
inline |
Definition at line 56 of file MVAVariableManager.h.
|
inline |
Definition at line 60 of file MVAVariableManager.h.
Referenced by ElectronMVANtuplizer::analyze(), PhotonMVANtuplizer::analyze(), PhotonMVAEstimator::mvaValue(), and ElectronMVAEstimatorRun2::mvaValue().
|
inline |
Definition at line 42 of file MVAVariableManager.h.
Referenced by ElectronMVAEstimatorRun2::init(), and PhotonMVAEstimator::PhotonMVAEstimator().
|
private |
Definition at line 127 of file MVAVariableManager.h.
Referenced by MVAVariableManager< reco::GsfElectron >::addVariable().
|
private |
Definition at line 126 of file MVAVariableManager.h.
Referenced by MVAVariableManager< reco::GsfElectron >::addVariable(), and MVAVariableManager< reco::GsfElectron >::getValue().
|
private |
Definition at line 131 of file MVAVariableManager.h.
Referenced by MVAVariableManager< reco::GsfElectron >::addVariable().
|
private |
Definition at line 129 of file MVAVariableManager.h.
Referenced by MVAVariableManager< reco::GsfElectron >::addVariable(), and MVAVariableManager< reco::GsfElectron >::getVarIndex().
|
private |
Definition at line 128 of file MVAVariableManager.h.
Referenced by MVAVariableManager< reco::GsfElectron >::addVariable(), and MVAVariableManager< reco::GsfElectron >::getName().
|
private |
Definition at line 121 of file MVAVariableManager.h.
Referenced by MVAVariableManager< reco::GsfElectron >::addVariable(), and MVAVariableManager< reco::GsfElectron >::getNVars().
|
private |
Definition at line 125 of file MVAVariableManager.h.
Referenced by MVAVariableManager< reco::GsfElectron >::addVariable(), and MVAVariableManager< reco::GsfElectron >::getValue().