Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
ROOT::Minuit2::MnUserTransformation Class Reference

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

Definition at line 40 of file MnUserTransformation.h.

Public Member Functions

 MnUserTransformation ()
 
 MnUserTransformation (const MnUserTransformation &trafo)
 
 MnUserTransformation (std::span< const double >, std::span< const double >)
 
 ~MnUserTransformation ()
 
bool Add (const std::string &, double)
 
bool Add (const std::string &, double, double)
 
bool Add (const std::string &, double, double, double, double)
 
double DExt2Int (unsigned int, double) const
 
double DInt2Ext (unsigned int, double) const
 
double Error (const std::string &) const
 
double Error (unsigned int) const
 
std::vector< doubleErrors () const
 
double Ext2int (unsigned int, double) const
 
MnUserCovariance Ext2intCovariance (const MnAlgebraicVector &, const MnAlgebraicSymMatrix &) const
 
unsigned int ExtOfInt (unsigned int internal) const
 
int FindIndex (const std::string &) const
 
void Fix (const std::string &)
 
void Fix (unsigned int)
 
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< doubleoperator() (const MnAlgebraicVector &) const
 
MnUserTransformationoperator= (const MnUserTransformation &trafo)
 
const MinuitParameterParameter (unsigned int) const
 
const std::vector< MinuitParameter > & Parameters () const
 
std::vector< doubleParams () const
 access to parameters and errors in column-wise representation
 
const MnMachinePrecisionPrecision () const
 forwarded interface
 
void Release (const std::string &)
 
void Release (unsigned int)
 
void RemoveLimits (const std::string &)
 
void RemoveLimits (unsigned int)
 
void SetError (const std::string &, double)
 
void SetError (unsigned int, double)
 
void SetLimits (const std::string &, double, double)
 
void SetLimits (unsigned int, double, double)
 
void SetLowerLimit (const std::string &, double)
 
void SetLowerLimit (unsigned int, double)
 
void SetName (unsigned int, const std::string &)
 
void SetPrecision (double eps)
 
void SetUpperLimit (const std::string &, double)
 
void SetUpperLimit (unsigned int, double)
 
void SetValue (const std::string &, double)
 
void SetValue (unsigned int, double)
 
double Value (const std::string &) const
 
double Value (unsigned int) const
 
unsigned int VariableParameters () const
 

Private Attributes

std::vector< doublefCache
 
SinParameterTransformation fDoubleLimTrafo
 
std::vector< unsigned intfExtOfInt
 
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 43 of file MnUserTransformation.h.

◆ MnUserTransformation() [2/3]

ROOT::Minuit2::MnUserTransformation::MnUserTransformation ( std::span< const double par,
std::span< const double err 
)

Definition at line 40 of file MnUserTransformation.cxx.

◆ ~MnUserTransformation()

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

Definition at line 53 of file MnUserTransformation.h.

◆ MnUserTransformation() [3/3]

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

Definition at line 55 of file MnUserTransformation.h.

Member Function Documentation

◆ Add() [1/3]

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

Definition at line 330 of file MnUserTransformation.cxx.

◆ Add() [2/3]

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

Definition at line 306 of file MnUserTransformation.cxx.

◆ Add() [3/3]

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

Definition at line 318 of file MnUserTransformation.cxx.

◆ DExt2Int()

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

Definition at line 232 of file MnUserTransformation.cxx.

◆ DInt2Ext()

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

Definition at line 211 of file MnUserTransformation.cxx.

◆ Error() [1/2]

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

Definition at line 485 of file MnUserTransformation.cxx.

◆ Error() [2/2]

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

Definition at line 422 of file MnUserTransformation.cxx.

◆ Errors()

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

Definition at line 276 of file MnUserTransformation.cxx.

◆ Ext2int()

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

Definition at line 195 of file MnUserTransformation.cxx.

◆ Ext2intCovariance()

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

Definition at line 171 of file MnUserTransformation.cxx.

◆ ExtOfInt()

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

