CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
MVAVariableIndexMap< ParticleType > Class Template Reference

#include <MVAVariableHelper.h>

Public Member Functions

int getIndex (std::string const &name) const
 
 MVAVariableIndexMap ()
 

Private Attributes

const std::unordered_map< std::string, int > indexMap_
 

Detailed Description

template<class ParticleType>
class MVAVariableIndexMap< ParticleType >

Definition at line 14 of file MVAVariableHelper.h.

Constructor & Destructor Documentation

template<class ParticleType>
MVAVariableIndexMap< ParticleType >::MVAVariableIndexMap ( )

Member Function Documentation

template<class ParticleType>
int MVAVariableIndexMap< ParticleType >::getIndex ( std::string const &  name) const
inline

Definition at line 20 of file MVAVariableHelper.h.

20 { return indexMap_.at(name); }
const std::unordered_map< std::string, int > indexMap_

Member Data Documentation

template<class ParticleType>
const std::unordered_map<std::string, int> MVAVariableIndexMap< ParticleType >::indexMap_
private