Logo ROOT  
Reference Guide
ROOT::Minuit2::MnUserParameterState Class Reference

class which holds the external user and/or internal Minuit representation of the parameters and errors; transformation internal <-> external on demand;

Definition at line 34 of file MnUserParameterState.h.

Public Member Functions

 MnUserParameterState ()
 default constructor (invalid state) More...
 
 MnUserParameterState (const MinimumState &, double, const MnUserTransformation &)
 construct from internal parameters (after minimization) More...
 
 MnUserParameterState (const MnUserParameters &)
 
 MnUserParameterState (const MnUserParameters &, const MnUserCovariance &)
 
 MnUserParameterState (const MnUserParameterState &state)
 
 MnUserParameterState (const std::vector< double > &, const MnUserCovariance &)
 
 MnUserParameterState (const std::vector< double > &, const std::vector< double > &)
 construct from user parameters (before minimization) More...
 
 MnUserParameterState (const std::vector< double > &, const std::vector< double > &, unsigned int)
 construct from user parameters + covariance (before minimization) More...
 
 ~MnUserParameterState ()
 
void Add (const std::string &, double)
 
void Add (const std::string &name, double val, double err)
 
void Add (const std::string &name, double val, double err, double, double)
 
const MnUserCovarianceCovariance () const
 
int CovarianceStatus () const
 
double Edm () const
 
double Error (const std::string &) const
 
double Error (unsigned int) const
 
std::vector< doubleErrors () const
 
double Ext2int (unsigned int, double) const
 
unsigned int ExtOfInt (unsigned int) const
 
void Fix (const std::string &)
 
void Fix (unsigned int)
 
double Fval () const
 
const std::string & GetName (unsigned int) const
 
const MnGlobalCorrelationCoeffGlobalCC () const
 
bool HasCovariance () const
 
bool HasGlobalCC () const
 
MnUserCovariance Hessian () const
 
unsigned int Index (const std::string &) const
 
double Int2ext (unsigned int, double) const
 
const MnUserCovarianceIntCovariance () const
 
unsigned int IntOfExt (unsigned int) const
 
const std::vector< double > & IntParameters () const
 
bool IsValid () const
 
const std::vector< ROOT::Minuit2::MinuitParameter > & MinuitParameters () const
 facade: forward interface of MnUserParameters and MnUserTransformation More...
 
const char * Name (unsigned int) const
 
unsigned int NFcn () const
 
MnUserParameterStateoperator= (const MnUserParameterState &state)
 
const MinuitParameterParameter (unsigned int i) const
 
const MnUserParametersParameters () const
 
std::vector< doubleParams () const
 
const MnMachinePrecisionPrecision () const
 
void Release (const std::string &)
 
void Release (unsigned int)
 
void RemoveLimits (const std::string &)
 
void RemoveLimits (unsigned int)
 
void SetError (const std::string &, double)
 
void SetError (unsigned int, double)
 
void SetLimits (const std::string &, double, double)
 
void SetLimits (unsigned int, double, double)
 
void SetLowerLimit (const std::string &, double)
 
void SetLowerLimit (unsigned int, double)
 
void SetName (unsigned int iext, const std::string &name)
 
void SetPrecision (double eps)
 
void SetUpperLimit (const std::string &, double)
 
void SetUpperLimit (unsigned int, double)
 
void SetValue (const std::string &, double)
 
void SetValue (unsigned int, double)
 
const MnUserTransformationTrafo () const
 
double Value (const std::string &) const
 
double Value (unsigned int) const
 
unsigned int VariableParameters () const
 

Private Attributes

MnUserCovariance fCovariance
 
bool fCovarianceValid
 
int fCovStatus
 
double fEDM
 
double fFVal
 
bool fGCCValid
 
MnGlobalCorrelationCoeff fGlobalCC
 
MnUserCovariance fIntCovariance
 
std::vector< doublefIntParameters
 
unsigned int fNFcn
 
MnUserParameters fParameters
 
bool fValid
 

#include <Minuit2/MnUserParameterState.h>

Constructor & Destructor Documentation

◆ MnUserParameterState() [1/8]

ROOT::Minuit2::MnUserParameterState::MnUserParameterState ( )
inline

default constructor (invalid state)

Definition at line 39 of file MnUserParameterState.h.

◆ MnUserParameterState() [2/8]

ROOT::Minuit2::MnUserParameterState::MnUserParameterState ( const std::vector< double > &  par,
const std::vector< double > &  err 
)

construct from user parameters (before minimization)

Definition at line 25 of file MnUserParameterState.cxx.

◆ MnUserParameterState() [3/8]

