FreeHEP API
Version v1.2.2

hep.aida.ref.optimizer.minuit
Class MinuitOptimizer

java.lang.Object
  |
  +--hep.aida.ref.optimizer.AbstractOptimizer
        |
        +--hep.aida.ref.optimizer.minuit.MinuitOptimizer
All Implemented Interfaces:
IOptimizer

public class MinuitOptimizer
extends AbstractOptimizer

Minuit implementation of IOptimizer

Author:
Tony Johnson, Victor Serbo, Max Turri

Field Summary
 
Fields inherited from class hep.aida.ref.optimizer.AbstractOptimizer
configuration, domainConstraint, function, result
 
Constructor Summary
MinuitOptimizer()
          Creates a new instance of MinuitOptimizer
 
Method Summary
 double[][] calculateContour(String parName1, String parName2, int nPoints, double nSigmas)
           
protected  MinuitCommands commands()
           
 void minosAnalysis()
           
 void optimize()
          Perform the optimization.
 void reset()
          Reset the function, the domain of constraints and the internal configuration.
 void setFunction(hep.aida.IFunction function)
          Set the IFunction to be optimized.
 
Methods inherited from class hep.aida.ref.optimizer.AbstractOptimizer
configuration, listVariableSettings, resetVariableSettings, result, setConfiguration, setConstraints, variableSettings
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MinuitOptimizer

public MinuitOptimizer()
Creates a new instance of MinuitOptimizer

Method Detail

optimize

public void optimize()
Perform the optimization.

Specified by:
optimize in interface IOptimizer
Specified by:
optimize in class AbstractOptimizer
Returns:
true if the optimization was successfull, false otherwise.

minosAnalysis

public void minosAnalysis()

setFunction

public void setFunction(hep.aida.IFunction function)
Description copied from class: AbstractOptimizer
Set the IFunction to be optimized. When setting a function the current configuration is reset.

Specified by:
setFunction in interface IOptimizer
Overrides:
setFunction in class AbstractOptimizer
Returns:
true if the IFunction is set succesfully, false otherwise.

commands

protected MinuitCommands commands()

calculateContour

public double[][] calculateContour(String parName1,
                                   String parName2,
                                   int nPoints,
                                   double nSigmas)

reset

public void reset()
Description copied from class: AbstractOptimizer
Reset the function, the domain of constraints and the internal configuration.

Specified by:
reset in interface IOptimizer
Overrides:
reset in class AbstractOptimizer

FreeHEP API
Version v1.2.2

Copyright © 2000-2003 FreeHEP, All Rights Reserved.