[root] / trunk / math / mathcore / inc / Math / Minimizer.h Repository:
ViewVC logotype

Diff of /trunk/math/mathcore/inc/Math/Minimizer.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 85  Line 85 
85        fDebug(3),        fDebug(3),
86  #endif  #endif
87        fStrategy(1),        fStrategy(1),
88          fStatus(-1),
89        fMaxCalls(0),        fMaxCalls(0),
90        fMaxIter(0),        fMaxIter(0),
91        fTol(1.E-6),        fTol(1.E-6),
# Line 230  Line 231 
231        return ( tmp < 0) ? 0 : CovMatrix(i,j) / std::sqrt( tmp );        return ( tmp < 0) ? 0 : CovMatrix(i,j) / std::sqrt( tmp );
232     }     }
233    
234       /**
235          return global correlation coefficient for variable i
236          This is a number between zero and one which gives
237          the correlation between the i-th parameter  and that linear combination of all
238          other parameters which is most strongly correlated with i.
239          Minimizer must overload method if implemented
240        */
241       virtual double GlobalCC(unsigned int ) const { return -1; }
242    
243     /// minos error for variable i, return false if Minos failed or not supported     /// minos error for variable i, return false if Minos failed or not supported
244     virtual bool GetMinosError(unsigned int /* i */, double & errLow, double & errUp) {     virtual bool GetMinosError(unsigned int /* i */, double & errLow, double & errUp) {
# Line 258  Line 267 
267     /// strategy     /// strategy
268     int Strategy() const { return fStrategy; }     int Strategy() const { return fStrategy; }
269    
270       /// status code of minimizer
271       int Status() const { return fStatus; }
272    
273     /// return the statistical scale used for calculate the error     /// return the statistical scale used for calculate the error
274     /// is typically 1 for Chi2 minimizetion and 0.5 for likelihood's     /// is typically 1 for Chi2 and 0.5 for likelihood minimization
275     double ErrorUp() const { return fUp; }     double ErrorUp() const { return fUp; }
276    
277     ///return true if Minimizer has performed a detailed error validation (e.g. run Hesse for Minuit)     ///return true if Minimizer has performed a detailed error validation (e.g. run Hesse for Minuit)
# Line 301  Line 313 
313     bool fValidError;            // flag to control if errors have been validated (Hesse has been run in case of Minuit)     bool fValidError;            // flag to control if errors have been validated (Hesse has been run in case of Minuit)
314     int fDebug;                  // print level     int fDebug;                  // print level
315     int fStrategy;               // minimizer strategy     int fStrategy;               // minimizer strategy
316       int fStatus;                 // status of minimizer
317     unsigned int fMaxCalls;      // max number of funciton calls     unsigned int fMaxCalls;      // max number of funciton calls
318     unsigned int fMaxIter;       // max number or iterations used to find the minimum     unsigned int fMaxIter;       // max number or iterations used to find the minimum
319     double fTol;                 // tolerance (absolute)     double fTol;                 // tolerance (absolute)

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

Subversion Admin
ViewVC Help
Powered by ViewVC 1.0.9