#include <MVAVariableManager.h>
Classes | |
struct | MVAVariableInfo |
Public Member Functions | |
std::vector< edm::InputTag > | getGlobalInputTags () const |
std::vector< edm::InputTag > | getHelperInputTags () const |
const std::string | getName (int index) const |
const int | getNVars () const |
float | getValue (int index, const edm::Ptr< ParticleType > &ptclPtr, const edm::EventBase &iEvent) const |
int | getVarIndex (std::string &name) |
int | init (const std::string &variableDefinitionFileName) |
MVAVariableManager () | |
MVAVariableManager (const std::string &variableDefinitionFileName) | |
Private Member Functions | |
void | addVariable (std::string &name, std::string &formula, std::string &lowerClip, std::string &upperClip) |
Private Attributes | |
std::vector< std::string > | formulas_ |
std::vector< StringObjectFunction< ParticleType > > | functions_ |
std::vector< edm::InputTag > | globalInputTags_ |
std::vector< edm::InputTag > | helperInputTags_ |
std::map< std::string, int > | indexMap_ |
std::vector< std::string > | names_ |
int | nVars_ |
std::vector< MVAVariableInfo > | variableInfos_ |
Definition at line 19 of file MVAVariableManager.h.
|
inline |
Definition at line 22 of file MVAVariableManager.h.
|
inline |
Definition at line 26 of file MVAVariableManager.h.
|
inlineprivate |
Definition at line 118 of file MVAVariableManager.h.
Referenced by MVAVariableManager< reco::GsfElectron >::init().
|
inline |
Definition at line 80 of file MVAVariableManager.h.
Referenced by ElectronMVANtuplizer::ElectronMVANtuplizer(), ElectronMVAEstimatorRun2::setConsumes(), and PhotonMVAEstimator::setConsumes().
|
inline |
Definition at line 76 of file MVAVariableManager.h.
Referenced by ElectronMVANtuplizer::ElectronMVANtuplizer(), ElectronMVAEstimatorRun2::setConsumes(), and PhotonMVAEstimator::setConsumes().
|
inline |
Definition at line 68 of file MVAVariableManager.h.
Referenced by plotting.Plot::draw(), ElectronMVANtuplizer::ElectronMVANtuplizer(), ElectronMVAEstimatorRun2::mvaValue(), and PhotonMVAEstimator::mvaValue().
|
inline |
Definition at line 72 of file MVAVariableManager.h.
Referenced by ElectronMVANtuplizer::ElectronMVANtuplizer().
|
inline |
Definition at line 84 of file MVAVariableManager.h.
Referenced by ElectronMVANtuplizer::analyze(), ElectronMVAEstimatorRun2::mvaValue(), and PhotonMVAEstimator::mvaValue().
|
inline |
Definition at line 59 of file MVAVariableManager.h.
Referenced by ElectronMVAEstimatorRun2::init(), and PhotonMVAEstimator::PhotonMVAEstimator().
|
inline |
Definition at line 30 of file MVAVariableManager.h.
Referenced by MVAVariableManager< reco::GsfElectron >::MVAVariableManager().
|
private |
Definition at line 164 of file MVAVariableManager.h.
Referenced by MVAVariableManager< reco::GsfElectron >::addVariable(), MVAVariableManager< reco::GsfElectron >::getValue(), and MVAVariableManager< reco::GsfElectron >::init().
|
private |
Definition at line 163 of file MVAVariableManager.h.
Referenced by MVAVariableManager< reco::GsfElectron >::addVariable(), MVAVariableManager< reco::GsfElectron >::getValue(), and MVAVariableManager< reco::GsfElectron >::init().
|
private |
Definition at line 171 of file MVAVariableManager.h.
Referenced by MVAVariableManager< reco::GsfElectron >::addVariable(), MVAVariableManager< reco::GsfElectron >::getGlobalInputTags(), and MVAVariableManager< reco::GsfElectron >::init().
|
private |
Definition at line 169 of file MVAVariableManager.h.
Referenced by MVAVariableManager< reco::GsfElectron >::addVariable(), MVAVariableManager< reco::GsfElectron >::getHelperInputTags(), and MVAVariableManager< reco::GsfElectron >::init().
|
private |
Definition at line 166 of file MVAVariableManager.h.
Referenced by MVAVariableManager< reco::GsfElectron >::addVariable(), and MVAVariableManager< reco::GsfElectron >::getVarIndex().
|
private |
Definition at line 165 of file MVAVariableManager.h.
Referenced by MVAVariableManager< reco::GsfElectron >::addVariable(), MVAVariableManager< reco::GsfElectron >::getName(), and MVAVariableManager< reco::GsfElectron >::init().
|
private |
|
private |
Definition at line 162 of file MVAVariableManager.h.
Referenced by MVAVariableManager< reco::GsfElectron >::addVariable(), MVAVariableManager< reco::GsfElectron >::getValue(), and MVAVariableManager< reco::GsfElectron >::init().