FreeHEP API
Version current

hep.aida.ref.fitter.fitMethod
Class ChiSquaredFitMethod

java.lang.Object
  extended byhep.aida.ref.fitter.fitMethod.AbstractFitMethod
      extended byhep.aida.ref.fitter.fitMethod.ChiSquaredFitMethod
All Implemented Interfaces:
IFitMethod

public class ChiSquaredFitMethod
extends AbstractFitMethod

Author:
The AIDA team @ SLAC.
Source Code:
ChiSquaredFitMethod.java

Field Summary
 
Fields inherited from interface hep.aida.ext.IFitMethod
BINNED_FIT, UNBINNED_FIT
 
Constructor Summary
ChiSquaredFitMethod()
           
 
Method Summary
 double evaluate(hep.aida.dev.IDevFitDataIterator dataIter, hep.aida.IFunction function)
          Evaluate the Objective Function for a given data iterator and a given function.
 double[] evaluateGradient(int dimension, hep.aida.dev.IDevFitDataIterator dataIter, hep.aida.IFunction function)
          Evaluate the gradient of the Objective Function.
 double[] evaluateGradientSumElement(hep.aida.dev.IDevFitDataIterator dataIter, hep.aida.IFunction function)
          Evaluate the the sum contribution to the Objective Function gradient.
 double evaluateSumElement(hep.aida.dev.IDevFitDataIterator dataIter, hep.aida.IFunction function)
          Evaluate the the sum contribution to the Objective Function value.
 
Methods inherited from class hep.aida.ref.fitter.fitMethod.AbstractFitMethod
clear, correlationObject, fitMethodNames, fitType, setCorrelationObject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChiSquaredFitMethod

public ChiSquaredFitMethod()
Method Detail

evaluate

public double evaluate(hep.aida.dev.IDevFitDataIterator dataIter,
                       hep.aida.IFunction function)
Description copied from interface: IFitMethod
Evaluate the Objective Function for a given data iterator and a given function.

Specified by:
evaluate in interface IFitMethod
Overrides:
evaluate in class AbstractFitMethod

evaluateSumElement

public double evaluateSumElement(hep.aida.dev.IDevFitDataIterator dataIter,
                                 hep.aida.IFunction function)
Description copied from interface: IFitMethod
Evaluate the the sum contribution to the Objective Function value.


evaluateGradientSumElement

public double[] evaluateGradientSumElement(hep.aida.dev.IDevFitDataIterator dataIter,
                                           hep.aida.IFunction function)
Description copied from interface: IFitMethod
Evaluate the the sum contribution to the Objective Function gradient.


evaluateGradient

public double[] evaluateGradient(int dimension,
                                 hep.aida.dev.IDevFitDataIterator dataIter,
                                 hep.aida.IFunction function)
Description copied from interface: IFitMethod
Evaluate the gradient of the Objective Function.

Specified by:
evaluateGradient in interface IFitMethod
Overrides:
evaluateGradient in class AbstractFitMethod

FreeHEP API
Version current

Copyright © 2000-2004 FreeHEP, All Rights Reserved.