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 
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
ROOT::Minuit2::MnStrategy::SetHessianG2Tolerance
void SetHessianG2Tolerance(double toler)
Definition: MnStrategy.h:66
ROOT::Minuit2::MnStrategy::SetLowStrategy
void SetLowStrategy()
Definition: MnStrategy.cxx:31
ROOT::Minuit2::MnStrategy::MnStrategy
MnStrategy()
Definition: MnStrategy.cxx:18
MnStrategy.h
ROOT::Minuit2::MnStrategy::SetHessianGradientNCycles
void SetHessianGradientNCycles(unsigned int n)
Definition: MnStrategy.h:67
ROOT::Minuit2::MnStrategy::SetGradientStepTolerance
void SetGradientStepTolerance(double stp)
Definition: MnStrategy.h:61
ROOT::Minuit2::MnStrategy::SetHessianStepTolerance
void SetHessianStepTolerance(double stp)
Definition: MnStrategy.h:65
ROOT::Minuit2::MnStrategy::SetGradientTolerance
void SetGradientTolerance(double toler)
Definition: MnStrategy.h:62
ROOT::Minuit2::MnStrategy::fStrategy
unsigned int fStrategy
Definition: MnStrategy.h:74
ROOT::Minuit2::MnStrategy::SetHighStrategy
void SetHighStrategy()
Definition: MnStrategy.cxx:55
ROOT::Minuit2::MnStrategy::SetHessianNCycles
void SetHessianNCycles(unsigned int n)
Definition: MnStrategy.h:64
ROOT
VSD Structures.
Definition: StringConv.hxx:21
ROOT::Minuit2::MnStrategy::SetMediumStrategy
void SetMediumStrategy()
Definition: MnStrategy.cxx:43
ROOT::Minuit2::MnStrategy::SetGradientNCycles
void SetGradientNCycles(unsigned int n)
Definition: MnStrategy.h:60