CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
PhysicsTools::MVAModuleHelper< Record, Object, Filler >::Value Class Reference

Public Member Functions

PhysicsTools::AtomicId getName () const
 
double getValue () const
 
bool update (const Object &object) const
 
 Value (const std::string &name)
 
 Value (const std::string &name, double value)
 

Private Attributes

Filler filler
 
PhysicsTools::AtomicId name
 
double value
 

Detailed Description

template<class Record, typename Object, class Filler = MVAModuleHelperDefaultFiller<Object>>
class PhysicsTools::MVAModuleHelper< Record, Object, Filler >::Value

Definition at line 81 of file MVAModuleHelper.h.

Constructor & Destructor Documentation

◆ Value() [1/2]

template<class Record , typename Object , class Filler = MVAModuleHelperDefaultFiller<Object>>
PhysicsTools::MVAModuleHelper< Record, Object, Filler >::Value::Value ( const std::string &  name)
inline

Definition at line 83 of file MVAModuleHelper.h.

83  :
84  name(name), filler(name) {}

◆ Value() [2/2]

template<class Record , typename Object , class Filler = MVAModuleHelperDefaultFiller<Object>>
PhysicsTools::MVAModuleHelper< Record, Object, Filler >::Value::Value ( const std::string &  name,
double  value 
)
inline

Definition at line 85 of file MVAModuleHelper.h.

85  :
86  name(name), filler(name), value(value) {}

Member Function Documentation

◆ getName()

template<class Record , typename Object , class Filler = MVAModuleHelperDefaultFiller<Object>>
PhysicsTools::AtomicId PhysicsTools::MVAModuleHelper< Record, Object, Filler >::Value::getName ( void  ) const
inline

Definition at line 94 of file MVAModuleHelper.h.

94 { return name; }

References PhysicsTools::MVAModuleHelper< Record, Object, Filler >::Value::name.

Referenced by plotting.Plot::draw().

◆ getValue()

template<class Record , typename Object , class Filler = MVAModuleHelperDefaultFiller<Object>>
double PhysicsTools::MVAModuleHelper< Record, Object, Filler >::Value::getValue ( void  ) const
inline

◆ update()

template<class Record , typename Object , class Filler = MVAModuleHelperDefaultFiller<Object>>
bool PhysicsTools::MVAModuleHelper< Record, Object, Filler >::Value::update ( const Object &  object) const
inline

Member Data Documentation

◆ filler

template<class Record , typename Object , class Filler = MVAModuleHelperDefaultFiller<Object>>
Filler PhysicsTools::MVAModuleHelper< Record, Object, Filler >::Value::filler
private

◆ name

template<class Record , typename Object , class Filler = MVAModuleHelperDefaultFiller<Object>>
PhysicsTools::AtomicId PhysicsTools::MVAModuleHelper< Record, Object, Filler >::Value::name
private

◆ value

template<class Record , typename Object , class Filler = MVAModuleHelperDefaultFiller<Object>>
double PhysicsTools::MVAModuleHelper< Record, Object, Filler >::Value::value
mutableprivate
PhysicsTools::MVAModuleHelper::Value::filler
Filler filler
Definition: MVAModuleHelper.h:99
PhysicsTools::MVAModuleHelper::Value::value
double value
Definition: MVAModuleHelper.h:101
PhysicsTools::MVAModuleHelper::Value::name
PhysicsTools::AtomicId name
Definition: MVAModuleHelper.h:98
value
Definition: value.py:1