ROOT  6.06/09
Reference Guide
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 52 of file MnUserTransformation.h.

Public Member Functions

 MnUserTransformation ()
 
 MnUserTransformation (const std::vector< double > &, const std::vector< double > &)
 
 ~MnUserTransformation ()
 
 MnUserTransformation (const MnUserTransformation &trafo)
 
MnUserTransformationoperator= (const MnUserTransformation &trafo)
 
std::vector< doubleoperator() (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 MnMachinePrecisionPrecision () const
 forwarded interface More...
 
void SetPrecision (double eps)
 
std::vector< doubleParams () const
 access to parameters and errors in column-wise representation More...
 
std::vector< doubleErrors () const
 
const MinuitParameterParameter (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< MinuitParameterfParameters
 
std::vector< unsigned int > fExtOfInt
 
SinParameterTransformation fDoubleLimTrafo
 
SqrtUpParameterTransformation fUpperLimTrafo
 
SqrtLowParameterTransformation fLowerLimTrafo
 
std::vector< doublefCache
 

#include <Minuit2/MnUserTransformation.h>

+ Collaboration diagram for ROOT::Minuit2::MnUserTransformation:

Constructor & Destructor Documentation

ROOT::Minuit2::MnUserTransformation::MnUserTransformation ( )
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.

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

Definition at line 66 of file MnUserTransformation.h.

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

Definition at line 68 of file MnUserTransformation.h.

Member Function Documentation

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

double ROOT::Minuit2::MnUserTransformation::DInt2Ext ( unsigned int  i,
double  val 
) const
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().

double ROOT::Minuit2::MnUserTransformation::Ext2int ( unsigned int  i,
double  val 
) const
unsigned int ROOT::Minuit2::MnUserTransformation::ExtOfInt ( unsigned int  internal) const
inline
int ROOT::Minuit2::MnUserTransformation::FindIndex ( const std::string &  name) const
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
const std::vector<double>& ROOT::Minuit2::MnUserTransformation::InitialParValues ( ) const
inline

Definition at line 129 of file MnUserTransformation.h.

Referenced by ROOT::Minuit2::MnUserFcn::operator()().

double ROOT::Minuit2::MnUserTransformation::Int2ext ( unsigned int  i,
double  val 
) const
MnUserCovariance ROOT::Minuit2::MnUserTransformation::Int2extCovariance ( const MnAlgebraicVector vec,
const MnAlgebraicSymMatrix cov 
) const
double ROOT::Minuit2::MnUserTransformation::Int2extError ( unsigned int  i,
double  val,
double  err 
) const
unsigned int ROOT::Minuit2::MnUserTransformation::IntOfExt ( unsigned int  ext) const
const char * ROOT::Minuit2::MnUserTransformation::Name ( unsigned int  n) const
std::vector< double > ROOT::Minuit2::MnUserTransformation::operator() ( const MnAlgebraicVector pstates) const

Definition at line 62 of file MnUserTransformation.cxx.

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

Definition at line 75 of file MnUserTransformation.h.

const MinuitParameter & ROOT::Minuit2::MnUserTransformation::Parameter ( unsigned int  n) const
const std::vector<MinuitParameter>& ROOT::Minuit2::MnUserTransformation::Parameters ( ) const
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().

const MnMachinePrecision& ROOT::Minuit2::MnUserTransformation::Precision ( ) const
inline
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)
void ROOT::Minuit2::MnUserTransformation::RemoveLimits ( const std::string &  name)

Definition at line 410 of file MnUserTransformation.cxx.

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

Definition at line 390 of file MnUserTransformation.cxx.

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

Definition at line 395 of file MnUserTransformation.cxx.

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

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().

void ROOT::Minuit2::MnUserTransformation::SetPrecision ( double  eps)
inline
void ROOT::Minuit2::MnUserTransformation::SetUpperLimit ( unsigned int  n,
double  up 
)
void ROOT::Minuit2::MnUserTransformation::SetUpperLimit ( const std::string &  name,
double  up 
)

Definition at line 400 of file MnUserTransformation.cxx.

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

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.

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

Member Data Documentation

std::vector<double> ROOT::Minuit2::MnUserTransformation::fCache
mutableprivate
SinParameterTransformation ROOT::Minuit2::MnUserTransformation::fDoubleLimTrafo
private

Definition at line 198 of file MnUserTransformation.h.

Referenced by DInt2Ext(), Ext2int(), Int2ext(), and operator=().

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

Definition at line 200 of file MnUserTransformation.h.

Referenced by DInt2Ext(), Ext2int(), Int2ext(), and operator=().

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

Definition at line 193 of file MnUserTransformation.h.

Referenced by operator=(), Precision(), and SetPrecision().

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

Definition at line 199 of file MnUserTransformation.h.

Referenced by DInt2Ext(), Ext2int(), Int2ext(), and operator=().


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