Logo ROOT   6.08/07
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 
17 
18  MnStrategy::MnStrategy() : fStoreLevel(1) {
19  //default strategy
21 }
22 
23 
24  MnStrategy::MnStrategy(unsigned int stra) : fStoreLevel(1) {
25  //user defined strategy (0, 1, >=2)
26  if(stra == 0) SetLowStrategy();
27  else if(stra == 1) SetMediumStrategy();
28  else SetHighStrategy();
29 }
30 
32  // set low strategy (0) values
33  fStrategy = 0;
41 }
42 
44  // set minimum strategy (1) the default
45  fStrategy = 1;
53 }
54 
56  // set high strategy (2)
57  fStrategy = 2;
65 }
66 
67  } // namespace Minuit2
68 
69 } // namespace ROOT
void SetHessianG2Tolerance(double toler)
Definition: MnStrategy.h:66
This namespace contains pre-defined functions to be used in conjuction with TExecutor::Map and TExecu...
Definition: StringConv.hxx:21
void SetHessianNCycles(unsigned int n)
Definition: MnStrategy.h:64
void SetHessianGradientNCycles(unsigned int n)
Definition: MnStrategy.h:67
void SetGradientStepTolerance(double stp)
Definition: MnStrategy.h:61
void SetHessianStepTolerance(double stp)
Definition: MnStrategy.h:65
void SetGradientTolerance(double toler)
Definition: MnStrategy.h:62
unsigned int fStrategy
Definition: MnStrategy.h:74
void SetGradientNCycles(unsigned int n)
Definition: MnStrategy.h:60