FreeHEP API
Version v1.2.2

hep.aida.ref.function
Class FlatDistributionModel

java.lang.Object
  |
  +--hep.aida.ref.function.FlatDistributionModel
All Implemented Interfaces:
hep.aida.IFunction, hep.aida.IModelFunction

public class FlatDistributionModel
extends Object
implements hep.aida.IModelFunction

Author:
turri

Constructor Summary
FlatDistributionModel()
          Creates a new instance of GaussianModel
 
Method Summary
 hep.aida.IAnnotation annotation()
           
 String codeletString()
           
 int dimension()
           
 void excludeNormalizationAll()
           
 void excludeNormalizationAll(int param)
           
 void excludeNormalizationRange(double param, double param1, int param2)
           
 double[] gradient(double[] values)
           
 void includeNormalizationAll()
           
 void includeNormalizationAll(int param)
           
 void includeNormalizationRange(double param, double param1, int param2)
           
 int indexOfParameter(String str)
           
 boolean isEqual(hep.aida.IFunction iFunction)
           
 boolean isNormalized()
           
 hep.aida.IRangeSet normalizationRange(int iAxis)
           
 void normalize(boolean normalize)
           
 int numberOfParameters()
           
 double parameter(String str)
           
 double[] parameterGradient(double[] values)
           
 String[] parameterNames()
           
 double[] parameters()
           
 boolean providesGradient()
           
 boolean providesNormalization()
           
 boolean providesParameterGradient()
           
 void setNormalizationRange(double xmin, double xmax, int varIndex)
           
 void setParameter(String str, double param)
           
 void setParameters(double[] values)
           
 void setTitle(String str)
           
static double sign(double d, double d1)
           
 String title()
           
 double value(double[] values)
           
 String variableName(int param)
           
 String[] variableNames()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FlatDistributionModel

public FlatDistributionModel()
Creates a new instance of GaussianModel

Method Detail

dimension

public int dimension()
Specified by:
dimension in interface hep.aida.IFunction

indexOfParameter

public int indexOfParameter(String str)
Specified by:
indexOfParameter in interface hep.aida.IFunction

numberOfParameters

public int numberOfParameters()
Specified by:
numberOfParameters in interface hep.aida.IFunction

parameter

public double parameter(String str)
Specified by:
parameter in interface hep.aida.IFunction

parameterNames

public String[] parameterNames()
Specified by:
parameterNames in interface hep.aida.IFunction

parameters

public double[] parameters()
Specified by:
parameters in interface hep.aida.IFunction

providesGradient

public boolean providesGradient()
Specified by:
providesGradient in interface hep.aida.IFunction

setParameter

public void setParameter(String str,
                         double param)
Specified by:
setParameter in interface hep.aida.IFunction

setParameters

public void setParameters(double[] values)
Specified by:
setParameters in interface hep.aida.IFunction

value

public double value(double[] values)
Specified by:
value in interface hep.aida.IFunction

variableName

public String variableName(int param)
Specified by:
variableName in interface hep.aida.IFunction

variableNames

public String[] variableNames()
Specified by:
variableNames in interface hep.aida.IFunction

providesNormalization

public boolean providesNormalization()
Specified by:
providesNormalization in interface hep.aida.IModelFunction

isNormalized

public boolean isNormalized()
Specified by:
isNormalized in interface hep.aida.IModelFunction

normalize

public void normalize(boolean normalize)
Specified by:
normalize in interface hep.aida.IModelFunction

setNormalizationRange

public void setNormalizationRange(double xmin,
                                  double xmax,
                                  int varIndex)

gradient

public double[] gradient(double[] values)
Specified by:
gradient in interface hep.aida.IFunction

annotation

public hep.aida.IAnnotation annotation()
Specified by:
annotation in interface hep.aida.IFunction

codeletString

public String codeletString()
Specified by:
codeletString in interface hep.aida.IFunction

isEqual

public boolean isEqual(hep.aida.IFunction iFunction)
Specified by:
isEqual in interface hep.aida.IFunction

excludeNormalizationAll

public void excludeNormalizationAll()
Specified by:
excludeNormalizationAll in interface hep.aida.IModelFunction

excludeNormalizationAll

public void excludeNormalizationAll(int param)

excludeNormalizationRange

public void excludeNormalizationRange(double param,
                                      double param1,
                                      int param2)

includeNormalizationAll

public void includeNormalizationAll()
Specified by:
includeNormalizationAll in interface hep.aida.IModelFunction

includeNormalizationAll

public void includeNormalizationAll(int param)

includeNormalizationRange

public void includeNormalizationRange(double param,
                                      double param1,
                                      int param2)

parameterGradient

public double[] parameterGradient(double[] values)
Specified by:
parameterGradient in interface hep.aida.IModelFunction

providesParameterGradient

public boolean providesParameterGradient()
Specified by:
providesParameterGradient in interface hep.aida.IModelFunction

normalizationRange

public hep.aida.IRangeSet normalizationRange(int iAxis)
Specified by:
normalizationRange in interface hep.aida.IModelFunction

sign

public static double sign(double d,
                          double d1)

setTitle

public void setTitle(String str)
              throws IllegalArgumentException
Specified by:
setTitle in interface hep.aida.IFunction
IllegalArgumentException

title

public String title()
Specified by:
title in interface hep.aida.IFunction

FreeHEP API
Version v1.2.2

Copyright © 2000-2003 FreeHEP, All Rights Reserved.