hep.aida.ref.function
Class FunctionUtils
java.lang.Object
hep.aida.ref.function.FunctionUtils
- public abstract class FunctionUtils
- extends Object
- Author:
- serbo
- Source Code:
- FunctionUtils.java
Method Summary |
static void |
fill(hep.aida.IHistogram1D hist,
hep.aida.IFunction func,
int entries,
double yMax)
Fills IHistogram1D with random entries according to the
provided distribution. |
static void |
fill(hep.aida.IHistogram2D hist,
hep.aida.IFunction func,
int entries,
double yMax)
|
static void |
fill(hep.aida.IHistogram3D hist,
hep.aida.IFunction func,
int entries,
double yMax)
|
static void |
setRandomSeed(long seed)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FunctionUtils
public FunctionUtils()
setRandomSeed
public static void setRandomSeed(long seed)
fill
public static void fill(hep.aida.IHistogram1D hist,
hep.aida.IFunction func,
int entries,
double yMax)
- Fills IHistogram1D with random entries according to the
provided distribution.
- Parameters:
hist
- Histogram to be filledfunc
- entries
- How many entries to put in the HistogramyMax
- Maximum value the function can take on the
range. This does not have to be the exact value,
just make sure that function never takes value
bigger than yMax.
fill
public static void fill(hep.aida.IHistogram2D hist,
hep.aida.IFunction func,
int entries,
double yMax)
fill
public static void fill(hep.aida.IHistogram3D hist,
hep.aida.IFunction func,
int entries,
double yMax)
Copyright © 2000-2004 FreeHEP, All Rights Reserved.