ROOT  6.07/01
Reference Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Private Attributes | List of all members
ROOT::Minuit2::MinuitParameter Class Reference

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

Definition at line 33 of file MinuitParameter.h.

Public Member Functions

 MinuitParameter ()
 
 MinuitParameter (unsigned int num, const std::string &name, double val)
 
 MinuitParameter (unsigned int num, const std::string &name, double val, double err)
 
 MinuitParameter (unsigned int num, const std::string &name, double val, double err, double min, double max)
 
 ~MinuitParameter ()
 
 MinuitParameter (const MinuitParameter &par)
 
MinuitParameteroperator= (const MinuitParameter &par)
 
unsigned int Number () const
 
const std::string & GetName () const
 
const char * Name () const
 
double Value () const
 
double Error () const
 
void SetName (const std::string &name)
 
void SetValue (double val)
 
void SetError (double err)
 
void SetLimits (double low, double up)
 
void SetUpperLimit (double up)
 
void SetLowerLimit (double low)
 
void RemoveLimits ()
 
void Fix ()
 
void Release ()
 
bool IsConst () const
 
bool IsFixed () const
 
bool HasLimits () const
 
bool HasLowerLimit () const
 
bool HasUpperLimit () const
 
double LowerLimit () const
 
double UpperLimit () const
 

Private Attributes

unsigned int fNum
 
double fValue
 
double fError
 
bool fConst
 
bool fFix
 
double fLoLimit
 
double fUpLimit
 
bool fLoLimValid
 
bool fUpLimValid
 
std::string fName
 

#include <Minuit2/MinuitParameter.h>

Constructor & Destructor Documentation

ROOT::Minuit2::MinuitParameter::MinuitParameter ( )
inline

Definition at line 38 of file MinuitParameter.h.

ROOT::Minuit2::MinuitParameter::MinuitParameter ( unsigned int  num,
const std::string &  name,
double  val 
)
inline

Definition at line 45 of file MinuitParameter.h.

ROOT::Minuit2::MinuitParameter::MinuitParameter ( unsigned int  num,
const std::string &  name,
double  val,
double  err 
)
inline

Definition at line 52 of file MinuitParameter.h.

ROOT::Minuit2::MinuitParameter::MinuitParameter ( unsigned int  num,
const std::string &  name,
double  val,
double  err,
double  min,
double  max 
)
inline

Definition at line 59 of file MinuitParameter.h.

ROOT::Minuit2::MinuitParameter::~MinuitParameter ( )
inline

Definition at line 72 of file MinuitParameter.h.

ROOT::Minuit2::MinuitParameter::MinuitParameter ( const MinuitParameter par)
inline

Definition at line 74 of file MinuitParameter.h.

Member Function Documentation

double ROOT::Minuit2::MinuitParameter::Error ( ) const
inline
void ROOT::Minuit2::MinuitParameter::Fix ( )
inline

Definition at line 146 of file MinuitParameter.h.

const std::string& ROOT::Minuit2::MinuitParameter::GetName ( ) const
inline

Definition at line 101 of file MinuitParameter.h.

bool ROOT::Minuit2::MinuitParameter::HasLimits ( ) const
inline
bool ROOT::Minuit2::MinuitParameter::HasLowerLimit ( ) const
inline
bool ROOT::Minuit2::MinuitParameter::HasUpperLimit ( ) const
inline
bool ROOT::Minuit2::MinuitParameter::IsConst ( ) const
inline
bool ROOT::Minuit2::MinuitParameter::IsFixed ( ) const
inline
double ROOT::Minuit2::MinuitParameter::LowerLimit ( ) const
inline
const char* ROOT::Minuit2::MinuitParameter::Name ( ) const
inline
unsigned int ROOT::Minuit2::MinuitParameter::Number ( ) const
inline

Definition at line 99 of file MinuitParameter.h.

MinuitParameter& ROOT::Minuit2::MinuitParameter::operator= ( const MinuitParameter par)
inline

Definition at line 82 of file MinuitParameter.h.

void ROOT::Minuit2::MinuitParameter::Release ( )
inline

Definition at line 147 of file MinuitParameter.h.

void ROOT::Minuit2::MinuitParameter::RemoveLimits ( )
inline

Definition at line 139 of file MinuitParameter.h.

void ROOT::Minuit2::MinuitParameter::SetError ( double  err)
inline

Definition at line 112 of file MinuitParameter.h.

void ROOT::Minuit2::MinuitParameter::SetLimits ( double  low,
double  up 
)
inline

Definition at line 113 of file MinuitParameter.h.

void ROOT::Minuit2::MinuitParameter::SetLowerLimit ( double  low)
inline

Definition at line 132 of file MinuitParameter.h.

void ROOT::Minuit2::MinuitParameter::SetName ( const std::string &  name)
inline

Definition at line 109 of file MinuitParameter.h.

void ROOT::Minuit2::MinuitParameter::SetUpperLimit ( double  up)
inline

Definition at line 125 of file MinuitParameter.h.

void ROOT::Minuit2::MinuitParameter::SetValue ( double  val)
inline

Definition at line 111 of file MinuitParameter.h.

double ROOT::Minuit2::MinuitParameter::UpperLimit ( ) const
inline
double ROOT::Minuit2::MinuitParameter::Value ( ) const
inline

Member Data Documentation

bool ROOT::Minuit2::MinuitParameter::fConst
private

Definition at line 164 of file MinuitParameter.h.

Referenced by IsConst(), and operator=().

double ROOT::Minuit2::MinuitParameter::fError
private

Definition at line 163 of file MinuitParameter.h.

Referenced by Error(), operator=(), and SetError().

bool ROOT::Minuit2::MinuitParameter::fFix
private

Definition at line 165 of file MinuitParameter.h.

Referenced by Fix(), IsFixed(), operator=(), and Release().

double ROOT::Minuit2::MinuitParameter::fLoLimit
private
bool ROOT::Minuit2::MinuitParameter::fLoLimValid
private
std::string ROOT::Minuit2::MinuitParameter::fName
private

Definition at line 170 of file MinuitParameter.h.

Referenced by GetName(), Name(), operator=(), and SetName().

unsigned int ROOT::Minuit2::MinuitParameter::fNum
private

Definition at line 161 of file MinuitParameter.h.

Referenced by Number(), and operator=().

double ROOT::Minuit2::MinuitParameter::fUpLimit
private
bool ROOT::Minuit2::MinuitParameter::fUpLimValid
private
double ROOT::Minuit2::MinuitParameter::fValue
private

Definition at line 162 of file MinuitParameter.h.

Referenced by operator=(), SetValue(), and Value().

Collaboration diagram for ROOT::Minuit2::MinuitParameter:
[legend]

The documentation for this class was generated from the following file: