hep.geant4.jni
Class HepRandom
java.lang.Object
hep.geant4.jni.HepRandom
- Direct Known Subclasses:
- G4RandFlat, G4RandGamma, G4RandLandau, HepRandGauss, HepRandPoisson
public class HepRandom
- extends Object
swigCMemOwn
protected boolean swigCMemOwn
HepRandom
protected HepRandom(long cPtr,
boolean cMemoryOwn)
HepRandom
public HepRandom()
HepRandom
public HepRandom(int seed)
HepRandom
public HepRandom(HepRandomEngine algorithm)
getCPtr
protected static long getCPtr(HepRandom obj)
finalize
protected void finalize()
throws Throwable
- Overrides:
finalize
in class Object
- Throws:
Throwable
delete
public void delete()
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
flat
public double flat()
flatArray
public void flatArray(int size,
double[] vect)
flat
public double flat(HepRandomEngine theNewEngine)
flatArray
public void flatArray(HepRandomEngine theNewEngine,
int size,
double[] vect)
name
public String name()
engine
public HepRandomEngine engine()
setTheSeed
public static void setTheSeed(int seed,
int lux)
setTheSeed
public static void setTheSeed(int seed)
getTheSeed
public static int getTheSeed()
setTheSeeds
public static void setTheSeeds(int[] seeds,
int aux)
setTheSeeds
public static void setTheSeeds(int[] seeds)
getTheTableSeeds
public static void getTheTableSeeds(int[] seeds,
int index)
getTheGenerator
public static HepRandom getTheGenerator()
setTheEngine
public static void setTheEngine(HepRandomEngine theNewEngine)
getTheEngine
public static HepRandomEngine getTheEngine()
saveEngineStatus
public static void saveEngineStatus(String filename)
saveEngineStatus
public static void saveEngineStatus()
restoreEngineStatus
public static void restoreEngineStatus(String filename)
restoreEngineStatus
public static void restoreEngineStatus()
showEngineStatus
public static void showEngineStatus()
createInstance
public static int createInstance()
distributionName
public static String distributionName()
Copyright © 2000-2007 FreeHEP. All Rights Reserved.