hep.geant4.jni
Class HepRandGauss

java.lang.Object
  extended by hep.geant4.jni.HepRandom
      extended by hep.geant4.jni.HepRandGauss
Direct Known Subclasses:
G4RandGauss, G4RandGaussT

public class HepRandGauss
extends HepRandom


Field Summary
 
Fields inherited from class hep.geant4.jni.HepRandom
swigCMemOwn
 
Constructor Summary
  HepRandGauss(HepRandomEngine anEngine)
           
  HepRandGauss(HepRandomEngine anEngine, double mean)
           
  HepRandGauss(HepRandomEngine anEngine, double mean, double stdDev)
           
protected HepRandGauss(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 mean, double stdDev)
           
 void fireArray(int size, double[] vect)
           
 void fireArray(int size, double[] vect, double mean, double stdDev)
           
protected static long getCPtr(HepRandGauss obj)
           
 boolean getF()
           
static boolean getFlag()
           
 String name()
           
static void restoreEngineStatus()
           
static void restoreEngineStatus(String filename)
           
static void saveEngineStatus()
           
static void saveEngineStatus(String filename)
           
 void setF(boolean val)
           
static void setFlag(boolean val)
           
static double shoot()
           
static double shoot(double mean, double stdDev)
           
static double shoot(HepRandomEngine anEngine)
           
static double shoot(HepRandomEngine anEngine, double mean, double stdDev)
           
static void shootArray(HepRandomEngine anEngine, int size, double[] vect)
           
static void shootArray(HepRandomEngine anEngine, int size, double[] vect, double mean)
           
static void shootArray(HepRandomEngine anEngine, int size, double[] vect, double mean, double stdDev)
           
static void shootArray(int size, double[] vect)
           
static void shootArray(int size, double[] vect, double mean)
           
static void shootArray(int size, double[] vect, double mean, double stdDev)
           
 
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

HepRandGauss

protected HepRandGauss(long cPtr,
                       boolean cMemoryOwn)

HepRandGauss

public HepRandGauss(HepRandomEngine anEngine,
                    double mean,
                    double stdDev)

HepRandGauss

public HepRandGauss(HepRandomEngine anEngine,
                    double mean)

HepRandGauss

public HepRandGauss(HepRandomEngine anEngine)
Method Detail

getCPtr

protected static long getCPtr(HepRandGauss 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 mean,
                           double stdDev)

shootArray

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

shootArray

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

shootArray

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

shoot

public static double shoot(HepRandomEngine anEngine)

shoot

public static double shoot(HepRandomEngine anEngine,
                           double mean,
                           double stdDev)

shootArray

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

shootArray

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

shootArray

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

fire

public double fire()

fire

public double fire(double mean,
                   double stdDev)

fireArray

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

fireArray

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

name

public String name()
Overrides:
name in class HepRandom

engine

public HepRandomEngine engine()
Overrides:
engine in class HepRandom

distributionName

public static String distributionName()

getFlag

public static boolean getFlag()

setFlag

public static void setFlag(boolean val)

getF

public boolean getF()

setF

public void setF(boolean val)

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.