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

API class for minimization using a scan method to find the minimum; allows for user interaction: set/change parameters, do minimization, change parameters, re-do minimization etc.;.

Definition at line 33 of file MnScan.h.

Public Member Functions

 MnScan (const FCNBase &fcn, const MnUserParameterState &par, const MnStrategy &str=MnStrategy{})
 construct from FCNBase + MnUserParameterState + MnStrategy
 
 MnScan (const MnScan &migr)
 
const ModularFunctionMinimizerMinimizer () const override
 
ModularFunctionMinimizerMinimizer () override
 
std::vector< std::pair< double, double > > Scan (unsigned int par, unsigned int maxsteps=41, double low=0., double high=0.)
 
- Public Member Functions inherited from ROOT::Minuit2::MnApplication
 MnApplication (const FCNBase &fcn, const MnUserParameterState &state, const MnStrategy &stra, unsigned int nfcn=0)
 constructor from non-gradient functions
 
virtual ~MnApplication ()
 
void Add (const char *, double)
 
void Add (const char *Name, double val, double err)
 
void Add (const char *Name, double val, double err, double, double)
 
const MnUserCovarianceCovariance () const
 
double Error (const char *) const
 
double Error (unsigned int) const
 
std::vector< doubleErrors () const
 
double Ext2int (unsigned int, double) const
 
unsigned int ExtOfInt (unsigned int) const
 
virtual const FCNBaseFcnbase () const
 
void Fix (const char *)
 
void Fix (unsigned int)
 
unsigned int Index (const char *) const
 
double Int2ext (unsigned int, double) const
 
unsigned int IntOfExt (unsigned int) const
 
const std::vector< ROOT::Minuit2::MinuitParameter > & MinuitParameters () const
 
const char * Name (unsigned int) const
 
unsigned int NumOfCalls () const
 
virtual FunctionMinimum operator() (unsigned int maxfcn=0, double tolerance=0.1)
 Minimize the function.
 
const MinuitParameterParameter (unsigned int i) const
 
const MnUserParametersParameters () const
 
std::vector< doubleParams () const
 
const MnMachinePrecisionPrecision () const
 
void Release (const char *)
 
void Release (unsigned int)
 
void RemoveLimits (const char *)
 
void RemoveLimits (unsigned int)
 
void SetError (const char *, double)
 
void SetError (unsigned int, double)
 
void SetLimits (const char *, double, double)
 
void SetLimits (unsigned int, double, double)
 
void SetPrecision (double)
 
void SetValue (const char *, double)
 
void SetValue (unsigned int, double)
 
const MnUserParameterStateState () const
 
const MnStrategyStrategy () const
 
double Value (const char *) const
 
double Value (unsigned int) const
 
unsigned int VariableParameters () const
 

Private Member Functions

MnScanoperator= (const MnScan &)
 forbidden assignment (const FCNBase& = )
 

Private Attributes

ScanMinimizer fMinimizer
 

Additional Inherited Members

- Protected Attributes inherited from ROOT::Minuit2::MnApplication
const FCNBasefFCN
 
unsigned int fNumCall
 
MnUserParameterState fState
 
MnStrategy fStrategy
 

#include <Minuit2/MnScan.h>

Inheritance diagram for ROOT::Minuit2::MnScan:
[legend]

Constructor & Destructor Documentation

◆ MnScan() [1/2]

ROOT::Minuit2::MnScan::MnScan ( const FCNBase fcn,
const MnUserParameterState par,
const MnStrategy str = MnStrategy{} 
)
inline

construct from FCNBase + MnUserParameterState + MnStrategy

Definition at line 37 of file MnScan.h.

◆ MnScan() [2/2]

ROOT::Minuit2::MnScan::MnScan ( const MnScan migr)
inline

Definition at line 42 of file MnScan.h.

Member Function Documentation

◆ Minimizer() [1/2]

const ModularFunctionMinimizer & ROOT::Minuit2::MnScan::Minimizer ( ) const
inlineoverridevirtual

Implements ROOT::Minuit2::MnApplication.

Definition at line 48 of file MnScan.h.

◆ Minimizer() [2/2]

ModularFunctionMinimizer & ROOT::Minuit2::MnScan::Minimizer ( )
inlineoverridevirtual

Implements ROOT::Minuit2::MnApplication.

Definition at line 47 of file MnScan.h.

◆ operator=()

MnScan & ROOT::Minuit2::MnScan::operator= ( const MnScan )
inlineprivate

forbidden assignment (const FCNBase& = )

Definition at line 57 of file MnScan.h.

◆ Scan()

std::vector< std::pair< double, double > > ROOT::Minuit2::MnScan::Scan ( unsigned int  par,
unsigned int  maxsteps = 41,
double  low = 0.,
double  high = 0. 
)

Definition at line 17 of file MnScan.cxx.

Member Data Documentation

◆ fMinimizer

ScanMinimizer ROOT::Minuit2::MnScan::fMinimizer
private

Definition at line 54 of file MnScan.h.

Libraries for ROOT::Minuit2::MnScan:

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