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 33 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 (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)
 
 MnUserParameterState (const std::vector< double > &, const std::vector< double > &, unsigned int)
 construct from user parameters + covariance (before minimization)
 
 ~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
 
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 37 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 22 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 50 of file MnUserParameterState.cxx.

◆ MnUserParameterState() [5/8]

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

Definition at line 69 of file MnUserParameterState.cxx.

◆ MnUserParameterState() [6/8]

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

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

◆ ~MnUserParameterState()

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

Definition at line 59 of file MnUserParameterState.h.

◆ MnUserParameterState() [8/8]

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

Definition at line 61 of file MnUserParameterState.h.

Member Function Documentation

◆ Add() [1/3]

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

Definition at line 286 of file MnUserParameterState.cxx.

◆ Add() [2/3]

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

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

◆ Covariance()

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

Definition at line 90 of file MnUserParameterState.h.

◆ CovarianceStatus()

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

Definition at line 101 of file MnUserParameterState.h.

◆ Edm()

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

Definition at line 111 of file MnUserParameterState.h.

◆ Error() [1/2]

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

Definition at line 462 of file MnUserParameterState.cxx.

◆ Error() [2/2]

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

Definition at line 409 of file MnUserParameterState.cxx.

◆ Errors()

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

Definition at line 224 of file MnUserParameterState.cxx.

◆ Ext2int()

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

Definition at line 491 of file MnUserParameterState.cxx.

◆ ExtOfInt()

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

Definition at line 501 of file MnUserParameterState.cxx.

◆ Fix() [1/2]

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

Definition at line 417 of file MnUserParameterState.cxx.

◆ Fix() [2/2]

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

Definition at line 297 of file MnUserParameterState.cxx.

◆ Fval()

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

Definition at line 110 of file MnUserParameterState.h.

◆ GetName()

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

Definition at line 478 of file MnUserParameterState.cxx.

◆ GlobalCC()

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

Definition at line 91 of file MnUserParameterState.h.

◆ HasCovariance()

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

Definition at line 107 of file MnUserParameterState.h.

◆ HasGlobalCC()

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

Definition at line 108 of file MnUserParameterState.h.

◆ Hessian()

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

Definition at line 187 of file MnUserParameterState.cxx.

◆ Index()

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

Definition at line 467 of file MnUserParameterState.cxx.

◆ Int2ext()

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

Definition at line 486 of file MnUserParameterState.cxx.

◆ IntCovariance()

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

Definition at line 98 of file MnUserParameterState.h.

◆ IntOfExt()

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

Definition at line 496 of file MnUserParameterState.cxx.

◆ IntParameters()

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

Definition at line 97 of file MnUserParameterState.h.

◆ IsValid()

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

Definition at line 106 of file MnUserParameterState.h.

◆ MinuitParameters()

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

facade: forward interface of MnUserParameters and MnUserTransformation

Definition at line 213 of file MnUserParameterState.cxx.

◆ Name()

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

Definition at line 473 of file MnUserParameterState.cxx.

◆ NFcn()

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

Definition at line 112 of file MnUserParameterState.h.

◆ operator=()

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

Definition at line 69 of file MnUserParameterState.h.

◆ Parameter()

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

Definition at line 230 of file MnUserParameterState.cxx.

◆ Parameters()

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

Definition at line 89 of file MnUserParameterState.h.

◆ Params()

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

Definition at line 219 of file MnUserParameterState.cxx.

◆ Precision()

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

Definition at line 511 of file MnUserParameterState.cxx.

◆ Release() [1/2]

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

Definition at line 422 of file MnUserParameterState.cxx.

◆ Release() [2/2]

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

Definition at line 312 of file MnUserParameterState.cxx.

◆ RemoveLimits() [1/2]

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

Definition at line 452 of file MnUserParameterState.cxx.

◆ RemoveLimits() [2/2]

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

Definition at line 394 of file MnUserParameterState.cxx.

◆ SetError() [1/2]

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

Definition at line 432 of file MnUserParameterState.cxx.

◆ SetError() [2/2]

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

Definition at line 341 of file MnUserParameterState.cxx.

◆ SetLimits() [1/2]

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

Definition at line 437 of file MnUserParameterState.cxx.

◆ SetLimits() [2/2]

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

Definition at line 347 of file MnUserParameterState.cxx.

◆ SetLowerLimit() [1/2]

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

Definition at line 447 of file MnUserParameterState.cxx.

◆ SetLowerLimit() [2/2]

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

Definition at line 379 of file MnUserParameterState.cxx.

◆ SetName()

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

Definition at line 142 of file MnUserParameterState.h.

◆ SetPrecision()

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

Definition at line 517 of file MnUserParameterState.cxx.

◆ SetUpperLimit() [1/2]

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

Definition at line 442 of file MnUserParameterState.cxx.

◆ SetUpperLimit() [2/2]

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

Definition at line 364 of file MnUserParameterState.cxx.

◆ SetValue() [1/2]

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

Definition at line 427 of file MnUserParameterState.cxx.

◆ SetValue() [2/2]

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

Definition at line 328 of file MnUserParameterState.cxx.

◆ Trafo()

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

Definition at line 104 of file MnUserParameterState.h.

◆ Value() [1/2]

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

Definition at line 457 of file MnUserParameterState.cxx.

◆ Value() [2/2]

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

Definition at line 404 of file MnUserParameterState.cxx.

◆ VariableParameters()

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

Definition at line 506 of file MnUserParameterState.cxx.

Member Data Documentation

◆ fCovariance

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

Definition at line 186 of file MnUserParameterState.h.

◆ fCovarianceValid

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

Definition at line 178 of file MnUserParameterState.h.

◆ fCovStatus

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

Definition at line 180 of file MnUserParameterState.h.

◆ fEDM

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

Definition at line 182 of file MnUserParameterState.h.

◆ fFVal

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

Definition at line 181 of file MnUserParameterState.h.

◆ fGCCValid

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

Definition at line 179 of file MnUserParameterState.h.

◆ fGlobalCC

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

Definition at line 187 of file MnUserParameterState.h.

◆ fIntCovariance

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

Definition at line 190 of file MnUserParameterState.h.

◆ fIntParameters

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

Definition at line 189 of file MnUserParameterState.h.

◆ fNFcn

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

Definition at line 183 of file MnUserParameterState.h.

◆ fParameters

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

Definition at line 185 of file MnUserParameterState.h.

◆ fValid

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

Definition at line 177 of file MnUserParameterState.h.

Libraries for ROOT::Minuit2::MnUserParameterState:

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