FreeHEP API
Version current

hep.aida.ref.fitter
Class FitResult

java.lang.Object
  extended byhep.aida.ref.fitter.FitResult
All Implemented Interfaces:
hep.aida.dev.IDevFitResult, hep.aida.IFitResult

public class FitResult
extends Object
implements hep.aida.dev.IDevFitResult

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

Constructor Summary
FitResult(int dim)
           
FitResult(int dim, double seconds)
           
 
Method Summary
 String[] constraints()
           
 double covMatrixElement(int i, int j)
           
 String dataDescription()
           
 String engineName()
           
 double[] errors()
           
 double[] errorsMinus()
           
 double[] errorsPlus()
           
 String fitMethodName()
           
 hep.aida.IFitParameterSettings fitParameterSettings(String parName)
           
 int fitStatus()
           
 hep.aida.IFunction fittedFunction()
           
 double fittedParameter(String name)
           
 String[] fittedParameterNames()
           
 double[] fittedParameters()
           
 boolean isValid()
           
 int ndf()
           
 void printResult()
           
 double quality()
           
 void setConstraints(String[] constraints)
           
 void setCovMatrixElement(int xCol, int yCol, double covEl)
           
 void setDataDescription(String dataDescription)
           
 void setEngineName(String engineName)
           
 void setFitMethodName(String fitMethod)
           
 void setFitParameterSettings(String parName, hep.aida.IFitParameterSettings parSetting)
           
 void setFitStatus(int fitStatus)
           
 void setFittedFunction(hep.aida.IFunction function)
           
 void setIsValid(boolean isValid)
           
 void setNdf(int nDof)
           
 void setQuality(double quality)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FitResult

public FitResult(int dim)

FitResult

public FitResult(int dim,
                 double seconds)
Method Detail

constraints

public String[] constraints()
Specified by:
constraints in interface hep.aida.IFitResult

covMatrixElement

public double covMatrixElement(int i,
                               int j)
Specified by:
covMatrixElement in interface hep.aida.IFitResult

dataDescription

public String dataDescription()
Specified by:
dataDescription in interface hep.aida.IFitResult

engineName

public String engineName()
Specified by:
engineName in interface hep.aida.IFitResult

fitMethodName

public String fitMethodName()
Specified by:
fitMethodName in interface hep.aida.IFitResult

fitParameterSettings

public hep.aida.IFitParameterSettings fitParameterSettings(String parName)
Specified by:
fitParameterSettings in interface hep.aida.IFitResult

fitStatus

public int fitStatus()
Specified by:
fitStatus in interface hep.aida.IFitResult

fittedFunction

public hep.aida.IFunction fittedFunction()
Specified by:
fittedFunction in interface hep.aida.IFitResult

isValid

public boolean isValid()
Specified by:
isValid in interface hep.aida.IFitResult

ndf

public int ndf()
Specified by:
ndf in interface hep.aida.IFitResult

quality

public double quality()
Specified by:
quality in interface hep.aida.IFitResult

setConstraints

public void setConstraints(String[] constraints)
Specified by:
setConstraints in interface hep.aida.dev.IDevFitResult

setCovMatrixElement

public void setCovMatrixElement(int xCol,
                                int yCol,
                                double covEl)
Specified by:
setCovMatrixElement in interface hep.aida.dev.IDevFitResult

setDataDescription

public void setDataDescription(String dataDescription)
Specified by:
setDataDescription in interface hep.aida.dev.IDevFitResult

setEngineName

public void setEngineName(String engineName)
Specified by:
setEngineName in interface hep.aida.dev.IDevFitResult

setFitMethodName

public void setFitMethodName(String fitMethod)
Specified by:
setFitMethodName in interface hep.aida.dev.IDevFitResult

setFitParameterSettings

public void setFitParameterSettings(String parName,
                                    hep.aida.IFitParameterSettings parSetting)
Specified by:
setFitParameterSettings in interface hep.aida.dev.IDevFitResult

setFitStatus

public void setFitStatus(int fitStatus)
Specified by:
setFitStatus in interface hep.aida.dev.IDevFitResult

setFittedFunction

public void setFittedFunction(hep.aida.IFunction function)
Specified by:
setFittedFunction in interface hep.aida.dev.IDevFitResult

setIsValid

public void setIsValid(boolean isValid)
Specified by:
setIsValid in interface hep.aida.dev.IDevFitResult

setNdf

public void setNdf(int nDof)
Specified by:
setNdf in interface hep.aida.dev.IDevFitResult

setQuality

public void setQuality(double quality)
Specified by:
setQuality in interface hep.aida.dev.IDevFitResult

fittedParameters

public double[] fittedParameters()
Specified by:
fittedParameters in interface hep.aida.IFitResult

fittedParameterNames

public String[] fittedParameterNames()
Specified by:
fittedParameterNames in interface hep.aida.IFitResult

fittedParameter

public double fittedParameter(String name)
Specified by:
fittedParameter in interface hep.aida.IFitResult

errors

public double[] errors()
Specified by:
errors in interface hep.aida.IFitResult

errorsPlus

public double[] errorsPlus()
Specified by:
errorsPlus in interface hep.aida.IFitResult

errorsMinus

public double[] errorsMinus()
Specified by:
errorsMinus in interface hep.aida.IFitResult

printResult

public void printResult()

FreeHEP API
Version current

Copyright © 2000-2004 FreeHEP, All Rights Reserved.