Logo ROOT  
Reference Guide
MnStrategy.cxx
Go to the documentation of this file.
1 // @(#)root/minuit2:$Id$
2 // Authors: M. Winkler, F. James, L. Moneta, A. Zsenei 2003-2005
3 
4 /**********************************************************************
5  * *
6  * Copyright (c) 2005 LCG ROOT Math team, CERN/PH-SFT *
7  * *
8  **********************************************************************/
9 
10 #include "Minuit2/MnStrategy.h"
11 
12 namespace ROOT {
13 
14 namespace Minuit2 {
15 
16 MnStrategy::MnStrategy() : fStoreLevel(1)
17 {
18  // default strategy
20 }
21 
22 MnStrategy::MnStrategy(unsigned int stra) : fStoreLevel(1)
23 {
24  // user defined strategy (0, 1, >=2)
25  if (stra == 0)
27  else if (stra == 1)
29  else
31 }
32 
34 {
35  // set low strategy (0) values
36  fStrategy = 0;
44 }
45 
47 {
48  // set minimum strategy (1) the default
49  fStrategy = 1;
57 }
58 
60 {
61  // set high strategy (2)
62  fStrategy = 2;
70 }
71 
72 } // namespace Minuit2
73 
74 } // namespace ROOT
ROOT::Minuit2::MnStrategy::SetHessianG2Tolerance
void SetHessianG2Tolerance(double toler)
Definition: MnStrategy.h:65
ROOT::Minuit2::MnStrategy::SetLowStrategy
void SetLowStrategy()
Definition: MnStrategy.cxx:33
ROOT::Minuit2::MnStrategy::MnStrategy
MnStrategy()
Definition: MnStrategy.cxx:16
MnStrategy.h
ROOT::Minuit2::MnStrategy::SetHessianGradientNCycles
void SetHessianGradientNCycles(unsigned int n)
Definition: MnStrategy.h:66
ROOT::Minuit2::MnStrategy::SetGradientStepTolerance
void SetGradientStepTolerance(double stp)
Definition: MnStrategy.h:60
ROOT::Minuit2::MnStrategy::SetHessianStepTolerance
void SetHessianStepTolerance(double stp)
Definition: MnStrategy.h:64
ROOT::Minuit2::MnStrategy::SetGradientTolerance
void SetGradientTolerance(double toler)
Definition: MnStrategy.h:61
ROOT::Minuit2::MnStrategy::fStrategy
unsigned int fStrategy
Definition: MnStrategy.h:73
ROOT::Minuit2::MnStrategy::SetHighStrategy
void SetHighStrategy()
Definition: MnStrategy.cxx:59
ROOT::Minuit2::MnStrategy::SetHessianNCycles
void SetHessianNCycles(unsigned int n)
Definition: MnStrategy.h:63
ROOT
tbb::task_arena is an alias of tbb::interface7::task_arena, which doesn't allow to forward declare tb...
Definition: EExecutionPolicy.hxx:4
ROOT::Minuit2::MnStrategy::SetMediumStrategy
void SetMediumStrategy()
Definition: MnStrategy.cxx:46
ROOT::Minuit2::MnStrategy::SetGradientNCycles
void SetGradientNCycles(unsigned int n)
Definition: MnStrategy.h:59