[root] / trunk / math / mathcore / inc / Fit / MinimizerControlParams.h Repository:
ViewVC logotype

Diff of /trunk/math/mathcore/inc/Fit/MinimizerControlParams.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 25485, Mon Sep 22 07:52:52 2008 UTC revision 25486, Mon Sep 22 12:43:03 2008 UTC
# Line 36  Line 36 
36        fMaxCalls(0),  // 0 means leave to the minimizer to decide        fMaxCalls(0),  // 0 means leave to the minimizer to decide
37        fMaxIter(0),        fMaxIter(0),
38        fTol(0.001),        fTol(0.001),
39        fStrategy(1),        fErrorDef(1.),
40        fParabErrors(false), // ensure that in any case correct parabolic errors are estimated        fStrategy(1)
       fMinosErrors(false)    // do full Minos error analysis for all parameters  
41     {}     {}
42    
43     /**     /**
# Line 60  Line 59 
59     /// absolute tolerance     /// absolute tolerance
60     double Tolerance() const { return  fTol; }     double Tolerance() const { return  fTol; }
61    
62       /// error definition
63       double ErrorDef() const { return  fErrorDef; }
64    
65     /// strategy     /// strategy
66     int Strategy() const { return fStrategy; }     int Strategy() const { return fStrategy; }
67    
    ///do analysis for parabolic errors  
    bool ParabErrors() const { return fParabErrors; }  
   
    ///do minos errros analysis  
    bool MinosErrors() const { return fMinosErrors; }  
   
68     /// set print level     /// set print level
69     void SetPrintLevel(int level) { fDebug = level; }     void SetPrintLevel(int level) { fDebug = level; }
70    
# Line 84  Line 80 
80     /// set the strategy     /// set the strategy
81     void SetStrategy(int stra) { fStrategy = stra; }     void SetStrategy(int stra) { fStrategy = stra; }
82    
83     ///set parabolic erros     /// set error def
84     void SetParabErrors(bool on) { fParabErrors = on; }     void SetErrorDef(double err) { fErrorDef = err; }
   
    ///set Minos erros  
    void SetMinosErrors(bool on) { fMinosErrors = on; }  
85    
86    
87  private:  private:
# Line 97  Line 90 
90     unsigned int fMaxCalls;     unsigned int fMaxCalls;
91     unsigned int fMaxIter;     unsigned int fMaxIter;
92     double fTol;     double fTol;
93       double fErrorDef;
94     int fStrategy;     int fStrategy;
    bool fParabErrors;  
    bool fMinosErrors;  
95    
96    
97  };  };

Legend:
Removed from v.25485  
changed lines
  Added in v.25486

Subversion Admin
ViewVC Help
Powered by ViewVC 1.0.9