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 76 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 78 of file MVAModuleHelper.h.

78 : 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 79 of file MVAModuleHelper.h.

79 : 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 86 of file MVAModuleHelper.h.

86 { 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:91
PhysicsTools::MVAModuleHelper::Value::value
double value
Definition: MVAModuleHelper.h:93
PhysicsTools::MVAModuleHelper::Value::name
PhysicsTools::AtomicId name
Definition: MVAModuleHelper.h:90
value
Definition: value.py:1