ROOT::Minuit2::MnUserParameterState::MnUserParameterState ( const MnUserParameters par)

Definition at line 29 of file MnUserParameterState.cxx.

◆ MnUserParameterState() [4/8]

ROOT::Minuit2::MnUserParameterState::MnUserParameterState ( const std::vector< double > &  par,
const std::vector< double > &  cov,
unsigned int  nrow 
)

construct from user parameters + covariance (before minimization)

Definition at line 45 of file MnUserParameterState.cxx.

◆ MnUserParameterState() [5/8]

ROOT::Minuit2::MnUserParameterState::MnUserParameterState ( const std::vector< double > &  par,
const MnUserCovariance cov 
)

Definition at line 59 of file MnUserParameterState.cxx.

◆ MnUserParameterState() [6/8]

ROOT::Minuit2::MnUserParameterState::MnUserParameterState ( const MnUserParameters par,
const MnUserCovariance cov 
)

Definition at line 74 of file MnUserParameterState.cxx.

◆ MnUserParameterState() [7/8]

ROOT::Minuit2::MnUserParameterState::MnUserParameterState ( const MinimumState st,
double  up,
const MnUserTransformation trafo 
)

construct from internal parameters (after minimization)

Definition at line 97 of file MnUserParameterState.cxx.

◆ ~MnUserParameterState()

ROOT::Minuit2::MnUserParameterState::~MnUserParameterState ( )
inline

Definition at line 58 of file MnUserParameterState.h.

◆ MnUserParameterState() [8/8]

ROOT::Minuit2::MnUserParameterState::MnUserParameterState ( const MnUserParameterState state)
inline

Definition at line 60 of file MnUserParameterState.h.

Member Function Documentation

◆ Add() [1/3]

void ROOT::Minuit2::MnUserParameterState::Add ( const std::string &  name,
double  val 
)

Definition at line 253 of file MnUserParameterState.cxx.

◆ Add() [2/3]

void ROOT::Minuit2::MnUserParameterState::Add ( const std::string &  name,
double  val,
double  err 
)

Definition at line 204 of file MnUserParameterState.cxx.

◆ Add() [3/3]

void ROOT::Minuit2::MnUserParameterState::Add ( const std::string &  name,
double  val,
double  err,
double  low,
double  up 
)

Definition at line 228 of file MnUserParameterState.cxx.

◆ Covariance()

const MnUserCovariance& ROOT::Minuit2::MnUserParameterState::Covariance ( ) const
inline

Definition at line 87 of file MnUserParameterState.h.

◆ CovarianceStatus()

int ROOT::Minuit2::MnUserParameterState::CovarianceStatus ( ) const
inline

Definition at line 98 of file MnUserParameterState.h.

◆ Edm()

double ROOT::Minuit2::MnUserParameterState::Edm ( ) const
inline

Definition at line 108 of file MnUserParameterState.h.

◆ Error() [1/2]

double ROOT::Minuit2::MnUserParameterState::Error ( const std::string &  name) const

Definition at line 390 of file MnUserParameterState.cxx.

◆ Error() [2/2]

double ROOT::Minuit2::MnUserParameterState::Error ( unsigned int  i) const

Definition at line 365 of file MnUserParameterState.cxx.

◆ Errors()

std::vector< double > ROOT::Minuit2::MnUserParameterState::Errors ( ) const

Definition at line 194 of file MnUserParameterState.cxx.

◆ Ext2int()

double ROOT::Minuit2::MnUserParameterState::Ext2int ( unsigned int  e,
double  val 
) const

Definition at line 413 of file MnUserParameterState.cxx.

◆ ExtOfInt()

unsigned int ROOT::Minuit2::MnUserParameterState::ExtOfInt ( unsigned int  internal) const

Definition at line 421 of file MnUserParameterState.cxx.

◆ Fix() [1/2]

void ROOT::Minuit2::MnUserParameterState::Fix ( const std::string &  name)

Definition at line 372 of file MnUserParameterState.cxx.

◆ Fix() [2/2]

void ROOT::Minuit2::MnUserParameterState::Fix ( unsigned int  e)

Definition at line 263 of file MnUserParameterState.cxx.

◆ Fval()

double ROOT::Minuit2::MnUserParameterState::Fval ( ) const
inline

Definition at line 107 of file MnUserParameterState.h.

◆ GetName()

const std::string & ROOT::Minuit2::MnUserParameterState::GetName ( unsigned int  i) const

Definition at line 402 of file MnUserParameterState.cxx.

◆ GlobalCC()

const MnGlobalCorrelationCoeff& ROOT::Minuit2::MnUserParameterState::GlobalCC ( ) const
inline

