Heavy ion Analysis Libriares
Loading...
Searching...
No Matches
Hal::Minimizer Class Reference
Inheritance diagram for Hal::Minimizer:

Public Member Functions

void SetNDF (Double_t ndf)
 
void SetTrace (Bool_t trace)
 
void UseDiscreteFit ()
 
void DisableDiscreteFit ()
 
virtual bool SetVariable (unsigned int, const std::string &, double, double)
 
virtual bool SetParLimits (unsigned int ivar, double min, double max)
 
virtual bool SetFixedVariable (unsigned int ivar, const std::string &name, double val)
 
virtual bool SetLimitedVariable (unsigned int ivar, const std::string &name, double val, double points, double lower, double upper)
 
virtual bool SetVariableLimits (unsigned int ivar, double lower, double upper)
 
virtual bool Minimize ()
 
virtual void Reset ()
 
virtual void SetParamConf (const MinimizerStepConf &conf, Bool_t overwrite)
 
virtual double MinValue () const
 
virtual const double * X () const
 
virtual const double * Errors () const
 
virtual double Edm () const
 
virtual const double * MinGradient () const
 
virtual unsigned int NCalls () const
 
virtual unsigned int NIterations () const
 
virtual unsigned int NDim () const
 
void SetFunction (const ROOT::Math::IMultiGenFunction &func)
 
void SetMinimizerType (TString opt)
 
FitParam GetParConf (Int_t idx) const
 

Static Public Member Functions

static MinimizerInstance ()
 

Protected Types

enum  eMinimizeType { kScan , kAnt }
 

Detailed Description

Definition at line 58 of file Minimizer.h.

Member Enumeration Documentation

◆ eMinimizeType

enum Hal::Minimizer::eMinimizeType
protected

Definition at line 61 of file Minimizer.h.

Constructor & Destructor Documentation

◆ Minimizer()

Hal::Minimizer::Minimizer ( )

Definition at line 25 of file Minimizer.cxx.

◆ ~Minimizer()

Hal::Minimizer::~Minimizer ( )
virtual

Definition at line 193 of file Minimizer.cxx.

Member Function Documentation

◆ DisableDiscreteFit()

void Hal::Minimizer::DisableDiscreteFit ( )
inline

improve fit by interpolation between grid points

Definition at line 111 of file Minimizer.h.

◆ Edm()

virtual double Hal::Minimizer::Edm ( ) const
inlinevirtual

Definition at line 156 of file Minimizer.h.

◆ Errors()

virtual const double * Hal::Minimizer::Errors ( ) const
inlinevirtual

Definition at line 155 of file Minimizer.h.

◆ GetParConf()

FitParam Hal::Minimizer::GetParConf ( Int_t idx) const
inline

Definition at line 163 of file Minimizer.h.

◆ Instance()

Minimizer * Hal::Minimizer::Instance ( )
static
Returns
instance

Definition at line 314 of file Minimizer.cxx.

◆ MinGradient()

virtual const double * Hal::Minimizer::MinGradient ( ) const
inlinevirtual

Definition at line 157 of file Minimizer.h.

◆ Minimize()

bool Hal::Minimizer::Minimize ( )
virtual

Definition at line 156 of file Minimizer.cxx.

◆ MinValue()

virtual double Hal::Minimizer::MinValue ( ) const
inlinevirtual

Definition at line 153 of file Minimizer.h.

◆ NCalls()

virtual unsigned int Hal::Minimizer::NCalls ( ) const
inlinevirtual

Definition at line 158 of file Minimizer.h.

◆ NDim()

virtual unsigned int Hal::Minimizer::NDim ( ) const
inlinevirtual

Definition at line 160 of file Minimizer.h.

◆ NIterations()

virtual unsigned int Hal::Minimizer::NIterations ( ) const
inlinevirtual

Definition at line 159 of file Minimizer.h.

◆ Reset()

void Hal::Minimizer::Reset ( )
virtual

Definition at line 150 of file Minimizer.cxx.

◆ SetFixedVariable()

bool Hal::Minimizer::SetFixedVariable ( unsigned int ivar,
const std::string & name,
double val )
virtual

set fixed variabble

Parameters
ivar
name
val
Returns

Definition at line 40 of file Minimizer.cxx.

◆ SetFunction()

void Hal::Minimizer::SetFunction ( const ROOT::Math::IMultiGenFunction & func)

Definition at line 187 of file Minimizer.cxx.

◆ SetLimitedVariable()

bool Hal::Minimizer::SetLimitedVariable ( unsigned int ivar,
const std::string & name,
double val,
double points,
double lower,
double upper )
virtual

set limited variable, to set number of steps call

See also
SetStepsNo
Parameters
ivarparameter number
nameparameter's name
valinitial value of parameter (not used)
points- number of points on map
lowerlower limite of value
upperupper limit of variable
Returns

Definition at line 61 of file Minimizer.cxx.

◆ SetMinimizerType()

void Hal::Minimizer::SetMinimizerType ( TString opt)

Definition at line 329 of file Minimizer.cxx.

◆ SetNDF()

void Hal::Minimizer::SetNDF ( Double_t ndf)
inline

Definition at line 102 of file Minimizer.h.

◆ SetParamConf()

void Hal::Minimizer::SetParamConf ( const MinimizerStepConf & conf,
Bool_t overwrite )
virtual

Definition at line 191 of file Minimizer.cxx.

◆ SetParLimits()

bool Hal::Minimizer::SetParLimits ( unsigned int ivar,
double min,
double max )
virtual

Definition at line 527 of file Minimizer.cxx.

◆ SetTrace()

void Hal::Minimizer::SetTrace ( Bool_t trace)
inline

Definition at line 103 of file Minimizer.h.

◆ SetVariable()

virtual bool Hal::Minimizer::SetVariable ( unsigned int ,
const std::string & ,
double ,
double  )
inlinevirtual

Definition at line 117 of file Minimizer.h.

◆ SetVariableLimits()

bool Hal::Minimizer::SetVariableLimits ( unsigned int ivar,
double lower,
double upper )
virtual

not used please use SetStepsNo

Parameters
ivar
lower
upper
Returns

Definition at line 48 of file Minimizer.cxx.

◆ UseDiscreteFit()

void Hal::Minimizer::UseDiscreteFit ( )
inline

use discrete fit

Definition at line 107 of file Minimizer.h.

◆ X()

const double * Hal::Minimizer::X ( ) const
virtual

Definition at line 182 of file Minimizer.cxx.


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