#include <PhysicsTools/Utilities/interface/Parameter.h>
Public Member Functions | |
const std::string & | name () const |
operator boost::shared_ptr< double > () const | |
operator double () const | |
double | operator() (double, double) const |
double | operator() (double) const |
double | operator() () 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 fit::RootMinuit< Function >::addParameter(), funct::operator<<(), root::RooFitFunction< X, Expr >::RooFitFunction(), and root::tf1_t().
00013 { return name_; }
funct::Parameter::operator boost::shared_ptr< double > | ( | ) | const [inline] |
funct::Parameter::operator double | ( | ) | const [inline] |
double funct::Parameter::operator() | ( | double | , | |
double | ||||
) | const [inline] |
double funct::Parameter::operator() | ( | double | ) | const [inline] |
double funct::Parameter::operator() | ( | void | ) | 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 >::RooFitFunction(), and root::tf1_t().
00019 { return value_; }
double funct::Parameter::value | ( | void | ) | const [inline] |
Definition at line 14 of file Parameter.h.
References value_.
Referenced by operator double(), and funct::operator<<().
00014 { return *value_; }
std::string funct::Parameter::name_ [private] |
boost::shared_ptr<double> funct::Parameter::value_ [private] |
Definition at line 24 of file Parameter.h.
Referenced by operator boost::shared_ptr< double >(), operator()(), ptr(), and value().