Definition at line 88 of file MnUserParameterState.h.

◆ HasCovariance()

bool ROOT::Minuit2::MnUserParameterState::HasCovariance ( ) const
inline

Definition at line 104 of file MnUserParameterState.h.

◆ HasGlobalCC()

bool ROOT::Minuit2::MnUserParameterState::HasGlobalCC ( ) const
inline

Definition at line 105 of file MnUserParameterState.h.

◆ Hessian()

MnUserCovariance ROOT::Minuit2::MnUserParameterState::Hessian ( ) const

Definition at line 160 of file MnUserParameterState.cxx.

◆ Index()

unsigned int ROOT::Minuit2::MnUserParameterState::Index ( const std::string &  name) const

Definition at line 393 of file MnUserParameterState.cxx.

◆ Int2ext()

double ROOT::Minuit2::MnUserParameterState::Int2ext ( unsigned int  i,
double  val 
) const

Definition at line 409 of file MnUserParameterState.cxx.

◆ IntCovariance()

const MnUserCovariance& ROOT::Minuit2::MnUserParameterState::IntCovariance ( ) const
inline

Definition at line 95 of file MnUserParameterState.h.

◆ IntOfExt()

unsigned int ROOT::Minuit2::MnUserParameterState::IntOfExt ( unsigned int  ext) const

Definition at line 417 of file MnUserParameterState.cxx.

◆ IntParameters()

const std::vector<double>& ROOT::Minuit2::MnUserParameterState::IntParameters ( ) const
inline

Definition at line 94 of file MnUserParameterState.h.

◆ IsValid()

bool ROOT::Minuit2::MnUserParameterState::IsValid ( ) const
inline

Definition at line 103 of file MnUserParameterState.h.

◆ MinuitParameters()

const std::vector< MinuitParameter > & ROOT::Minuit2::MnUserParameterState::MinuitParameters ( ) const

facade: forward interface of MnUserParameters and MnUserTransformation

Definition at line 185 of file MnUserParameterState.cxx.

◆ Name()

const char * ROOT::Minuit2::MnUserParameterState::Name ( unsigned int  i) const

Definition at line 398 of file MnUserParameterState.cxx.

◆ NFcn()

unsigned int ROOT::Minuit2::MnUserParameterState::NFcn ( ) const
inline

Definition at line 109 of file MnUserParameterState.h.

◆ operator=()

MnUserParameterState& ROOT::Minuit2::MnUserParameterState::operator= ( const MnUserParameterState state)
inline

Definition at line 67 of file MnUserParameterState.h.

◆ Parameter()

const MinuitParameter & ROOT::Minuit2::MnUserParameterState::Parameter ( unsigned int  i) const

Definition at line 199 of file MnUserParameterState.cxx.

◆ Parameters()

const MnUserParameters& ROOT::Minuit2::MnUserParameterState::Parameters ( ) const
inline

Definition at line 86 of file MnUserParameterState.h.

◆ Params()

std::vector< double > ROOT::Minuit2::MnUserParameterState::Params ( ) const

Definition at line 190 of file MnUserParameterState.cxx.

◆ Precision()

const MnMachinePrecision & ROOT::Minuit2::MnUserParameterState::Precision ( ) const

Definition at line 429 of file MnUserParameterState.cxx.

◆ Release() [1/2]

void ROOT::Minuit2::MnUserParameterState::Release ( const std::string &  name)

Definition at line 374 of file MnUserParameterState.cxx.

◆ Release() [2/2]

void ROOT::Minuit2::MnUserParameterState::Release ( unsigned int  e)

Definition at line 277 of file MnUserParameterState.cxx.

◆ RemoveLimits() [1/2]

void ROOT::Minuit2::MnUserParameterState::RemoveLimits ( const std::string &  name)

Definition at line 386 of file MnUserParameterState.cxx.

◆ RemoveLimits() [2/2]

void ROOT::Minuit2::MnUserParameterState::RemoveLimits ( unsigned int  e)

Definition at line 352 of file MnUserParameterState.cxx.

◆ SetError() [1/2]

void ROOT::Minuit2::MnUserParameterState::SetError ( const std::string &  name,
double  val 
)

Definition at line 378 of file MnUserParameterState.cxx.

◆ SetError() [2/2]

void ROOT::Minuit2::MnUserParameterState::SetError ( unsigned int  e,
double  val 
)

Definition at line 303 of file MnUserParameterState.cxx.

◆ SetLimits() [1/2]

void ROOT::Minuit2::MnUserParameterState::SetLimits ( const std::string &  name,
double  low,
double  up 
)

Definition at line 380 of file MnUserParameterState.cxx.

