hep.geant4.jni
Class G4RandFlat

java.lang.Object
  extended by hep.geant4.jni.HepRandom
      extended by hep.geant4.jni.G4RandFlat
Direct Known Subclasses:
G4RandBit

public class G4RandFlat
extends HepRandom


Field Summary
 
Fields inherited from class hep.geant4.jni.HepRandom
swigCMemOwn
 
Constructor Summary
  G4RandFlat(HepRandomEngine anEngine)
           
  G4RandFlat(HepRandomEngine anEngine, double width)
           
  G4RandFlat(HepRandomEngine anEngine, double a, double b)
           
protected G4RandFlat(long cPtr, boolean cMemoryOwn)
           
 
Method Summary
 void delete()
           
static String distributionName()
           
 HepRandomEngine engine()
           
 boolean equals(Object obj)
           
protected  void finalize()
           
 double fire()
           
 double fire(double width)
           
 double fire(double a, double b)
           
 void fireArray(int size, double[] vect)
           
 void fireArray(int size, double[] vect, double lx, double dx)
           
 int fireBit()
           
 int fireInt(int n)
           
 int fireInt(int m, int n)
           
protected static long getCPtr(G4RandFlat obj)
           
 String name()
           
static void restoreEngineStatus()
           
static void restoreEngineStatus(String filename)
           
static void saveEngineStatus()
           
static void saveEngineStatus(String filename)
           
static double shoot()
           
static double shoot(double width)
           
static double shoot(double a, double b)
           
static double shoot(HepRandomEngine anEngine)
           
static double shoot(HepRandomEngine anEngine, double width)
           
static double shoot(HepRandomEngine anEngine, double a, double b)
           
static void shootArray(HepRandomEngine anEngine, int size, double[] vect)
           
static void shootArray(HepRandomEngine anEngine, int size, double[] vect, double lx, double dx)
           
static void shootArray(int size, double[] vect)
           
static void shootArray(int size, double[] vect, double lx, double dx)
           
static int shootBit()
           
static int shootBit(HepRandomEngine arg0)
           
static int shootInt(HepRandomEngine anEngine, int n)
           
static int shootInt(HepRandomEngine anEngine, int m, int n)
           
static int shootInt(int n)
           
static int shootInt(int m, int n)
           
 
Methods inherited from class hep.geant4.jni.HepRandom
createInstance, flat, flat, flatArray, flatArray, getCPtr, getTheEngine, getTheGenerator, getTheSeed, getTheTableSeeds, setTheEngine, setTheSeed, setTheSeed, setTheSeeds, setTheSeeds, showEngineStatus
 
Methods inherited from class java.lang.Object
clone, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

G4RandFlat

protected G4RandFlat(long cPtr,
                     boolean cMemoryOwn)

G4RandFlat

public G4RandFlat(HepRandomEngine anEngine)

G4RandFlat

public G4RandFlat(HepRandomEngine anEngine,
                  double width)

G4RandFlat

public G4RandFlat(HepRandomEngine anEngine,
                  double a,
                  double b)
Method Detail

getCPtr

protected static long getCPtr(G4RandFlat obj)

finalize

protected void finalize()
                 throws Throwable
Overrides:
finalize in class HepRandom
Throws:
Throwable

delete

public void delete()
Overrides:
delete in class HepRandom

equals

public boolean equals(Object obj)
Overrides:
equals in class HepRandom

shoot

public static double shoot()

shoot

public static double shoot(double width)

shoot

public static double shoot(double a,
                           double b)

shootInt

public static int shootInt(int n)

shootInt

public static int shootInt(int m,
                           int n)

shootBit

public static int shootBit()

shootArray

public static void shootArray(int size,
                              double[] vect)

shootArray

public static void shootArray(int size,
                              double[] vect,
                              double lx,
                              double dx)

shoot

public static double shoot(HepRandomEngine anEngine)

shoot

public static double shoot(HepRandomEngine anEngine,
                           double width)

shoot

public static double shoot(HepRandomEngine anEngine,
                           double a,
                           double b)

shootInt

public static int shootInt(HepRandomEngine anEngine,
                           int n)

shootInt

public static int shootInt(HepRandomEngine anEngine,
                           int m,
                           int n)

shootBit

public static int shootBit(HepRandomEngine arg0)

shootArray

public static void shootArray(HepRandomEngine anEngine,
                              int size,
                              double[] vect)

shootArray

public static void shootArray(HepRandomEngine anEngine,
                              int size,
                              double[] vect,
                              double lx,
                              double dx)

fire

public double fire()

fire

public double fire(double width)

fire

public double fire(double a,
                   double b)

fireInt

public int fireInt(int n)

fireInt

public int fireInt(int m,
                   int n)

fireBit

public int fireBit()

fireArray

public void fireArray(int size,
                      double[] vect)

fireArray

public void fireArray(int size,
                      double[] vect,
                      double lx,
                      double dx)

name

public String name()
Overrides:
name in class HepRandom

engine

public HepRandomEngine engine()
Overrides:
engine in class HepRandom

distributionName

public static String distributionName()

saveEngineStatus

public static void saveEngineStatus(String filename)

saveEngineStatus

public static void saveEngineStatus()

restoreEngineStatus

public static void restoreEngineStatus(String filename)

restoreEngineStatus

public static void restoreEngineStatus()


Copyright © 2000-2007 FreeHEP. All Rights Reserved.