hep.geant4.jni
Class HepRandom

java.lang.Object
  extended by hep.geant4.jni.HepRandom
Direct Known Subclasses:
G4RandFlat, G4RandGamma, G4RandLandau, HepRandGauss, HepRandPoisson

public class HepRandom
extends Object


Field Summary
protected  boolean swigCMemOwn
           
 
Constructor Summary
  HepRandom()
           
  HepRandom(HepRandomEngine algorithm)
           
  HepRandom(int seed)
           
protected HepRandom(long cPtr, boolean cMemoryOwn)
           
 
Method Summary
static int createInstance()
           
 void delete()
           
static String distributionName()
           
 HepRandomEngine engine()
           
 boolean equals(Object obj)
           
protected  void finalize()
           
 double flat()
           
 double flat(HepRandomEngine theNewEngine)
           
 void flatArray(HepRandomEngine theNewEngine, int size, double[] vect)
           
 void flatArray(int size, double[] vect)
           
protected static long getCPtr(HepRandom obj)
           
static HepRandomEngine getTheEngine()
           
static HepRandom getTheGenerator()
           
static int getTheSeed()
           
static void getTheTableSeeds(int[] seeds, int index)
           
 String name()
           
static void restoreEngineStatus()
           
static void restoreEngineStatus(String filename)
           
static void saveEngineStatus()
           
static void saveEngineStatus(String filename)
           
static void setTheEngine(HepRandomEngine theNewEngine)
           
static void setTheSeed(int seed)
           
static void setTheSeed(int seed, int lux)
           
static void setTheSeeds(int[] seeds)
           
static void setTheSeeds(int[] seeds, int aux)
           
static void showEngineStatus()
           
 
Methods inherited from class java.lang.Object
clone, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

swigCMemOwn

protected boolean swigCMemOwn
Constructor Detail

HepRandom

protected HepRandom(long cPtr,
                    boolean cMemoryOwn)

HepRandom

public HepRandom()

HepRandom

public HepRandom(int seed)

HepRandom

public HepRandom(HepRandomEngine algorithm)
Method Detail

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.