Logo ROOT   6.13/01
Reference Guide
List of all members | Public Member Functions | Private Attributes | List of all members
ROOT::Minuit2::MnUserTransformation Class Reference

class dealing with the transformation between user specified parameters (external) and internal parameters used for minimization

Definition at line 38 of file MnUserTransformation.h.

Public Member Functions

 MnUserTransformation ()
 
 MnUserTransformation (const std::vector< double > &, const std::vector< double > &)
 
 MnUserTransformation (const MnUserTransformation &trafo)
 
 ~MnUserTransformation ()
 
bool Add (const std::string &, double, double)
 
bool Add (const std::string &, double, double, double, double)
 
bool Add (const std::string &, double)
 
double DInt2Ext (unsigned int, double) const
 
double Error (unsigned int) const
 
double Error (const std::string &) const
 
std::vector< double > Errors () const
 
double Ext2int (unsigned int, double) const
 
unsigned int ExtOfInt (unsigned int internal) const
 
int FindIndex (const std::string &) const
 
void Fix (unsigned int)
 
void Fix (const std::string &)
 
const std::string & GetName (unsigned int) const
 
unsigned int Index (const std::string &) const
 
const std::vector< double > & InitialParValues () const
 
double Int2ext (unsigned int, double) const
 
MnUserCovariance Int2extCovariance (const MnAlgebraicVector &, const MnAlgebraicSymMatrix &) const
 
double Int2extError (unsigned int, double, double) const
 
unsigned int IntOfExt (unsigned int) const
 
const char * Name (unsigned int) const
 
std::vector< double > operator() (const MnAlgebraicVector &) const
 
MnUserTransformationoperator= (const MnUserTransformation &trafo)
 
const MinuitParameterParameter (unsigned int) const
 
const std::vector< MinuitParameter > & Parameters () const
 
std::vector< double > Params () const
 access to parameters and errors in column-wise representation More...
 
const MnMachinePrecisionPrecision () const
 forwarded interface More...
 
void Release (unsigned int)
 
void Release (const std::string &)
 
void RemoveLimits (unsigned int)
 
void RemoveLimits (const std::string &)
 
void SetError (unsigned int, double)
 
void SetError (const std::string &, double)
 
void SetLimits (unsigned int, double, double)
 
void SetLimits (const std::string &, double, double)
 
void SetLowerLimit (unsigned int, double)
 
void SetLowerLimit (const std::string &, double)
 
void SetName (unsigned int, const std::string &)
 
void SetPrecision (double eps)
 
void SetUpperLimit (unsigned int, double)
 
void SetUpperLimit (const std::string &, double)
 
void SetValue (unsigned int, double)
 
void SetValue (const std::string &, double)
 
double Value (unsigned int) const
 
double Value (const std::string &) const
 
unsigned int VariableParameters () const
 

Private Attributes

std::vector< double > fCache
 
SinParameterTransformation fDoubleLimTrafo
 
std::vector< unsigned int > fExtOfInt
 
SqrtLowParameterTransformation fLowerLimTrafo
 
std::vector< MinuitParameterfParameters
 
MnMachinePrecision fPrecision
 
SqrtUpParameterTransformation fUpperLimTrafo
 

#include <Minuit2/MnUserTransformation.h>

Constructor & Destructor Documentation

◆ MnUserTransformation() [1/3]

ROOT::Minuit2::MnUserTransformation::MnUserTransformation ( )
inline

Definition at line 42 of file MnUserTransformation.h.

◆ MnUserTransformation() [2/3]

ROOT::Minuit2::MnUserTransformation::MnUserTransformation ( const std::vector< double > &  par,
const std::vector< double > &  err 
)

Definition at line 42 of file MnUserTransformation.cxx.

◆ ~MnUserTransformation()

ROOT::Minuit2::MnUserTransformation::~MnUserTransformation ( )
inline

Definition at line 52 of file MnUserTransformation.h.

◆ MnUserTransformation() [3/3]

ROOT::Minuit2::MnUserTransformation::MnUserTransformation ( const MnUserTransformation trafo)
inline

Definition at line 54 of file MnUserTransformation.h.

Member Function Documentation

◆ Add() [1/3]

bool ROOT::Minuit2::MnUserTransformation::Add ( const std::string &  name,
double  val,
double  err 
)

Definition at line 264 of file MnUserTransformation.cxx.

◆ Add() [2/3]

