Logo ROOT   6.10/09
Reference Guide
List of all members | Public Member Functions | Private Member Functions | Private Attributes | List of all members
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 31 of file MnScan.h.

Public Member Functions

 MnScan (const FCNBase &fcn, const std::vector< double > &par, const std::vector< double > &err, unsigned int stra=1)
 construct from FCNBase + std::vector for parameters and errors More...
 
 MnScan (const FCNBase &fcn, const std::vector< double > &par, unsigned int nrow, const std::vector< double > &cov, unsigned int stra=1)
 construct from FCNBase + std::vector for parameters and covariance More...
 
 MnScan (const FCNBase &fcn, const std::vector< double > &par, const MnUserCovariance &cov, unsigned int stra=1)
 construct from FCNBase + std::vector for parameters and MnUserCovariance More...
 
 MnScan (const FCNBase &fcn, const MnUserParameters &par, unsigned int stra=1)
 construct from FCNBase + MnUserParameters More...
 
 MnScan (const FCNBase &fcn, const MnUserParameters &par, const MnUserCovariance &cov, unsigned int stra=1)
 construct from FCNBase + MnUserParameters + MnUserCovariance More...
 
 MnScan (const FCNBase &fcn, const MnUserParameterState &par, const MnStrategy &str)
 construct from FCNBase + MnUserParameterState + MnStrategy More...
 
 MnScan (const MnScan &migr)
 
 ~MnScan ()
 
const ModularFunctionMinimizerMinimizer () const
 
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 More...
 
 MnApplication (const FCNGradientBase &fcn, const MnUserParameterState &state, const MnStrategy &stra, unsigned int nfcn=0)
 constructor from gradient function More...
 
virtual ~MnApplication ()
 
void Add (const char *Name, double val, double err)
 
void Add (const char *Name, double val, double err, double, double)
 
void Add (const char *, double)
 
const MnUserCovarianceCovariance () const
 
double Error (unsigned int) const
 
double Error (const char *) const
 
std::vector< double > Errors () const
 
double Ext2int (unsigned int, double) const
 
unsigned int ExtOfInt (unsigned int) const
 
virtual const FCNBaseFcnbase () const
 
void Fix (unsigned int)
 
void Fix (const char *)
 
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. More...
 
const MinuitParameterParameter (unsigned int i) const
 
const MnUserParametersParameters () const
 
std::vector< double > Params () const
 
const MnMachinePrecisionPrecision () const
 
void Release (unsigned int)
 
void Release (const char *)
 
void RemoveLimits (unsigned int)
 
void RemoveLimits (const char *)
 
void SetError (unsigned int, double)
 
void SetError (const char *, double)
 
void SetLimits (unsigned int, double, double)
 
void SetLimits (const char *, double, double)
 
void SetPrecision (double)
 
void SetValue (unsigned int, double)
 
void SetValue (const char *, double)
 
const MnUserParameterStateState () const
 
const MnStrategyStrategy () const
 
double Value (unsigned int) const
 
double Value (const char *) const
 
unsigned int VariableParameters () const
 

Private Member Functions

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

Private Attributes

ScanMinimizer fMinimizer
 

Additional Inherited Members

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

#include <Minuit2/MnScan.h>

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

Constructor & Destructor Documentation

◆ MnScan() [1/7]

ROOT::Minuit2::MnScan::MnScan ( const FCNBase fcn,
const std::vector< double > &  par,
const std::vector< double > &  err,
unsigned int  stra = 1 
)
inline

construct from FCNBase + std::vector for parameters and errors

Definition at line 36 of file MnScan.h.

◆ MnScan() [2/7]

ROOT::Minuit2::MnScan::MnScan ( const FCNBase fcn,
const std::vector< double > &  par,
unsigned int  nrow,
const std::vector< double > &  cov,
unsigned int  stra = 1 
)
inline

construct from FCNBase + std::vector for parameters and covariance

Definition at line 39 of file MnScan.h.

◆ MnScan() [3/7]

ROOT::Minuit2::MnScan::MnScan ( const FCNBase fcn,
const std::vector< double > &  par,
const MnUserCovariance cov,
unsigned int  stra = 1 
)
inline

construct from FCNBase + std::vector for parameters and MnUserCovariance

Definition at line 42 of file MnScan.h.

◆ MnScan() [4/7]

ROOT::Minuit2::MnScan::MnScan ( const FCNBase fcn,
const MnUserParameters par,
unsigned int  stra = 1 
)
inline

construct from FCNBase + MnUserParameters

Definition at line 45 of file MnScan.h.

◆ MnScan() [5/7]

ROOT::Minuit2::MnScan::MnScan ( const FCNBase fcn,
const MnUserParameters par,
const MnUserCovariance cov,
unsigned int  stra = 1 
)
inline

construct from FCNBase + MnUserParameters + MnUserCovariance

Definition at line 48 of file MnScan.h.

◆ MnScan() [6/7]

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

construct from FCNBase + MnUserParameterState + MnStrategy

Definition at line 51 of file MnScan.h.

◆ MnScan() [7/7]

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

Definition at line 53 of file MnScan.h.

◆ ~MnScan()

ROOT::Minuit2::MnScan::~MnScan ( )
inline

Definition at line 55 of file MnScan.h.

Member Function Documentation

◆ Minimizer()

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

Implements ROOT::Minuit2::MnApplication.

Definition at line 57 of file MnScan.h.

◆ operator=()

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

forbidden assignment (const FCNBase& = )

Definition at line 68 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 18 of file MnScan.cxx.

Member Data Documentation

◆ fMinimizer

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

Definition at line 63 of file MnScan.h.


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