class ROOT::Minuit2::MinuitParameter


    class for the individual Minuit Parameter with Name and number;
    contains the input numbers for the minimization or the output result
    from minimization;
    possible interactions: Fix/release, set/remove limits, set Value/error;

    From version 5.20: use string to store the name to avoid limitation of
    name length of 20 characters

Function Members (Methods)

public:
~MinuitParameter()
doubleError() const
voidFix()
const string&GetName() const
boolHasLimits() const
boolHasLowerLimit() const
boolHasUpperLimit() const
boolIsConst() const
boolIsFixed() const
doubleLowerLimit() const
ROOT::Minuit2::MinuitParameterMinuitParameter(const ROOT::Minuit2::MinuitParameter& par)
ROOT::Minuit2::MinuitParameterMinuitParameter(unsigned int num, const string& name, double val)
ROOT::Minuit2::MinuitParameterMinuitParameter(unsigned int num, const string& name, double val, double err)
ROOT::Minuit2::MinuitParameterMinuitParameter(unsigned int num, const string& name, double val, double err, double min, double max)
const char*Name() const
unsigned intNumber() const
ROOT::Minuit2::MinuitParameter&operator=(const ROOT::Minuit2::MinuitParameter& par)
voidRelease()
voidRemoveLimits()
voidSetError(double err)
voidSetLimits(double low, double up)
voidSetLowerLimit(double low)
voidSetUpperLimit(double up)
voidSetValue(double val)
doubleUpperLimit() const
doubleValue() const

Data Members

private:
boolfConst
doublefError
boolfFix
boolfLoLimValid
doublefLoLimit
stringfName
unsigned intfNum
boolfUpLimValid
doublefUpLimit
doublefValue

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

MinuitParameter(unsigned int num, const string& name, double val)
constructor for constant Parameter
{}
MinuitParameter(unsigned int num, const string& name, double val, double err)
constructor for standard Parameter
{}
MinuitParameter(unsigned int num, const string& name, double val, double err, double min, double max)
constructor for limited Parameter
~MinuitParameter()
{}
MinuitParameter(const ROOT::Minuit2::MinuitParameter& par)
{}
MinuitParameter& operator=(const ROOT::Minuit2::MinuitParameter& par)
unsigned int Number()
access methods
{return fNum;}
const std::string & GetName()
 return const char * for mantaining backward compatibility
{ return fName; }
const char * Name()
{return fName.c_str();}
double Value()
{return fValue;}
double Error()
{return fError;}
void SetValue(double val)
interaction
{fValue = val;}
void SetError(double err)
{fError = err;}
void SetLimits(double low, double up)
void SetUpperLimit(double up)
void SetLowerLimit(double low)
void RemoveLimits()
void Fix()
{fFix = true;}
void Release()
{fFix = false;}
bool IsConst()
state of Parameter (fixed/const/limited)
{return fConst;}
bool IsFixed()
{return fFix;}
bool HasLimits()
{return fLoLimValid || fUpLimValid; }
bool HasLowerLimit()
{return fLoLimValid; }
bool HasUpperLimit()
{return fUpLimValid; }
double LowerLimit()
{return fLoLimit;}
double UpperLimit()
{return fUpLimit;}

Last change: root/minuit2:$Id: MinuitParameter.h 24400 2008-06-20 07:28:49Z moneta $
Last generated: 2008-06-25 08:30
Copyright (c) 2005 LCG ROOT Math team, CERN/PH-SFT *

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.