#include <MVAVariableManager.h>
Classes | |
struct | MVAVariableInfo |
Public Member Functions | |
const std::string & | getName (int index) const |
int | getNVars () const |
float | getValue (int index, const edm::Ptr< ParticleType > &ptclPtr, const edm::EventBase &iEvent) const |
float | getValue (int index, const edm::Ptr< ParticleType > &ptclPtr, const edm::Event &iEvent) const |
int | getVarIndex (const std::string &name) |
int | init (const std::string &variableDefinitionFileName) |
MVAVariableManager () | |
MVAVariableManager (const std::string &variableDefinitionFileName) | |
void | setConsumes (edm::ConsumesCollector &&cc) |
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< StringObjectFunction< ParticleType > > | functions_ |
std::vector< edm::InputTag > | globalInputTags_ |
std::vector< edm::EDGetToken > | globalTokens_ |
std::vector< edm::InputTag > | helperInputTags_ |
std::vector< edm::EDGetToken > | helperTokens_ |
std::map< std::string, int > | indexMap_ |
std::vector< std::string > | names_ |
int | nGlobalVars_ |
int | nHelperVars_ |
int | nVars_ |
std::vector< MVAVariableInfo > | variableInfos_ |
Definition at line 15 of file MVAVariableManager.h.
|
inline |
Definition at line 18 of file MVAVariableManager.h.
|
inline |
Definition at line 25 of file MVAVariableManager.h.
|
inlineprivate |
Definition at line 152 of file MVAVariableManager.h.
Referenced by MVAVariableManager< reco::GsfElectron >::init().
|
inline |
Definition at line 74 of file MVAVariableManager.h.
Referenced by plotting.Plot::draw(), ElectronMVANtuplizer::ElectronMVANtuplizer(), PhotonMVAEstimator::mvaValue(), and ElectronMVAEstimatorRun2::mvaValue().
|
inline |
Definition at line 78 of file MVAVariableManager.h.
Referenced by ElectronMVANtuplizer::ElectronMVANtuplizer().
|
inline |
Definition at line 83 of file MVAVariableManager.h.
Referenced by ElectronMVANtuplizer::analyze(), PhotonMVAEstimator::mvaValue(), and ElectronMVAEstimatorRun2::mvaValue().
|
inline |
Definition at line 107 of file MVAVariableManager.h.
|
inline |
Definition at line 64 of file MVAVariableManager.h.
Referenced by ElectronMVAEstimatorRun2::init(), and PhotonMVAEstimator::PhotonMVAEstimator().
|
inline |
Definition at line 29 of file MVAVariableManager.h.
Referenced by MVAVariableManager< reco::GsfElectron >::MVAVariableManager().
|
inline |
Definition at line 130 of file MVAVariableManager.h.
Referenced by ElectronMVANtuplizer::ElectronMVANtuplizer(), PhotonMVAEstimator::setConsumes(), and ElectronMVAEstimatorRun2::setConsumes().
|
private |
Definition at line 207 of file MVAVariableManager.h.
Referenced by MVAVariableManager< reco::GsfElectron >::addVariable(), MVAVariableManager< reco::GsfElectron >::getValue(), and MVAVariableManager< reco::GsfElectron >::init().
|
private |
Definition at line 206 of file MVAVariableManager.h.
Referenced by MVAVariableManager< reco::GsfElectron >::addVariable(), MVAVariableManager< reco::GsfElectron >::getValue(), and MVAVariableManager< reco::GsfElectron >::init().
|
private |
Definition at line 213 of file MVAVariableManager.h.
Referenced by MVAVariableManager< reco::GsfElectron >::addVariable(), MVAVariableManager< reco::GsfElectron >::init(), and MVAVariableManager< reco::GsfElectron >::setConsumes().
|
private |
Definition at line 217 of file MVAVariableManager.h.
Referenced by MVAVariableManager< reco::GsfElectron >::getValue(), and MVAVariableManager< reco::GsfElectron >::setConsumes().
|
private |
Definition at line 212 of file MVAVariableManager.h.
Referenced by MVAVariableManager< reco::GsfElectron >::addVariable(), MVAVariableManager< reco::GsfElectron >::init(), and MVAVariableManager< reco::GsfElectron >::setConsumes().
|
private |
Definition at line 216 of file MVAVariableManager.h.
Referenced by MVAVariableManager< reco::GsfElectron >::getValue(), and MVAVariableManager< reco::GsfElectron >::setConsumes().
|
private |
Definition at line 209 of file MVAVariableManager.h.
Referenced by MVAVariableManager< reco::GsfElectron >::addVariable(), and MVAVariableManager< reco::GsfElectron >::getVarIndex().
|
private |
Definition at line 208 of file MVAVariableManager.h.
Referenced by MVAVariableManager< reco::GsfElectron >::addVariable(), MVAVariableManager< reco::GsfElectron >::getName(), and MVAVariableManager< reco::GsfElectron >::init().
|
private |
Definition at line 203 of file MVAVariableManager.h.
Referenced by MVAVariableManager< reco::GsfElectron >::addVariable(), and MVAVariableManager< reco::GsfElectron >::init().
|
private |
Definition at line 202 of file MVAVariableManager.h.
Referenced by MVAVariableManager< reco::GsfElectron >::addVariable(), and MVAVariableManager< reco::GsfElectron >::init().
|
private |
Definition at line 199 of file MVAVariableManager.h.
Referenced by MVAVariableManager< reco::GsfElectron >::addVariable(), MVAVariableManager< reco::GsfElectron >::getNVars(), and MVAVariableManager< reco::GsfElectron >::init().
|
private |
Definition at line 205 of file MVAVariableManager.h.
Referenced by MVAVariableManager< reco::GsfElectron >::addVariable(), MVAVariableManager< reco::GsfElectron >::getValue(), and MVAVariableManager< reco::GsfElectron >::init().