Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
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 35 of file MnUserParameterState.h.

Public Member Functions

 MnUserParameterState ()
 default constructor (invalid state)
 
 MnUserParameterState (const MinimumState &, double, const MnUserTransformation &)
 construct from internal parameters (after minimization)
 
 MnUserParameterState (const MnUserParameters &)
 
 MnUserParameterState (const MnUserParameters &, const MnUserCovariance &)
 
 MnUserParameterState (std::span< const double >, const MnUserCovariance &)
 
 MnUserParameterState (std::span< const double >, std::span< const double >)
 construct from user parameters (before minimization)
 
 MnUserParameterState (std::span< const double >, std::span< const double >, unsigned int)
 construct from user parameters + covariance (before minimization)
 
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)
 
void AddCovariance (const MnUserCovariance &)
 
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
 
const char * Name (unsigned int) const
 
unsigned int NFcn () const
 
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/7]

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

default constructor (invalid state)

Definition at line 39 of file MnUserParameterState.h.

◆ MnUserParameterState() [2/7]

ROOT::Minuit2::MnUserParameterState::MnUserParameterState ( std::span< const double par,
std::span< const double err 
)

construct from user parameters (before minimization)

Definition at line 22 of file MnUserParameterState.cxx.

◆ MnUserParameterState() [3/7]

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

Definition at line 29 of file MnUserParameterState.cxx.

◆ MnUserParameterState() [4/7]

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

construct from user parameters + covariance (before minimization)

Definition at line 48 of file MnUserParameterState.cxx.

◆ MnUserParameterState() [5/7]

ROOT::Minuit2::MnUserParameterState::MnUserParameterState ( std::span< const double par,
const MnUserCovariance cov 
)

Definition at line 70 of file MnUserParameterState.cxx.

◆ MnUserParameterState() [6/7]

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

Definition at line 92 of file MnUserParameterState.cxx.

◆ MnUserParameterState() [7/7]

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

construct from internal parameters (after minimization)

Definition at line 112 of file MnUserParameterState.cxx.

Member Function Documentation

◆ Add() [1/3]

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

Definition at line 282 of file MnUserParameterState.cxx.

◆ Add() [2/3]

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

Definition at line 232 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 257 of file MnUserParameterState.cxx.

◆ AddCovariance()

void ROOT::Minuit2::MnUserParameterState::AddCovariance ( const MnUserCovariance cov)

Definition at line 291 of file MnUserParameterState.cxx.

◆ Covariance()

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

Definition at line 63 of file MnUserParameterState.h.

◆ CovarianceStatus()

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

Definition at line 74 of file MnUserParameterState.h.

◆ Edm()

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

Definition at line 84 of file MnUserParameterState.h.

◆ Error() [1/2]

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

Definition at line 491 of file MnUserParameterState.cxx.

◆ Error() [2/2]

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

Definition at line 438 of file MnUserParameterState.cxx.

◆ Errors()

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

Definition at line 220 of file MnUserParameterState.cxx.

◆ Ext2int()

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

Definition at line 520 of file MnUserParameterState.cxx.

◆ ExtOfInt()

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

Definition at line 530 of file MnUserParameterState.cxx.

◆ Fix() [1/2]

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

Definition at line 446 of file MnUserParameterState.cxx.

◆ Fix() [2/2]

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

Definition at line 324 of file MnUserParameterState.cxx.

◆ Fval()

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

Definition at line 83 of file MnUserParameterState.h.

◆ GetName()

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

Definition at line 507 of file MnUserParameterState.cxx.

◆ GlobalCC()

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

Definition at line 64 of file MnUserParameterState.h.

◆ HasCovariance()

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

Definition at line 80 of file MnUserParameterState.h.

◆ HasGlobalCC()

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

Definition at line 81 of file MnUserParameterState.h.

◆ Hessian()

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

Definition at line 183 of file MnUserParameterState.cxx.

◆ Index()

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

Definition at line 496 of file MnUserParameterState.cxx.

◆ Int2ext()

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

Definition at line 515 of file MnUserParameterState.cxx.

◆ IntCovariance()

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