bool ROOT::Minuit2::MnUserTransformation::Add ( const std::string &  name,
double  val,
double  err,
double  low,
double  up 
)

Definition at line 275 of file MnUserTransformation.cxx.

◆ Add() [3/3]

bool ROOT::Minuit2::MnUserTransformation::Add ( const std::string &  name,
double  val 
)

Definition at line 286 of file MnUserTransformation.cxx.

◆ DInt2Ext()

double ROOT::Minuit2::MnUserTransformation::DInt2Ext ( unsigned int  i,
double  val 
) const

Definition at line 177 of file MnUserTransformation.cxx.

◆ Error() [1/2]

double ROOT::Minuit2::MnUserTransformation::Error ( unsigned int  n) const

Definition at line 368 of file MnUserTransformation.cxx.

◆ Error() [2/2]

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

Definition at line 421 of file MnUserTransformation.cxx.

◆ Errors()

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

Definition at line 234 of file MnUserTransformation.cxx.

◆ Ext2int()

double ROOT::Minuit2::MnUserTransformation::Ext2int ( unsigned int  i,
double  val 
) const

Definition at line 162 of file MnUserTransformation.cxx.

◆ ExtOfInt()

unsigned int ROOT::Minuit2::MnUserTransformation::ExtOfInt ( unsigned int  internal) const
inline

Definition at line 103 of file MnUserTransformation.h.

◆ FindIndex()

int ROOT::Minuit2::MnUserTransformation::FindIndex ( const std::string &  name) const

Definition at line 435 of file MnUserTransformation.cxx.

◆ Fix() [1/2]

void ROOT::Minuit2::MnUserTransformation::Fix ( unsigned int  n)

Definition at line 297 of file MnUserTransformation.cxx.

◆ Fix() [2/2]

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

Definition at line 376 of file MnUserTransformation.cxx.

◆ GetName()

const std::string & ROOT::Minuit2::MnUserTransformation::GetName ( unsigned int  n) const

Definition at line 444 of file MnUserTransformation.cxx.

◆ Index()

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

Definition at line 426 of file MnUserTransformation.cxx.

◆ InitialParValues()

const std::vector<double>& ROOT::Minuit2::MnUserTransformation::InitialParValues ( ) const
inline

Definition at line 115 of file MnUserTransformation.h.

◆ Int2ext()

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

Definition at line 95 of file MnUserTransformation.cxx.

◆ Int2extCovariance()

MnUserCovariance ROOT::Minuit2::MnUserTransformation::Int2extCovariance ( const MnAlgebraicVector vec,
const MnAlgebraicSymMatrix cov 
) const

Definition at line 135 of file MnUserTransformation.cxx.

◆ Int2extError()

double ROOT::Minuit2::MnUserTransformation::Int2extError ( unsigned int  i,
double  val,
double  err 
) const

Definition at line 109 of file MnUserTransformation.cxx.

◆ IntOfExt()

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

Definition at line 213 of file MnUserTransformation.cxx.

◆ Name()

const char * ROOT::Minuit2::MnUserTransformation::Name ( unsigned int  n) const

Definition at line 450 of file MnUserTransformation.cxx.

◆ operator()()

std::vector< double > ROOT::Minuit2::MnUserTransformation::operator() ( const MnAlgebraicVector pstates) const

Definition at line 63 of file MnUserTransformation.cxx.

◆ operator=()

MnUserTransformation& ROOT::Minuit2::MnUserTransformation::operator= ( const MnUserTransformation trafo)
inline

Definition at line 61 of file MnUserTransformation.h.

◆ Parameter()

const MinuitParameter & ROOT::Minuit2::MnUserTransformation::Parameter ( unsigned int  n) const

Definition at line 244 of file MnUserTransformation.cxx.

◆ Parameters()

const std::vector<MinuitParameter>& ROOT::Minuit2::MnUserTransformation::Parameters ( ) const
inline

Definition at line 108 of file MnUserTransformation.h.

◆ Params()

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

access to parameters and errors in column-wise representation

Definition at line 224 of file MnUserTransformation.cxx.

◆ Precision()

const MnMachinePrecision& ROOT::Minuit2::MnUserTransformation::Precision ( ) const
inline

forwarded interface

Definition at line 122 of file MnUserTransformation.h.

◆ Release() [1/2]

void ROOT::Minuit2::MnUserTransformation::Release ( unsigned int  n)

Definition at line 306 of file MnUserTransformation.cxx.

◆ Release() [2/2]

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

