org.freehep.math.minuit
Class MnContours

java.lang.Object
  extended by org.freehep.math.minuit.MnContours

public class MnContours
extends Object

API class for Contours error analysis (2-dim errors). Minimization has to be done before and minimum must be valid. Possibility to ask only for the points or the points and associated Minos errors.

Version:
$Id: MnContours.java 8584 2006-08-10 23:06:37Z duns $

Constructor Summary
MnContours(FCNBase fcn, FunctionMinimum min)
          construct from FCN + minimum
MnContours(FCNBase fcn, FunctionMinimum min, int stra)
          construct from FCN + minimum + strategy
MnContours(FCNBase fcn, FunctionMinimum min, MnStrategy stra)
          construct from FCN + minimum + strategy
 
Method Summary
 ContoursError contour(int px, int py)
           
 ContoursError contour(int px, int py, double errDef)
           
 ContoursError contour(int px, int py, double errDef, int npoints)
          Causes a CONTOURS error analysis and returns the result in form of ContoursError.
 List<Point> points(int px, int py)
           
 List<Point> points(int px, int py, double errDef)
           
 List<Point> points(int px, int py, double errDef, int npoints)
          Calculates one function contour of FCN with respect to parameters parx and pary.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MnContours

public MnContours(FCNBase fcn,
                  FunctionMinimum min)
construct from FCN + minimum


MnContours

public MnContours(FCNBase fcn,
                  FunctionMinimum min,
                  int stra)
construct from FCN + minimum + strategy


MnContours

public MnContours(FCNBase fcn,
                  FunctionMinimum min,
                  MnStrategy stra)
construct from FCN + minimum + strategy

Method Detail

points

public List<Point> points(int px,
                          int py)

points

public List<Point> points(int px,
                          int py,
                          double errDef)

points

public List<Point> points(int px,
                          int py,
                          double errDef,
                          int npoints)
Calculates one function contour of FCN with respect to parameters parx and pary. The return value is a list of (x,y) points. FCN minimized always with respect to all other n - 2 variable parameters (if any). MINUIT will try to find n points on the contour (default 20). To calculate more than one contour, the user needs to set the error definition in its FCN to the appropriate value for the desired confidence level and call this method for each contour.


contour

public ContoursError contour(int px,
                             int py)

contour

public ContoursError contour(int px,
                             int py,
                             double errDef)

contour

public ContoursError contour(int px,
                             int py,
                             double errDef,
                             int npoints)
Causes a CONTOURS error analysis and returns the result in form of ContoursError. As a by-product ContoursError keeps the MinosError information of parameters parx and pary. The result ContoursError can be easily printed using MnPrint or toString().



Copyright © 2000-2006 FreeHEP. All Rights Reserved.