ROOT  6.06/09
Reference Guide
Public Member Functions | Private Attributes | List of all members
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 31 of file MnUserParameterState.h.

Public Member Functions

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

Private Attributes

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

#include <Minuit2/MnUserParameterState.h>

+ Collaboration diagram for ROOT::Minuit2::MnUserParameterState:

Constructor & Destructor Documentation

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

default constructor (invalid state)

Definition at line 36 of file MnUserParameterState.h.

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.

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

Definition at line 29 of file MnUserParameterState.cxx.

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.

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

Definition at line 59 of file MnUserParameterState.cxx.

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

Definition at line 74 of file MnUserParameterState.cxx.

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.

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

Definition at line 55 of file MnUserParameterState.h.

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

Definition at line 57 of file MnUserParameterState.h.

Member Function Documentation

void ROOT::Minuit2::MnUserParameterState::Add ( const std::string &  name,
double  val,
double  err 
)
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.

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

Definition at line 253 of file MnUserParameterState.cxx.

const MnUserCovariance& ROOT::Minuit2::MnUserParameterState::Covariance ( ) const
inline
int ROOT::Minuit2::MnUserParameterState::CovarianceStatus ( ) const
inline
double ROOT::Minuit2::MnUserParameterState::Edm ( ) const
inline
double ROOT::Minuit2::MnUserParameterState::Error ( unsigned int  i) const
double ROOT::Minuit2::MnUserParameterState::Error ( const std::string &  name) const

Definition at line 390 of file MnUserParameterState.cxx.

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

Definition at line 194 of file MnUserParameterState.cxx.

Referenced by ROOT::Minuit2::MnApplication::Errors().

double ROOT::Minuit2::MnUserParameterState::Ext2int ( unsigned int  e,
double  val 
) const
unsigned int ROOT::Minuit2::MnUserParameterState::ExtOfInt ( unsigned int  internal) const
void ROOT::Minuit2::MnUserParameterState::Fix ( unsigned int  e)
void ROOT::Minuit2::MnUserParameterState::Fix ( const std::string &  name)

Definition at line 372 of file MnUserParameterState.cxx.

double ROOT::Minuit2::MnUserParameterState::Fval ( ) const
inline
const std::string & ROOT::Minuit2::MnUserParameterState::GetName ( unsigned int  i) const
const MnGlobalCorrelationCoeff& ROOT::Minuit2::MnUserParameterState::GlobalCC ( ) const
inline
bool ROOT::Minuit2::MnUserParameterState::HasCovariance ( ) const
inline
bool ROOT::Minuit2::MnUserParameterState::HasGlobalCC ( ) const
inline
MnUserCovariance ROOT::Minuit2::MnUserParameterState::Hessian ( ) const
unsigned int ROOT::Minuit2::MnUserParameterState::Index ( const std::string &  name) const
double ROOT::Minuit2::MnUserParameterState::Int2ext ( unsigned int  i,
double  val 
) const
const MnUserCovariance& ROOT::Minuit2::MnUserParameterState::IntCovariance ( ) const
inline
unsigned int ROOT::Minuit2::MnUserParameterState::IntOfExt ( unsigned int  ext) const
const std::vector<double>& ROOT::Minuit2::MnUserParameterState::IntParameters ( ) const
inline
bool ROOT::Minuit2::MnUserParameterState::IsValid ( ) const
inline
const std::vector< MinuitParameter > & ROOT::Minuit2::MnUserParameterState::MinuitParameters ( ) const
const char * ROOT::Minuit2::MnUserParameterState::Name ( unsigned int  i) const
unsigned int ROOT::Minuit2::MnUserParameterState::NFcn ( ) const
inline
MnUserParameterState& ROOT::Minuit2::MnUserParameterState::operator= ( const MnUserParameterState state)
inline

Definition at line 64 of file MnUserParameterState.h.

const MinuitParameter & ROOT::Minuit2::MnUserParameterState::Parameter ( unsigned int  i) const
const MnUserParameters& ROOT::Minuit2::MnUserParameterState::Parameters ( ) const
inline
std::vector< double > ROOT::Minuit2::MnUserParameterState::Params ( ) const
const MnMachinePrecision & ROOT::Minuit2::MnUserParameterState::Precision ( ) const
void ROOT::Minuit2::MnUserParameterState::Release ( unsigned int  e)
void ROOT::Minuit2::MnUserParameterState::Release ( const std::string &  name)

Definition at line 374 of file MnUserParameterState.cxx.

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

Definition at line 386 of file MnUserParameterState.cxx.

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

Definition at line 378 of file MnUserParameterState.cxx.

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

Definition at line 380 of file MnUserParameterState.cxx.

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

Definition at line 384 of file MnUserParameterState.cxx.

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

Definition at line 138 of file MnUserParameterState.h.

void ROOT::Minuit2::MnUserParameterState::SetPrecision ( double  eps)
void ROOT::Minuit2::MnUserParameterState::SetUpperLimit ( unsigned int  e,
double  up 
)
void ROOT::Minuit2::MnUserParameterState::SetUpperLimit ( const std::string &  name,
double  up 
)

Definition at line 382 of file MnUserParameterState.cxx.

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

Definition at line 376 of file MnUserParameterState.cxx.

const MnUserTransformation& ROOT::Minuit2::MnUserParameterState::Trafo ( ) const
inline
double ROOT::Minuit2::MnUserParameterState::Value ( unsigned int  i) const
double ROOT::Minuit2::MnUserParameterState::Value ( const std::string &  name) const

Definition at line 388 of file MnUserParameterState.cxx.

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

Member Data Documentation

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

Definition at line 184 of file MnUserParameterState.h.

Referenced by Covariance(), Fix(), Hessian(), MnUserParameterState(), and operator=().

bool ROOT::Minuit2::MnUserParameterState::fCovarianceValid
private
int ROOT::Minuit2::MnUserParameterState::fCovStatus
private

Definition at line 178 of file MnUserParameterState.h.

Referenced by CovarianceStatus(), MnUserParameterState(), and operator=().

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

Definition at line 180 of file MnUserParameterState.h.

Referenced by Edm(), and operator=().

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

Definition at line 179 of file MnUserParameterState.h.

Referenced by Fval(), and operator=().

bool ROOT::Minuit2::MnUserParameterState::fGCCValid
private
MnGlobalCorrelationCoeff ROOT::Minuit2::MnUserParameterState::fGlobalCC
private

Definition at line 185 of file MnUserParameterState.h.

Referenced by GlobalCC(), MnUserParameterState(), and operator=().

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

Definition at line 188 of file MnUserParameterState.h.

Referenced by Fix(), IntCovariance(), MnUserParameterState(), and operator=().

std::vector<double> ROOT::Minuit2::MnUserParameterState::fIntParameters
private
unsigned int ROOT::Minuit2::MnUserParameterState::fNFcn
private

Definition at line 181 of file MnUserParameterState.h.

Referenced by NFcn(), and operator=().

MnUserParameters ROOT::Minuit2::MnUserParameterState::fParameters
private
bool ROOT::Minuit2::MnUserParameterState::fValid
private

Definition at line 175 of file MnUserParameterState.h.

Referenced by Add(), IsValid(), and operator=().


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