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 33 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 &)
  More...
 
 MnUserParameterState (const MnUserParameters &, const MnUserCovariance &)
  More...
 
 MnUserParameterState (const MnUserParameterState &state)
  More...
 
 MnUserParameterState (const std::vector< double > &, const MnUserCovariance &)
  More...
 
 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 ()
  More...
 
void Add (const std::string &, double)
  More...
 
void Add (const std::string &name, double val, double err)
  More...
 
void Add (const std::string &name, double val, double err, double, double)
  More...
 
const MnUserCovarianceCovariance () const
  More...
 
int CovarianceStatus () const
  More...
 
double Edm () const
  More...
 
double Error (const std::string &) const
  More...
 
double Error (unsigned int) const
  More...
 
std::vector< doubleErrors () const
  More...
 
double Ext2int (unsigned int, double) const
  More...
 
unsigned int ExtOfInt (unsigned int) const
  More...
 
void Fix (const std::string &)
  More...
 
void Fix (unsigned int)
  More...
 
double Fval () const
  More...
 
const std::string & GetName (unsigned int) const
  More...
 
const MnGlobalCorrelationCoeffGlobalCC () const
  More...
 
bool HasCovariance () const
  More...
 
bool HasGlobalCC () const
  More...
 
MnUserCovariance Hessian () const
  More...
 
unsigned int Index (const std::string &) const
  More...
 
double Int2ext (unsigned int, double) const
  More...
 
const MnUserCovarianceIntCovariance () const
  More...
 
unsigned int IntOfExt (unsigned int) const
  More...
 
const std::vector< double > & IntParameters () const
  More...
 
bool IsValid () const
  More...
 
const std::vector< ROOT::Minuit2::MinuitParameter > & MinuitParameters () const
 facade: forward interface of MnUserParameters and MnUserTransformation More...
 
const char * Name (unsigned int) const
  More...
 
unsigned int NFcn () const
  More...
 
MnUserParameterStateoperator= (const MnUserParameterState &state)
  More...
 
const MinuitParameterParameter (unsigned int i) const
  More...
 
const MnUserParametersParameters () const
  More...
 
std::vector< doubleParams () const
  More...
 
const MnMachinePrecisionPrecision () const
  More...
 
void Release (const std::string &)
  More...
 
void Release (unsigned int)
  More...
 
void RemoveLimits (const std::string &)
  More...
 
void RemoveLimits (unsigned int)
  More...
 
void SetError (const std::string &, double)
  More...
 
void SetError (unsigned int, double)
  More...
 
void SetLimits (const std::string &, double, double)
  More...
 
void SetLimits (unsigned int, double, double)
  More...
 
void SetLowerLimit (const std::string &, double)
  More...
 
void SetLowerLimit (unsigned int, double)
  More...
 
void SetName (unsigned int iext, const std::string &name)
  More...
 
void SetPrecision (double eps)
  More...
 
void SetUpperLimit (const std::string &, double)
  More...
 
void SetUpperLimit (unsigned int, double)
  More...
 
void SetValue (const std::string &, double)
  More...
 
void SetValue (unsigned int, double)
  More...
 
const MnUserTransformationTrafo () const
  More...
 
double Value (const std::string &) const
  More...
 
double Value (unsigned int) const
  More...
 
unsigned int VariableParameters () const
  More...
 

Private Attributes

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

#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:
[legend]

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