Definition at line 381 of file MnUserTransformation.cxx.

◆ RemoveLimits() [1/2]

void ROOT::Minuit2::MnUserTransformation::RemoveLimits ( unsigned int  n)

Definition at line 349 of file MnUserTransformation.cxx.

◆ RemoveLimits() [2/2]

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

Definition at line 411 of file MnUserTransformation.cxx.

◆ SetError() [1/2]

void ROOT::Minuit2::MnUserTransformation::SetError ( unsigned int  n,
double  err 
)

Definition at line 324 of file MnUserTransformation.cxx.

◆ SetError() [2/2]

void ROOT::Minuit2::MnUserTransformation::SetError ( const std::string &  name,
double  err 
)

Definition at line 391 of file MnUserTransformation.cxx.

◆ SetLimits() [1/2]

void ROOT::Minuit2::MnUserTransformation::SetLimits ( unsigned int  n,
double  low,
double  up 
)

Definition at line 330 of file MnUserTransformation.cxx.

◆ SetLimits() [2/2]

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

Definition at line 396 of file MnUserTransformation.cxx.

◆ SetLowerLimit() [1/2]

void ROOT::Minuit2::MnUserTransformation::SetLowerLimit ( unsigned int  n,
double  lo 
)

Definition at line 343 of file MnUserTransformation.cxx.

◆ SetLowerLimit() [2/2]

void ROOT::Minuit2::MnUserTransformation::SetLowerLimit ( const std::string &  name,
double  lo 
)

Definition at line 406 of file MnUserTransformation.cxx.

◆ SetName()

void ROOT::Minuit2::MnUserTransformation::SetName ( unsigned int  n,
const std::string &  name 
)

Definition at line 355 of file MnUserTransformation.cxx.

◆ SetPrecision()

void ROOT::Minuit2::MnUserTransformation::SetPrecision ( double  eps)
inline

Definition at line 123 of file MnUserTransformation.h.

◆ SetUpperLimit() [1/2]

void ROOT::Minuit2::MnUserTransformation::SetUpperLimit ( unsigned int  n,
double  up 
)

Definition at line 337 of file MnUserTransformation.cxx.

◆ SetUpperLimit() [2/2]

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

Definition at line 401 of file MnUserTransformation.cxx.

◆ SetValue() [1/2]

void ROOT::Minuit2::MnUserTransformation::SetValue ( unsigned int  n,
double  val 
)

Definition at line 317 of file MnUserTransformation.cxx.

◆ SetValue() [2/2]

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

Definition at line 386 of file MnUserTransformation.cxx.

◆ Value() [1/2]

double ROOT::Minuit2::MnUserTransformation::Value ( unsigned int  n) const

Definition at line 362 of file MnUserTransformation.cxx.

◆ Value() [2/2]

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

Definition at line 416 of file MnUserTransformation.cxx.

◆ VariableParameters()

unsigned int ROOT::Minuit2::MnUserTransformation::VariableParameters ( ) const
inline

Definition at line 112 of file MnUserTransformation.h.

Member Data Documentation

◆ fCache

std::vector<double> ROOT::Minuit2::MnUserTransformation::fCache
mutableprivate

Definition at line 188 of file MnUserTransformation.h.

◆ fDoubleLimTrafo

SinParameterTransformation ROOT::Minuit2::MnUserTransformation::fDoubleLimTrafo
private

Definition at line 184 of file MnUserTransformation.h.

◆ fExtOfInt

std::vector<unsigned int> ROOT::Minuit2::MnUserTransformation::fExtOfInt
private

Definition at line 182 of file MnUserTransformation.h.

◆ fLowerLimTrafo

SqrtLowParameterTransformation ROOT::Minuit2::MnUserTransformation::fLowerLimTrafo
private

Definition at line 186 of file MnUserTransformation.h.

◆ fParameters

std::vector<MinuitParameter> ROOT::Minuit2::MnUserTransformation::fParameters
private

Definition at line 181 of file MnUserTransformation.h.

◆ fPrecision

MnMachinePrecision ROOT::Minuit2::MnUserTransformation::fPrecision
private

Definition at line 179 of file MnUserTransformation.h.

◆ fUpperLimTrafo

SqrtUpParameterTransformation ROOT::Minuit2::MnUserTransformation::fUpperLimTrafo
private

Definition at line 185 of file MnUserTransformation.h.

Libraries for ROOT::Minuit2::MnUserTransformation:
[legend]

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