◆ SetLimits() [2/2]

void ROOT::Minuit2::MnUserParameterState::SetLimits ( unsigned int  e,
double  low,
double  up 
)

Definition at line 308 of file MnUserParameterState.cxx.

◆ SetLowerLimit() [1/2]

void ROOT::Minuit2::MnUserParameterState::SetLowerLimit ( const std::string &  name,
double  low 
)

Definition at line 384 of file MnUserParameterState.cxx.

◆ SetLowerLimit() [2/2]

void ROOT::Minuit2::MnUserParameterState::SetLowerLimit ( unsigned int  e,
double  low 
)

Definition at line 338 of file MnUserParameterState.cxx.

◆ SetName()

void ROOT::Minuit2::MnUserParameterState::SetName ( unsigned int  iext,
const std::string &  name 
)
inline

Definition at line 141 of file MnUserParameterState.h.

◆ SetPrecision()

void ROOT::Minuit2::MnUserParameterState::SetPrecision ( double  eps)

Definition at line 434 of file MnUserParameterState.cxx.

◆ SetUpperLimit() [1/2]

void ROOT::Minuit2::MnUserParameterState::SetUpperLimit ( const std::string &  name,
double  up 
)

Definition at line 382 of file MnUserParameterState.cxx.

◆ SetUpperLimit() [2/2]

void ROOT::Minuit2::MnUserParameterState::SetUpperLimit ( unsigned int  e,
double  up 
)

Definition at line 324 of file MnUserParameterState.cxx.

◆ SetValue() [1/2]

void ROOT::Minuit2::MnUserParameterState::SetValue ( const std::string &  name,
double  val 
)

Definition at line 376 of file MnUserParameterState.cxx.

◆ SetValue() [2/2]

void ROOT::Minuit2::MnUserParameterState::SetValue ( unsigned int  e,
double  val 
)

Definition at line 291 of file MnUserParameterState.cxx.

◆ Trafo()

const MnUserTransformation& ROOT::Minuit2::MnUserParameterState::Trafo ( ) const
inline

Definition at line 101 of file MnUserParameterState.h.

◆ Value() [1/2]

double ROOT::Minuit2::MnUserParameterState::Value ( const std::string &  name) const

Definition at line 388 of file MnUserParameterState.cxx.

◆ Value() [2/2]

double ROOT::Minuit2::MnUserParameterState::Value ( unsigned int  i) const

Definition at line 361 of file MnUserParameterState.cxx.

◆ VariableParameters()

unsigned int ROOT::Minuit2::MnUserParameterState::VariableParameters ( ) const

Definition at line 425 of file MnUserParameterState.cxx.

Member Data Documentation

◆ fCovariance

MnUserCovariance ROOT::Minuit2::MnUserParameterState::fCovariance
private

Definition at line 187 of file MnUserParameterState.h.

◆ fCovarianceValid

bool ROOT::Minuit2::MnUserParameterState::fCovarianceValid
private

Definition at line 179 of file MnUserParameterState.h.

◆ fCovStatus

int ROOT::Minuit2::MnUserParameterState::fCovStatus
private

Definition at line 181 of file MnUserParameterState.h.

◆ fEDM

double ROOT::Minuit2::MnUserParameterState::fEDM
private

Definition at line 183 of file MnUserParameterState.h.

◆ fFVal

double ROOT::Minuit2::MnUserParameterState::fFVal
private

Definition at line 182 of file MnUserParameterState.h.

◆ fGCCValid

bool ROOT::Minuit2::MnUserParameterState::fGCCValid
private

Definition at line 180 of file MnUserParameterState.h.

◆ fGlobalCC

MnGlobalCorrelationCoeff ROOT::Minuit2::MnUserParameterState::fGlobalCC
private

Definition at line 188 of file MnUserParameterState.h.

◆ fIntCovariance

MnUserCovariance ROOT::Minuit2::MnUserParameterState::fIntCovariance
private

Definition at line 191 of file MnUserParameterState.h.

◆ fIntParameters

std::vector<double> ROOT::Minuit2::MnUserParameterState::fIntParameters
private

Definition at line 190 of file MnUserParameterState.h.

◆ fNFcn

unsigned int ROOT::Minuit2::MnUserParameterState::fNFcn
private

Definition at line 184 of file MnUserParameterState.h.

◆ fParameters

MnUserParameters ROOT::Minuit2::MnUserParameterState::fParameters
private

Definition at line 186 of file MnUserParameterState.h.

◆ fValid

bool ROOT::Minuit2::MnUserParameterState::fValid
private

Definition at line 178 of file MnUserParameterState.h.

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

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