#include <Parameter.h>
Public Member Functions | |
const std::string & | name () const |
operator boost::shared_ptr< double > () const | |
operator double () const | |
double | operator() () const |
double | operator() (double, double) const |
double | operator() (double) const |
Parameter & | operator= (double value) |
Parameter (const std::string &name="undefined", double value=0) | |
boost::shared_ptr< double > | ptr () const |
double | value () const |
Private Attributes | |
std::string | name_ |
boost::shared_ptr< double > | value_ |
Definition at line 8 of file Parameter.h.
funct::Parameter::Parameter | ( | const std::string & | name = "undefined" , |
double | value = 0 |
||
) | [inline, explicit] |
const std::string& funct::Parameter::name | ( | void | ) | const [inline] |
Definition at line 13 of file Parameter.h.
References name_.
Referenced by root::RooFitFunction< X, Expr >::add(), fit::RootMinuitCommands< Function >::add(), fit::RootMinuit< Function >::addParameter(), funct::operator<<(), root::RooFitFunction< X, Expr >::RooFitFunction(), and root::tf1_t().
{ return name_; }
funct::Parameter::operator boost::shared_ptr< double > | ( | ) | const [inline] |
funct::Parameter::operator double | ( | ) | const [inline] |
double funct::Parameter::operator() | ( | double | ) | const [inline] |
double funct::Parameter::operator() | ( | double | , |
double | |||
) | const [inline] |
double funct::Parameter::operator() | ( | ) | const [inline] |
Parameter& funct::Parameter::operator= | ( | double | value | ) | [inline] |
boost::shared_ptr<double> funct::Parameter::ptr | ( | ) | const [inline] |
Definition at line 19 of file Parameter.h.
References value_.
Referenced by root::RooFitFunction< X, Expr >::add(), root::RooFitFunction< X, Expr >::RooFitFunction(), and root::tf1_t().
{ return value_; }
double funct::Parameter::value | ( | void | ) | const [inline] |
Definition at line 14 of file Parameter.h.
References value_.
Referenced by operator double(), funct::operator<<(), and operator=().
{ return *value_; }
std::string funct::Parameter::name_ [private] |
Definition at line 23 of file Parameter.h.
Referenced by name().
boost::shared_ptr<double> funct::Parameter::value_ [private] |
Definition at line 24 of file Parameter.h.
Referenced by operator boost::shared_ptr< double >(), operator()(), operator=(), ptr(), and value().