ROOT
6.06/09
Reference Guide
|
class dealing with the transformation between user specified parameters (external) and internal parameters used for minimization
Definition at line 52 of file MnUserTransformation.h.
Public Member Functions | |
MnUserTransformation () | |
MnUserTransformation (const std::vector< double > &, const std::vector< double > &) | |
~MnUserTransformation () | |
MnUserTransformation (const MnUserTransformation &trafo) | |
MnUserTransformation & | operator= (const MnUserTransformation &trafo) |
std::vector< double > | operator() (const MnAlgebraicVector &) const |
double | Int2ext (unsigned int, double) const |
double | Int2extError (unsigned int, double, double) const |
MnUserCovariance | Int2extCovariance (const MnAlgebraicVector &, const MnAlgebraicSymMatrix &) const |
double | Ext2int (unsigned int, double) const |
double | DInt2Ext (unsigned int, double) const |
unsigned int | IntOfExt (unsigned int) const |
unsigned int | ExtOfInt (unsigned int internal) const |
const std::vector< MinuitParameter > & | Parameters () const |
unsigned int | VariableParameters () const |
const std::vector< double > & | InitialParValues () const |
const MnMachinePrecision & | Precision () const |
forwarded interface More... | |
void | SetPrecision (double eps) |
std::vector< double > | Params () const |
access to parameters and errors in column-wise representation More... | |
std::vector< double > | Errors () const |
const MinuitParameter & | Parameter (unsigned int) const |
bool | Add (const std::string &, double, double) |
bool | Add (const std::string &, double, double, double, double) |
bool | 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, const std::string &) |
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 |
int | FindIndex (const std::string &) const |
const std::string & | GetName (unsigned int) const |
const char * | Name (unsigned int) const |
Private Attributes | |
MnMachinePrecision | fPrecision |
std::vector< MinuitParameter > | fParameters |
std::vector< unsigned int > | fExtOfInt |
SinParameterTransformation | fDoubleLimTrafo |
SqrtUpParameterTransformation | fUpperLimTrafo |
SqrtLowParameterTransformation | fLowerLimTrafo |
std::vector< double > | fCache |
#include <Minuit2/MnUserTransformation.h>
|
inline |
Definition at line 56 of file MnUserTransformation.h.
ROOT::Minuit2::MnUserTransformation::MnUserTransformation | ( | const std::vector< double > & | par, |
const std::vector< double > & | err | ||
) |
Definition at line 41 of file MnUserTransformation.cxx.
|
inline |
Definition at line 66 of file MnUserTransformation.h.
|
inline |
Definition at line 68 of file MnUserTransformation.h.
Definition at line 263 of file MnUserTransformation.cxx.
Referenced by ROOT::Minuit2::MnUserParameters::Add(), and MnUserTransformation().
bool ROOT::Minuit2::MnUserTransformation::Add | ( | const std::string & | name, |
double | val, | ||
double | err, | ||
double | low, | ||
double | up | ||
) |
Definition at line 274 of file MnUserTransformation.cxx.
bool ROOT::Minuit2::MnUserTransformation::Add | ( | const std::string & | name, |
double | val | ||
) |
Definition at line 285 of file MnUserTransformation.cxx.
Definition at line 176 of file MnUserTransformation.cxx.
Referenced by Int2extCovariance(), ROOT::Minuit2::AnalyticalGradientCalculator::operator()(), and ROOT::Minuit2::FumiliGradientCalculator::operator()().
double ROOT::Minuit2::MnUserTransformation::Error | ( | unsigned int | n | ) | const |
Definition at line 367 of file MnUserTransformation.cxx.
Referenced by ROOT::Minuit2::MnUserParameters::Error(), and Error().
double ROOT::Minuit2::MnUserTransformation::Error | ( | const std::string & | name | ) | const |
Definition at line 420 of file MnUserTransformation.cxx.
std::vector< double > ROOT::Minuit2::MnUserTransformation::Errors | ( | ) | const |
Definition at line 233 of file MnUserTransformation.cxx.
Referenced by ROOT::Minuit2::MnUserParameters::Errors().
Definition at line 161 of file MnUserTransformation.cxx.
Referenced by ROOT::Minuit2::MnUserParameterState::Ext2int(), ROOT::Minuit2::ScanBuilder::Minimum(), and ROOT::Minuit2::InitialGradientCalculator::operator()().
|
inline |
Definition at line 117 of file MnUserTransformation.h.
Referenced by ROOT::Minuit2::MnUserParameterState::ExtOfInt(), ROOT::Minuit2::ScanBuilder::Minimum(), ROOT::Minuit2::AnalyticalGradientCalculator::operator()(), ROOT::Minuit2::MnTraceObject::operator()(), ROOT::Minuit2::MnSeedGenerator::operator()(), ROOT::Minuit2::MnUserFcn::operator()(), ROOT::Minuit2::FumiliGradientCalculator::operator()(), ROOT::Minuit2::InitialGradientCalculator::operator()(), ROOT::Minuit2::Numerical2PGradientCalculator::operator()(), and ROOT::Minuit2::MnHesse::operator()().
int ROOT::Minuit2::MnUserTransformation::FindIndex | ( | const std::string & | name | ) | const |
Definition at line 434 of file MnUserTransformation.cxx.
Referenced by ROOT::Minuit2::Minuit2Minimizer::VariableIndex().
void ROOT::Minuit2::MnUserTransformation::Fix | ( | unsigned int | n | ) |
Definition at line 296 of file MnUserTransformation.cxx.
Referenced by ROOT::Minuit2::MnUserParameters::Fix(), and Fix().
void ROOT::Minuit2::MnUserTransformation::Fix | ( | const std::string & | name | ) |
Definition at line 375 of file MnUserTransformation.cxx.
const std::string & ROOT::Minuit2::MnUserTransformation::GetName | ( | unsigned int | n | ) | const |
Definition at line 443 of file MnUserTransformation.cxx.
Referenced by ROOT::Minuit2::MnUserParameters::GetName(), and Name().
unsigned int ROOT::Minuit2::MnUserTransformation::Index | ( | const std::string & | name | ) | const |
Definition at line 425 of file MnUserTransformation.cxx.
Referenced by Error(), Fix(), ROOT::Minuit2::MnUserParameters::Index(), Release(), RemoveLimits(), SetError(), SetLimits(), SetLowerLimit(), SetUpperLimit(), SetValue(), and Value().
|
inline |
Definition at line 129 of file MnUserTransformation.h.
Referenced by ROOT::Minuit2::MnUserFcn::operator()().
Definition at line 94 of file MnUserTransformation.cxx.
Referenced by ROOT::Minuit2::MnUserParameterState::Int2ext(), Int2extError(), ROOT::Minuit2::MnUserParameterState::MnUserParameterState(), ROOT::Minuit2::MnTraceObject::operator()(), ROOT::Minuit2::MnUserFcn::operator()(), ROOT::Minuit2::InitialGradientCalculator::operator()(), TMinuit2TraceObject::operator()(), and operator()().
MnUserCovariance ROOT::Minuit2::MnUserTransformation::Int2extCovariance | ( | const MnAlgebraicVector & | vec, |
const MnAlgebraicSymMatrix & | cov | ||
) | const |
Definition at line 134 of file MnUserTransformation.cxx.
Referenced by ROOT::Minuit2::MnUserParameterState::MnUserParameterState().
double ROOT::Minuit2::MnUserTransformation::Int2extError | ( | unsigned int | i, |
double | val, | ||
double | err | ||
) | const |
Definition at line 108 of file MnUserTransformation.cxx.
Referenced by ROOT::Minuit2::MnUserParameterState::MnUserParameterState().
unsigned int ROOT::Minuit2::MnUserTransformation::IntOfExt | ( | unsigned int | ext | ) | const |
Definition at line 212 of file MnUserTransformation.cxx.
Referenced by ROOT::Minuit2::MnUserParameterState::IntOfExt(), and ROOT::Minuit2::MnUserParameterState::MnUserParameterState().
const char * ROOT::Minuit2::MnUserTransformation::Name | ( | unsigned int | n | ) | const |
Definition at line 449 of file MnUserTransformation.cxx.
Referenced by ROOT::Minuit2::MnUserParameters::Name(), ROOT::Minuit2::MnSeedGenerator::operator()(), ROOT::Minuit2::InitialGradientCalculator::operator()(), ROOT::Minuit2::Numerical2PGradientCalculator::operator()(), and ROOT::Minuit2::MnHesse::operator()().
std::vector< double > ROOT::Minuit2::MnUserTransformation::operator() | ( | const MnAlgebraicVector & | pstates | ) | const |
Definition at line 62 of file MnUserTransformation.cxx.
|
inline |
Definition at line 75 of file MnUserTransformation.h.
const MinuitParameter & ROOT::Minuit2::MnUserTransformation::Parameter | ( | unsigned int | n | ) | const |
Definition at line 243 of file MnUserTransformation.cxx.
Referenced by ROOT::Minuit2::AnalyticalGradientCalculator::operator()(), ROOT::Minuit2::FumiliGradientCalculator::operator()(), ROOT::Minuit2::InitialGradientCalculator::operator()(), ROOT::Minuit2::MnHesse::operator()(), and ROOT::Minuit2::MnUserParameters::Parameter().
|
inline |
std::vector< double > ROOT::Minuit2::MnUserTransformation::Params | ( | ) | const |
access to parameters and errors in column-wise representation
Definition at line 223 of file MnUserTransformation.cxx.
Referenced by ROOT::Minuit2::MnUserParameters::Params().
|
inline |
forwarded interface
Definition at line 136 of file MnUserTransformation.h.
Referenced by Ext2int(), ROOT::Minuit2::MnHesse::operator()(), ROOT::Minuit2::InitialGradientCalculator::Precision(), ROOT::Minuit2::HessianGradientCalculator::Precision(), ROOT::Minuit2::BasicMinimumSeed::Precision(), ROOT::Minuit2::Numerical2PGradientCalculator::Precision(), and ROOT::Minuit2::MnUserParameters::Precision().
void ROOT::Minuit2::MnUserTransformation::Release | ( | unsigned int | n | ) |
Definition at line 305 of file MnUserTransformation.cxx.
Referenced by ROOT::Minuit2::MnUserParameters::Release(), and Release().
void ROOT::Minuit2::MnUserTransformation::Release | ( | const std::string & | name | ) |
Definition at line 380 of file MnUserTransformation.cxx.
void ROOT::Minuit2::MnUserTransformation::RemoveLimits | ( | unsigned int | n | ) |
Definition at line 348 of file MnUserTransformation.cxx.
Referenced by ROOT::Minuit2::MnUserParameters::RemoveLimits(), and RemoveLimits().
void ROOT::Minuit2::MnUserTransformation::RemoveLimits | ( | const std::string & | name | ) |
Definition at line 410 of file MnUserTransformation.cxx.
Definition at line 323 of file MnUserTransformation.cxx.
Referenced by ROOT::Minuit2::MnUserParameters::SetError(), and SetError().
Definition at line 390 of file MnUserTransformation.cxx.
Definition at line 329 of file MnUserTransformation.cxx.
Referenced by ROOT::Minuit2::MnUserParameters::SetLimits(), and SetLimits().
void ROOT::Minuit2::MnUserTransformation::SetLimits | ( | const std::string & | name, |
double | low, | ||
double | up | ||
) |
Definition at line 395 of file MnUserTransformation.cxx.
Definition at line 342 of file MnUserTransformation.cxx.
Referenced by ROOT::Minuit2::MnUserParameters::SetLowerLimit(), and SetLowerLimit().
Definition at line 405 of file MnUserTransformation.cxx.
void ROOT::Minuit2::MnUserTransformation::SetName | ( | unsigned int | n, |
const std::string & | name | ||
) |
Definition at line 354 of file MnUserTransformation.cxx.
Referenced by ROOT::Minuit2::MnUserParameters::SetName().
Definition at line 137 of file MnUserTransformation.h.
Referenced by ROOT::Minuit2::MnUserParameters::SetPrecision().
Definition at line 336 of file MnUserTransformation.cxx.
Referenced by ROOT::Minuit2::MnUserParameters::SetUpperLimit(), and SetUpperLimit().
Definition at line 400 of file MnUserTransformation.cxx.
Definition at line 316 of file MnUserTransformation.cxx.
Referenced by ROOT::Minuit2::MnUserParameters::SetValue(), and SetValue().
Definition at line 385 of file MnUserTransformation.cxx.
double ROOT::Minuit2::MnUserTransformation::Value | ( | unsigned int | n | ) | const |
Definition at line 361 of file MnUserTransformation.cxx.
Referenced by Params(), ROOT::Minuit2::MnUserParameters::Value(), and Value().
double ROOT::Minuit2::MnUserTransformation::Value | ( | const std::string & | name | ) | const |
Definition at line 415 of file MnUserTransformation.cxx.
|
inline |
|
mutableprivate |
Definition at line 202 of file MnUserTransformation.h.
Referenced by Add(), InitialParValues(), MnUserTransformation(), operator()(), operator=(), and SetValue().
|
private |
Definition at line 198 of file MnUserTransformation.h.
Referenced by DInt2Ext(), Ext2int(), Int2ext(), and operator=().
|
private |
Definition at line 196 of file MnUserTransformation.h.
Referenced by Add(), DInt2Ext(), ExtOfInt(), Fix(), Int2ext(), Int2extCovariance(), Int2extError(), IntOfExt(), MnUserTransformation(), operator()(), operator=(), Release(), and VariableParameters().
|
private |
Definition at line 200 of file MnUserTransformation.h.
Referenced by DInt2Ext(), Ext2int(), Int2ext(), and operator=().
|
private |
Definition at line 195 of file MnUserTransformation.h.
Referenced by Add(), DInt2Ext(), Error(), Errors(), Ext2int(), FindIndex(), Fix(), GetName(), Index(), Int2ext(), Int2extCovariance(), Int2extError(), IntOfExt(), MnUserTransformation(), operator()(), operator=(), Parameter(), Parameters(), Params(), Release(), RemoveLimits(), SetError(), SetLimits(), SetLowerLimit(), SetName(), SetUpperLimit(), SetValue(), and Value().
|
private |
Definition at line 193 of file MnUserTransformation.h.
Referenced by operator=(), Precision(), and SetPrecision().
|
private |
Definition at line 199 of file MnUserTransformation.h.
Referenced by DInt2Ext(), Ext2int(), Int2ext(), and operator=().