test
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

Definition at line 94 of file MVAModuleHelper.h.

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

Referenced by plotting.Plot::draw().

94 { return name; }
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 progressbar.ProgressBar::__next__(), MatrixUtil.Matrix::__setitem__(), MatrixUtil.Steps::__setitem__(), Vispa.Gui.VispaWidget.VispaWidget::autosize(), Vispa.Views.LineDecayView.LineDecayContainer::createObject(), Vispa.Views.LineDecayView.LineDecayContainer::deselectAllObjects(), Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::deselectAllWidgets(), Vispa.Gui.VispaWidget.VispaWidget::enableAutosizing(), progressbar.ProgressBar::finish(), Vispa.Gui.MenuWidget.MenuWidget::leaveEvent(), Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::mouseMoveEvent(), Vispa.Gui.MenuWidget.MenuWidget::mouseMoveEvent(), Vispa.Views.LineDecayView.LineDecayContainer::mouseMoveEvent(), Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::mouseReleaseEvent(), Vispa.Views.LineDecayView.LineDecayContainer::objectMoved(), MatrixUtil.Steps::overwrite(), Vispa.Views.LineDecayView.LineDecayContainer::removeObject(), Vispa.Gui.ConnectableWidget.ConnectableWidget::removePorts(), Vispa.Gui.FindDialog.FindDialog::reset(), Vispa.Gui.PortConnection.PointToPointConnection::select(), Vispa.Gui.VispaWidget.VispaWidget::select(), Vispa.Views.LineDecayView.LineDecayContainer::select(), Vispa.Gui.VispaWidget.VispaWidget::setText(), Vispa.Gui.VispaWidget.VispaWidget::setTitle(), Vispa.Gui.ZoomableWidget.ZoomableWidget::setZoom(), Vispa.Views.LineDecayView.LineDecayContainer::setZoom(), and 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