Logo ROOT  
Reference Guide
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 41 of file MinuitParameter.h.

Public Member Functions

 MinuitParameter ()
 
 MinuitParameter (const MinuitParameter &par)
 
 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 ()
 
double Error () const
 
void Fix ()
 
const std::string & GetName () const
 
bool HasLimits () const
 
bool HasLowerLimit () const
 
bool HasUpperLimit () const
 
bool IsConst () const
 
bool IsFixed () const
 
double LowerLimit () const
 
const char * Name () const
 
unsigned int Number () const
 
MinuitParameteroperator= (const MinuitParameter &par)
 
void Release ()
 
void RemoveLimits ()
 
void SetError (double err)
 
void SetLimits (double low, double up)
 
void SetLowerLimit (double low)
 
void SetName (const std::string &name)
 
void SetUpperLimit (double up)
 
void SetValue (double val)
 
double UpperLimit () const
 
double Value () const
 

Private Attributes

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

#include <Minuit2/MinuitParameter.h>

Constructor & Destructor Documentation

◆ MinuitParameter() [1/5]

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

Definition at line 50 of file MinuitParameter.h.

◆ MinuitParameter() [2/5]

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

Definition at line 57 of file MinuitParameter.h.

◆ MinuitParameter() [3/5]

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

Definition at line 64 of file MinuitParameter.h.

◆ MinuitParameter() [4/5]

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

Definition at line 71 of file MinuitParameter.h.

◆ ~MinuitParameter()

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

Definition at line 84 of file MinuitParameter.h.

◆ MinuitParameter() [5/5]

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

Definition at line 86 of file MinuitParameter.h.

Member Function Documentation

◆ Error()

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

Definition at line 118 of file MinuitParameter.h.

◆ Fix()

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

Definition at line 158 of file MinuitParameter.h.

◆ GetName()

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

Definition at line 113 of file MinuitParameter.h.

◆ HasLimits()

bool ROOT::Minuit2::MinuitParameter::HasLimits ( ) const
inline

Definition at line 165 of file MinuitParameter.h.

◆ HasLowerLimit()

bool ROOT::Minuit2::MinuitParameter::HasLowerLimit ( ) const
inline

Definition at line 166 of file MinuitParameter.h.

◆ HasUpperLimit()

bool ROOT::Minuit2::MinuitParameter::HasUpperLimit ( ) const
inline

Definition at line 167 of file MinuitParameter.h.

◆ IsConst()

bool ROOT::Minuit2::MinuitParameter::IsConst ( ) const
inline

Definition at line 162 of file MinuitParameter.h.

◆ IsFixed()

bool ROOT::Minuit2::MinuitParameter::IsFixed ( ) const
inline

Definition at line 163 of file MinuitParameter.h.

◆ LowerLimit()

double ROOT::Minuit2::MinuitParameter::LowerLimit ( ) const
inline

Definition at line 168 of file MinuitParameter.h.

◆ Name()

const char* ROOT::Minuit2::MinuitParameter::Name ( ) const
inline

Definition at line 115 of file MinuitParameter.h.

◆ Number()

unsigned int ROOT::Minuit2::MinuitParameter::Number ( ) const
inline

Definition at line 111 of file MinuitParameter.h.

◆ operator=()

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

Definition at line 94 of file MinuitParameter.h.

◆ Release()

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

Definition at line 159 of file MinuitParameter.h.

◆ RemoveLimits()

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

Definition at line 151 of file MinuitParameter.h.

◆ SetError()

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

Definition at line 124 of file MinuitParameter.h.

◆ SetLimits()

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

Definition at line 125 of file MinuitParameter.h.

◆ SetLowerLimit()

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

Definition at line 144 of file MinuitParameter.h.

◆ SetName()

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

Definition at line 121 of file MinuitParameter.h.

◆ SetUpperLimit()

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

Definition at line 137 of file MinuitParameter.h.

◆ SetValue()

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

Definition at line 123 of file MinuitParameter.h.

◆ UpperLimit()

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

Definition at line 169 of file MinuitParameter.h.

◆ Value()

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

Definition at line 117 of file MinuitParameter.h.

Member Data Documentation

◆ fConst

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

Definition at line 176 of file MinuitParameter.h.

◆ fError

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

Definition at line 175 of file MinuitParameter.h.

◆ fFix

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

Definition at line 177 of file MinuitParameter.h.

◆ fLoLimit

double ROOT::Minuit2::MinuitParameter::fLoLimit
private

Definition at line 178 of file MinuitParameter.h.

◆ fLoLimValid

bool ROOT::Minuit2::MinuitParameter::fLoLimValid
private

Definition at line 180 of file MinuitParameter.h.

◆ fName

std::string ROOT::Minuit2::MinuitParameter::fName
private

Definition at line 182 of file MinuitParameter.h.

◆ fNum

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

Definition at line 173 of file MinuitParameter.h.

◆ fUpLimit

double ROOT::Minuit2::MinuitParameter::fUpLimit
private

Definition at line 179 of file MinuitParameter.h.

◆ fUpLimValid

bool ROOT::Minuit2::MinuitParameter::fUpLimValid
private

Definition at line 181 of file MinuitParameter.h.

◆ fValue

double ROOT::Minuit2::MinuitParameter::fValue
private

Definition at line 174 of file MinuitParameter.h.

Libraries for ROOT::Minuit2::MinuitParameter:
[legend]

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