CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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

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.

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

Member Function Documentation

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

Definition at line 88 of file MVAModuleHelper.h.

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

Referenced by python.Vispa.Gui.VispaWidget.VispaWidget::autosize(), python.Vispa.Views.LineDecayView.LineDecayContainer::createObject(), python.Vispa.Views.LineDecayView.LineDecayContainer::deselectAllObjects(), python.Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::deselectAllWidgets(), python.Vispa.Gui.VispaWidget.VispaWidget::enableAutosizing(), python.Vispa.Gui.MenuWidget.MenuWidget::leaveEvent(), python.Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::mouseMoveEvent(), python.Vispa.Gui.MenuWidget.MenuWidget::mouseMoveEvent(), python.Vispa.Views.LineDecayView.LineDecayContainer::mouseMoveEvent(), python.Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::mouseReleaseEvent(), python.Vispa.Views.LineDecayView.LineDecayContainer::objectMoved(), python.Vispa.Views.LineDecayView.LineDecayContainer::removeObject(), python.Vispa.Gui.ConnectableWidget.ConnectableWidget::removePorts(), python.Vispa.Gui.FindDialog.FindDialog::reset(), python.Vispa.Gui.PortConnection.PointToPointConnection::select(), python.Vispa.Gui.VispaWidget.VispaWidget::select(), python.Vispa.Views.LineDecayView.LineDecayContainer::select(), python.Vispa.Gui.VispaWidget.VispaWidget::setText(), python.Vispa.Gui.VispaWidget.VispaWidget::setTitle(), python.Vispa.Gui.ZoomableWidget.ZoomableWidget::setZoom(), python.Vispa.Views.LineDecayView.LineDecayContainer::setZoom(), and python.Vispa.Gui.PortConnection.PointToPointConnection::updateConnection().

89  {
90  value = filler(object, name);
91  return !std::isfinite(value);
92  }

Member Data Documentation

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