Definition at line 106 of file MnUserTransformation.h.

◆ FindIndex()

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

Definition at line 500 of file MnUserTransformation.cxx.

◆ Fix() [1/2]

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

Definition at line 431 of file MnUserTransformation.cxx.

◆ Fix() [2/2]

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

Definition at line 342 of file MnUserTransformation.cxx.

◆ GetName()

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

Definition at line 509 of file MnUserTransformation.cxx.

◆ Index()

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

Definition at line 491 of file MnUserTransformation.cxx.

◆ InitialParValues()

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

Definition at line 117 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 140 of file MnUserTransformation.cxx.

◆ Int2extError()

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

Definition at line 111 of file MnUserTransformation.cxx.

◆ IntOfExt()

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

Definition at line 253 of file MnUserTransformation.cxx.

◆ Name()

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

Definition at line 516 of file MnUserTransformation.cxx.

◆ operator()()

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

Definition at line 62 of file MnUserTransformation.cxx.

◆ operator=()

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

Definition at line 62 of file MnUserTransformation.h.

◆ Parameter()

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

Definition at line 288 of file MnUserTransformation.cxx.

◆ Parameters()

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

Definition at line 112 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 265 of file MnUserTransformation.cxx.

◆ Precision()

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

forwarded interface

Definition at line 121 of file MnUserTransformation.h.

◆ Release() [1/2]

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

Definition at line 437 of file MnUserTransformation.cxx.

◆ Release() [2/2]

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

Definition at line 352 of file MnUserTransformation.cxx.

◆ RemoveLimits() [1/2]

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

Definition at line 473 of file MnUserTransformation.cxx.

◆ RemoveLimits() [2/2]

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

Definition at line 401 of file MnUserTransformation.cxx.

◆ SetError() [1/2]

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

Definition at line 449 of file MnUserTransformation.cxx.

◆ SetError() [2/2]

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

Definition at line 372 of file MnUserTransformation.cxx.

◆ SetLimits() [1/2]

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

Definition at line 455 of file MnUserTransformation.cxx.

◆ SetLimits() [2/2]

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

Definition at line 379 of file MnUserTransformation.cxx.

◆ SetLowerLimit() [1/2]

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

Definition at line 467 of file MnUserTransformation.cxx.

◆ SetLowerLimit() [2/2]

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

Definition at line 394 of file MnUserTransformation.cxx.

◆ SetName()

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

Definition at line 408 of file MnUserTransformation.cxx.

◆ SetPrecision()

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

Definition at line 122 of file MnUserTransformation.h.

◆ SetUpperLimit() [1/2]

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

Definition at line 461 of file MnUserTransformation.cxx.

◆ SetUpperLimit() [2/2]

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

Definition at line 387 of file MnUserTransformation.cxx.

◆ SetValue() [1/2]

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

Definition at line 443 of file MnUserTransformation.cxx.

◆ SetValue() [2/2]

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

Definition at line 364 of file MnUserTransformation.cxx.

◆ Value() [1/2]

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

Definition at line 479 of file MnUserTransformation.cxx.

◆ Value() [2/2]

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

Definition at line 415 of file MnUserTransformation.cxx.

◆ VariableParameters()

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

Definition at line 114 of file MnUserTransformation.h.

Member Data Documentation

◆ fCache

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

Definition at line 186 of file MnUserTransformation.h.

◆ fDoubleLimTrafo

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

Definition at line 182 of file MnUserTransformation.h.

◆ fExtOfInt

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

Definition at line 180 of file MnUserTransformation.h.

◆ fLowerLimTrafo

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

Definition at line 184 of file MnUserTransformation.h.

◆ fParameters

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

Definition at line 179 of file MnUserTransformation.h.

◆ fPrecision

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

Definition at line 177 of file MnUserTransformation.h.

◆ fUpperLimTrafo

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

Definition at line 183 of file MnUserTransformation.h.

Libraries for ROOT::Minuit2::MnUserTransformation:

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