Definition at line 71 of file MnUserParameterState.h.

◆ IntOfExt()

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

Definition at line 525 of file MnUserParameterState.cxx.

◆ IntParameters()

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

Definition at line 70 of file MnUserParameterState.h.

◆ IsValid()

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

Definition at line 79 of file MnUserParameterState.h.

◆ MinuitParameters()

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

facade: forward interface of MnUserParameters and MnUserTransformation

Definition at line 209 of file MnUserParameterState.cxx.

◆ Name()

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

Definition at line 502 of file MnUserParameterState.cxx.

◆ NFcn()

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

Definition at line 85 of file MnUserParameterState.h.

◆ Parameter()

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

Definition at line 226 of file MnUserParameterState.cxx.

◆ Parameters()

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

Definition at line 62 of file MnUserParameterState.h.

◆ Params()

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

Definition at line 215 of file MnUserParameterState.cxx.

◆ Precision()

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

Definition at line 540 of file MnUserParameterState.cxx.

◆ Release() [1/2]

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

Definition at line 451 of file MnUserParameterState.cxx.

◆ Release() [2/2]

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

Definition at line 341 of file MnUserParameterState.cxx.

◆ RemoveLimits() [1/2]

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

Definition at line 481 of file MnUserParameterState.cxx.

◆ RemoveLimits() [2/2]

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

Definition at line 423 of file MnUserParameterState.cxx.

◆ SetError() [1/2]

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

Definition at line 461 of file MnUserParameterState.cxx.

◆ SetError() [2/2]

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

Definition at line 370 of file MnUserParameterState.cxx.

◆ SetLimits() [1/2]

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

Definition at line 466 of file MnUserParameterState.cxx.

◆ SetLimits() [2/2]

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

Definition at line 376 of file MnUserParameterState.cxx.

◆ SetLowerLimit() [1/2]

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

Definition at line 476 of file MnUserParameterState.cxx.

◆ SetLowerLimit() [2/2]

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

Definition at line 408 of file MnUserParameterState.cxx.

◆ SetName()

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

Definition at line 118 of file MnUserParameterState.h.

◆ SetPrecision()

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

Definition at line 546 of file MnUserParameterState.cxx.

◆ SetUpperLimit() [1/2]

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

Definition at line 471 of file MnUserParameterState.cxx.

◆ SetUpperLimit() [2/2]

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

Definition at line 393 of file MnUserParameterState.cxx.

◆ SetValue() [1/2]

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

Definition at line 456 of file MnUserParameterState.cxx.

◆ SetValue() [2/2]

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

Definition at line 357 of file MnUserParameterState.cxx.

◆ Trafo()

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

Definition at line 77 of file MnUserParameterState.h.

◆ Value() [1/2]

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

Definition at line 486 of file MnUserParameterState.cxx.

◆ Value() [2/2]

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

Definition at line 433 of file MnUserParameterState.cxx.

◆ VariableParameters()

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

Definition at line 535 of file MnUserParameterState.cxx.

Member Data Documentation

◆ fCovariance

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

Definition at line 162 of file MnUserParameterState.h.

◆ fCovarianceValid

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

Definition at line 154 of file MnUserParameterState.h.

◆ fCovStatus

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

Definition at line 156 of file MnUserParameterState.h.

◆ fEDM

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

Definition at line 158 of file MnUserParameterState.h.

◆ fFVal

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

Definition at line 157 of file MnUserParameterState.h.

◆ fGCCValid

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

Definition at line 155 of file MnUserParameterState.h.

◆ fGlobalCC

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

Definition at line 163 of file MnUserParameterState.h.

◆ fIntCovariance

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

Definition at line 166 of file MnUserParameterState.h.

◆ fIntParameters

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

Definition at line 165 of file MnUserParameterState.h.

◆ fNFcn

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

Definition at line 159 of file MnUserParameterState.h.

◆ fParameters

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

Definition at line 161 of file MnUserParameterState.h.

◆ fValid

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

Definition at line 153 of file MnUserParameterState.h.

Libraries for ROOT::Minuit2::MnUserParameterState:

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