Geant4-11
Public Member Functions | Static Public Member Functions | Static Protected Member Functions | Static Protected Attributes | Private Member Functions | Private Attributes
CLHEP::RandExpZiggurat Class Reference

#include <RandExpZiggurat.h>

Inheritance diagram for CLHEP::RandExpZiggurat:
CLHEP::HepRandom

Public Member Functions

HepRandomEngineengine ()
 
float fire ()
 
float fire (float mean)
 
void fireArray (const int size, double *vect)
 
void fireArray (const int size, double *vect, double mean)
 
void fireArray (const int size, float *vect)
 
void fireArray (const int size, float *vect, float mean)
 
double flat ()
 
double flat (HepRandomEngine *theNewEngine)
 
void flatArray (const int size, double *vect)
 
void flatArray (HepRandomEngine *theNewEngine, const int size, double *vect)
 
std::istream & get (std::istream &is)
 
std::string name () const
 
virtual double operator() ()
 
float operator() (float mean)
 
std::ostream & put (std::ostream &os) const
 
 RandExpZiggurat (HepRandomEngine &anEngine, double mean=1.0)
 
 RandExpZiggurat (HepRandomEngine *anEngine, double mean=1.0)
 
virtual ~RandExpZiggurat ()
 

Static Public Member Functions

static int createInstance ()
 
static std::string distributionName ()
 
static HepRandomEnginegetTheEngine ()
 
static HepRandomgetTheGenerator ()
 
static long getTheSeed ()
 
static const long * getTheSeeds ()
 
static void getTheTableSeeds (long *seeds, int index)
 
static std::istream & restoreDistState (std::istream &is)
 
static void restoreEngineStatus (const char filename[]="Config.conf")
 
static std::istream & restoreFullState (std::istream &is)
 
static std::istream & restoreStaticRandomStates (std::istream &is)
 
static std::ostream & saveDistState (std::ostream &os)
 
static void saveEngineStatus (const char filename[]="Config.conf")
 
static std::ostream & saveFullState (std::ostream &os)
 
static std::ostream & saveStaticRandomStates (std::ostream &os)
 
static void setTheEngine (HepRandomEngine *theNewEngine)
 
static void setTheSeed (long seed, int lxr=3)
 
static void setTheSeeds (const long *seeds, int aux=-1)
 
static float shoot ()
 
static float shoot (float mean)
 
static float shoot (HepRandomEngine *anEngine)
 
static float shoot (HepRandomEngine *anEngine, float mean)
 
static void shootArray (const int size, double *vect, double mean=1.0)
 
static void shootArray (const int size, float *vect, float mean=1.0)
 
static void shootArray (HepRandomEngine *anEngine, const int size, double *vect, double mean=1.0)
 
static void shootArray (HepRandomEngine *anEngine, const int size, float *vect, float mean=1.0)
 
static void showEngineStatus ()
 
static bool ziggurat_init ()
 

Static Protected Member Functions

static float ziggurat_efix (unsigned long jz, HepRandomEngine *anEngine)
 
static float ziggurat_REXP (HepRandomEngine *anEngine)
 
static unsigned long ziggurat_SHR3 (HepRandomEngine *anEngine)
 
static float ziggurat_UNI (HepRandomEngine *anEngine)
 

Static Protected Attributes

static CLHEP_THREAD_LOCAL float fe [256]
 
static CLHEP_THREAD_LOCAL float fn [128]
 
static CLHEP_THREAD_LOCAL unsigned long ke [256]
 
static CLHEP_THREAD_LOCAL unsigned long kn [128]
 
static const long seedTable [215][2]
 
static CLHEP_THREAD_LOCAL float we [256]
 
static CLHEP_THREAD_LOCAL float wn [128]
 
static CLHEP_THREAD_LOCAL bool ziggurat_is_init = false
 

Private Member Functions

 RandExpZiggurat (const RandExpZiggurat &d)
 

Private Attributes

double defaultMean
 
std::shared_ptr< HepRandomEnginelocalEngine
 

Detailed Description

Author
ATLAS

Definition at line 36 of file RandExpZiggurat.h.

Constructor & Destructor Documentation

◆ RandExpZiggurat() [1/3]

CLHEP::RandExpZiggurat::RandExpZiggurat ( HepRandomEngine anEngine,
double  mean = 1.0 
)
inline

Definition at line 158 of file RandExpZiggurat.h.

158 : localEngine(&anEngine, do_nothing_deleter()), defaultMean(mean)
159{
160}
std::shared_ptr< HepRandomEngine > localEngine

◆ RandExpZiggurat() [2/3]

CLHEP::RandExpZiggurat::RandExpZiggurat ( HepRandomEngine anEngine,
double  mean = 1.0 
)
inline

Definition at line 162 of file RandExpZiggurat.h.

162 : localEngine(anEngine), defaultMean(mean)
163{
164}

◆ ~RandExpZiggurat()

CLHEP::RandExpZiggurat::~RandExpZiggurat ( )
virtual

Definition at line 19 of file RandExpZiggurat.cc.

19 {
20}

◆ RandExpZiggurat() [3/3]

CLHEP::RandExpZiggurat::RandExpZiggurat ( const RandExpZiggurat d)
private

Definition at line 22 of file RandExpZiggurat.cc.

22 : HepRandom(right),defaultMean(right.defaultMean)
23{
24}

Member Function Documentation

◆ createInstance()

int CLHEP::HepRandom::createInstance ( )
staticinherited

◆ distributionName()

static std::string CLHEP::RandExpZiggurat::distributionName ( )
inlinestatic

Definition at line 109 of file RandExpZiggurat.h.

109{return "RandExpZiggurat";}

◆ engine()

HepRandomEngine & CLHEP::RandExpZiggurat::engine ( )
virtual

Reimplemented from CLHEP::HepRandom.

Definition at line 17 of file RandExpZiggurat.cc.

17{return *localEngine;}

References localEngine.

◆ fire() [1/2]

float CLHEP::RandExpZiggurat::fire ( )
inline

Definition at line 85 of file RandExpZiggurat.h.

85{return fire(float(defaultMean));}

References defaultMean, and fire().

Referenced by fire(), fireArray(), and operator()().

◆ fire() [2/2]

float CLHEP::RandExpZiggurat::fire ( float  mean)
inline

Definition at line 86 of file RandExpZiggurat.h.

86{return ziggurat_REXP(localEngine.get())*mean;}
static float ziggurat_REXP(HepRandomEngine *anEngine)

References localEngine, and ziggurat_REXP().

◆ fireArray() [1/4]

void CLHEP::RandExpZiggurat::fireArray ( const int  size,
double *  vect 
)

Definition at line 56 of file RandExpZiggurat.cc.

57{
58 for (int i=0; i<size; ++i) vect[i] = fire( defaultMean );
59}

References defaultMean, and fire().

◆ fireArray() [2/4]

void CLHEP::RandExpZiggurat::fireArray ( const int  size,
double *  vect,
double  mean 
)

Definition at line 66 of file RandExpZiggurat.cc.

67{
68 for (int i=0; i<size; ++i) vect[i] = fire( mean );
69}

References fire().

◆ fireArray() [3/4]

void CLHEP::RandExpZiggurat::fireArray ( const int  size,
float *  vect 
)

Definition at line 51 of file RandExpZiggurat.cc.

52{
53 for (int i=0; i<size; ++i) vect[i] = fire( defaultMean );
54}

References defaultMean, and fire().

◆ fireArray() [4/4]

void CLHEP::RandExpZiggurat::fireArray ( const int  size,
float *  vect,
float  mean 
)

Definition at line 61 of file RandExpZiggurat.cc.

62{
63 for (int i=0; i<size; ++i) vect[i] = fire( mean );
64}

References fire().

◆ flat() [1/2]

double CLHEP::HepRandom::flat ( )
inherited

◆ flat() [2/2]

double CLHEP::HepRandom::flat ( HepRandomEngine theNewEngine)
inlineinherited

◆ flatArray() [1/2]

void CLHEP::HepRandom::flatArray ( const int  size,
double *  vect 
)
inherited

◆ flatArray() [2/2]

void CLHEP::HepRandom::flatArray ( HepRandomEngine theNewEngine,
const int  size,
double *  vect 
)
inlineinherited

◆ get()

std::istream & CLHEP::RandExpZiggurat::get ( std::istream &  is)
virtual

Reimplemented from CLHEP::HepRandom.

Definition at line 89 of file RandExpZiggurat.cc.

89 {
90 std::string inName;
91 is >> inName;
92 if (inName != name()) {
93 is.clear(std::ios::badbit | is.rdstate());
94 std::cerr << "Mismatch when expecting to read state of a "
95 << name() << " distribution\n"
96 << "Name found was " << inName
97 << "\nistream is left in the badbit state\n";
98 return is;
99 }
100 if (possibleKeywordInput(is, "Uvec", defaultMean)) {
101 std::vector<unsigned long> t(2);
102 is >> defaultMean >> t[0] >> t[1]; defaultMean = DoubConv::longs2double(t);
103 return is;
104 }
105 // is >> defaultMean encompassed by possibleKeywordInput
106 return is;
107}
static double longs2double(const std::vector< unsigned long > &v)
Definition: DoubConv.cc:110
std::string name() const
bool possibleKeywordInput(IS &is, const std::string &key, T &t)
Definition: RandomEngine.h:166

References defaultMean, CLHEP::DoubConv::longs2double(), name(), and CLHEP::possibleKeywordInput().

◆ getTheEngine()

HepRandomEngine * CLHEP::HepRandom::getTheEngine ( )
staticinherited

◆ getTheGenerator()

HepRandom * CLHEP::HepRandom::getTheGenerator ( )
staticinherited

◆ getTheSeed()

long CLHEP::HepRandom::getTheSeed ( )
staticinherited

◆ getTheSeeds()

const long * CLHEP::HepRandom::getTheSeeds ( )
staticinherited

◆ getTheTableSeeds()

void CLHEP::HepRandom::getTheTableSeeds ( long *  seeds,
int  index 
)
staticinherited

Definition at line 254 of file Random.cc.

255{
256 if ((index >= 0) && (index < 215)) {
257 seeds[0] = seedTable[index][0];
258 seeds[1] = seedTable[index][1];
259 }
260 else seeds = NULL;
261}
static const long seedTable[215][2]
Definition: Random.h:156

Referenced by CLHEP::HepJamesRandom::HepJamesRandom(), CLHEP::MTwistEngine::MTwistEngine(), CLHEP::RanecuEngine::RanecuEngine(), CLHEP::Ranlux64Engine::Ranlux64Engine(), CLHEP::RanluxEngine::RanluxEngine(), and CLHEP::RanecuEngine::setSeed().

◆ name()

std::string CLHEP::RandExpZiggurat::name ( ) const
virtual

Reimplemented from CLHEP::HepRandom.

Definition at line 15 of file RandExpZiggurat.cc.

15{return "RandExpZiggurat";}

Referenced by source.g4viscp.G4Scene::create_scene(), get(), mcscore.MCParticle::printout(), put(), and source.g4viscp.G4Scene::update_scene().

◆ operator()() [1/2]

double CLHEP::RandExpZiggurat::operator() ( )
virtual

Reimplemented from CLHEP::HepRandom.

Definition at line 26 of file RandExpZiggurat.cc.

27{
28 return fire( defaultMean );
29}

References defaultMean, and fire().

◆ operator()() [2/2]

float CLHEP::RandExpZiggurat::operator() ( float  mean)
inline

Definition at line 99 of file RandExpZiggurat.h.

99{return fire( mean );}

References fire().

◆ put()

std::ostream & CLHEP::RandExpZiggurat::put ( std::ostream &  os) const
virtual

Reimplemented from CLHEP::HepRandom.

Definition at line 71 of file RandExpZiggurat.cc.

71 {
72 int pr=os.precision(20);
73 std::vector<unsigned long> t(2);
74 os << " " << name() << "\n";
75 os << "Uvec" << "\n";
77 os << defaultMean << " " << t[0] << " " << t[1] << "\n";
78 os.precision(pr);
79 return os;
80#ifdef REMOVED
81 int pr=os.precision(20);
82 os << " " << name() << "\n";
83 os << defaultMean << "\n";
84 os.precision(pr);
85 return os;
86#endif
87}
static std::vector< unsigned long > dto2longs(double d)
Definition: DoubConv.cc:94

References defaultMean, CLHEP::DoubConv::dto2longs(), and name().

◆ restoreDistState()

static std::istream & CLHEP::HepRandom::restoreDistState ( std::istream &  is)
inlinestaticinherited

Definition at line 136 of file Random.h.

136{return is;}

◆ restoreEngineStatus()

void CLHEP::HepRandom::restoreEngineStatus ( const char  filename[] = "Config.conf")
staticinherited

Definition at line 283 of file Random.cc.

284{
285 theDefaults().theEngine->restoreStatus( filename );
286}

References CLHEP::anonymous_namespace{Random.cc}::theDefaults(), and CLHEP::anonymous_namespace{Random.cc}::defaults::theEngine.

◆ restoreFullState()

std::istream & CLHEP::HepRandom::restoreFullState ( std::istream &  is)
staticinherited

Definition at line 293 of file Random.cc.

293 {
294 is >> *getTheEngine();
295 return is;
296}
static HepRandomEngine * getTheEngine()
Definition: Random.cc:268

Referenced by CLHEP::RandFlat::restoreFullState(), and CLHEP::RandGauss::restoreFullState().

◆ restoreStaticRandomStates()

std::istream & CLHEP::HepRandom::restoreStaticRandomStates ( std::istream &  is)
staticinherited

Definition at line 302 of file Random.cc.

302 {
304}
static std::istream & restore(std::istream &is)

References CLHEP::StaticRandomStates::restore().

◆ saveDistState()

static std::ostream & CLHEP::HepRandom::saveDistState ( std::ostream &  os)
inlinestaticinherited

Definition at line 133 of file Random.h.

133{return os;}

◆ saveEngineStatus()

void CLHEP::HepRandom::saveEngineStatus ( const char  filename[] = "Config.conf")
staticinherited

◆ saveFullState()

std::ostream & CLHEP::HepRandom::saveFullState ( std::ostream &  os)
staticinherited

◆ saveStaticRandomStates()

std::ostream & CLHEP::HepRandom::saveStaticRandomStates ( std::ostream &  os)
staticinherited

Definition at line 298 of file Random.cc.

298 {
299 return StaticRandomStates::save(os);
300}
static std::ostream & save(std::ostream &os)

References CLHEP::StaticRandomStates::save().

◆ setTheEngine()

void CLHEP::HepRandom::setTheEngine ( HepRandomEngine theNewEngine)
staticinherited

Definition at line 273 of file Random.cc.

274{
275 theDefaults().theEngine.reset( theNewEngine, do_nothing_deleter() );
276}

References CLHEP::anonymous_namespace{Random.cc}::theDefaults(), and CLHEP::anonymous_namespace{Random.cc}::defaults::theEngine.

Referenced by CLHEP::StaticRandomStates::restore().

◆ setTheSeed()

void CLHEP::HepRandom::setTheSeed ( long  seed,
int  lxr = 3 
)
staticinherited

Definition at line 234 of file Random.cc.

235{
236 theDefaults().theEngine->setSeed(seed,lux);
237}
static constexpr double lux

References CLHEP::lux, CLHEP::anonymous_namespace{Random.cc}::theDefaults(), and CLHEP::anonymous_namespace{Random.cc}::defaults::theEngine.

◆ setTheSeeds()

void CLHEP::HepRandom::setTheSeeds ( const long *  seeds,
int  aux = -1 
)
staticinherited

◆ shoot() [1/4]

static float CLHEP::RandExpZiggurat::shoot ( )
inlinestatic

Definition at line 56 of file RandExpZiggurat.h.

References CLHEP::HepRandom::getTheEngine(), and shoot().

Referenced by shoot(), and shootArray().

◆ shoot() [2/4]

static float CLHEP::RandExpZiggurat::shoot ( float  mean)
inlinestatic

Definition at line 57 of file RandExpZiggurat.h.

57{return shoot(HepRandom::getTheEngine(),mean);}

References CLHEP::HepRandom::getTheEngine(), and shoot().

Referenced by shoot().

◆ shoot() [3/4]

static float CLHEP::RandExpZiggurat::shoot ( HepRandomEngine anEngine)
inlinestatic

Definition at line 70 of file RandExpZiggurat.h.

70{return ziggurat_REXP(anEngine);}

References ziggurat_REXP().

◆ shoot() [4/4]

static float CLHEP::RandExpZiggurat::shoot ( HepRandomEngine anEngine,
float  mean 
)
inlinestatic

Definition at line 71 of file RandExpZiggurat.h.

71{return shoot(anEngine)*mean;}

References shoot().

Referenced by shoot().

◆ shootArray() [1/4]

void CLHEP::RandExpZiggurat::shootArray ( const int  size,
double *  vect,
double  mean = 1.0 
)
static

Definition at line 36 of file RandExpZiggurat.cc.

37{
38 for (int i=0; i<size; ++i) vect[i] = shoot(mean);
39}

References shoot().

◆ shootArray() [2/4]

void CLHEP::RandExpZiggurat::shootArray ( const int  size,
float *  vect,
float  mean = 1.0 
)
static

Definition at line 31 of file RandExpZiggurat.cc.

32{
33 for (int i=0; i<size; ++i) vect[i] = shoot(mean);
34}

References shoot().

◆ shootArray() [3/4]

void CLHEP::RandExpZiggurat::shootArray ( HepRandomEngine anEngine,
const int  size,
double *  vect,
double  mean = 1.0 
)
static

Definition at line 46 of file RandExpZiggurat.cc.

47{
48 for (int i=0; i<size; ++i) vect[i] = shoot(anEngine, mean);
49}

References shoot().

◆ shootArray() [4/4]

void CLHEP::RandExpZiggurat::shootArray ( HepRandomEngine anEngine,
const int  size,
float *  vect,
float  mean = 1.0 
)
static

Definition at line 41 of file RandExpZiggurat.cc.

42{
43 for (int i=0; i<size; ++i) vect[i] = shoot(anEngine, mean);
44}

References shoot().

◆ showEngineStatus()

void CLHEP::HepRandom::showEngineStatus ( )
staticinherited

◆ ziggurat_efix()

float CLHEP::RandExpZiggurat::ziggurat_efix ( unsigned long  jz,
HepRandomEngine anEngine 
)
staticprotected

Definition at line 110 of file RandExpZiggurat.cc.

111{
113
114 unsigned long iz=jz&255;
115
116 float x;
117 for(;;)
118 {
119 if(iz==0) return (7.69711-std::log(ziggurat_UNI(anEngine))); /* iz==0 */
120 x=jz*we[iz];
121 if( fe[iz]+ziggurat_UNI(anEngine)*(fe[iz-1]-fe[iz]) < std::exp(-x) ) return (x);
122
123 /* initiate, try to exit for(;;) loop */
124 jz=ziggurat_SHR3(anEngine);
125 iz=(jz&255);
126 if(jz<ke[iz]) return (jz*we[iz]);
127 }
128}
static unsigned long ziggurat_SHR3(HepRandomEngine *anEngine)
static CLHEP_THREAD_LOCAL unsigned long ke[256]
static CLHEP_THREAD_LOCAL float fe[256]
static CLHEP_THREAD_LOCAL float we[256]
static float ziggurat_UNI(HepRandomEngine *anEngine)
static CLHEP_THREAD_LOCAL bool ziggurat_is_init

References fe, ke, we, ziggurat_init(), ziggurat_is_init, ziggurat_SHR3(), and ziggurat_UNI().

Referenced by ziggurat_REXP().

◆ ziggurat_init()

bool CLHEP::RandExpZiggurat::ziggurat_init ( )
static

Definition at line 130 of file RandExpZiggurat.cc.

131{
132 const double rzm1 = 2147483648.0, rzm2 = 4294967296.;
133 double dn=3.442619855899,tn=dn,vn=9.91256303526217e-3, q;
134 double de=7.697117470131487, te=de, ve=3.949659822581572e-3;
135 int i;
136
137/* Set up tables for RNOR */
138 q=vn/std::exp(-.5*dn*dn);
139 kn[0]=(unsigned long)((dn/q)*rzm1);
140 kn[1]=0;
141
142 wn[0]=q/rzm1;
143 wn[127]=dn/rzm1;
144
145 fn[0]=1.;
146 fn[127]=std::exp(-.5*dn*dn);
147
148 for(i=126;i>=1;i--) {
149 dn=std::sqrt(-2.*std::log(vn/dn+std::exp(-.5*dn*dn)));
150 kn[i+1]=(unsigned long)((dn/tn)*rzm1);
151 tn=dn;
152 fn[i]=std::exp(-.5*dn*dn);
153 wn[i]=dn/rzm1;
154 }
155
156/* Set up tables for REXP */
157 q = ve/std::exp(-de);
158 ke[0]=(unsigned long)((de/q)*rzm2);
159 ke[1]=0;
160
161 we[0]=q/rzm2;
162 we[255]=de/rzm2;
163
164 fe[0]=1.;
165 fe[255]=std::exp(-de);
166
167 for(i=254;i>=1;i--) {
168 de=-std::log(ve/de+std::exp(-de));
169 ke[i+1]= (unsigned long)((de/te)*rzm2);
170 te=de;
171 fe[i]=std::exp(-de);
172 we[i]=de/rzm2;
173 }
174 ziggurat_is_init=true;
175 return true;
176}
static CLHEP_THREAD_LOCAL float fn[128]
static CLHEP_THREAD_LOCAL float wn[128]
static CLHEP_THREAD_LOCAL unsigned long kn[128]

References fe, fn, ke, kn, we, wn, and ziggurat_is_init.

Referenced by ziggurat_efix(), and ziggurat_REXP().

◆ ziggurat_REXP()

static float CLHEP::RandExpZiggurat::ziggurat_REXP ( HepRandomEngine anEngine)
inlinestaticprotected

Definition at line 137 of file RandExpZiggurat.h.

137 {
139 unsigned long jz=ziggurat_SHR3(anEngine);
140 unsigned long iz=jz&255;
141 return (jz<ke[iz]) ? jz*we[iz] : ziggurat_efix(jz,anEngine);
142 }
static float ziggurat_efix(unsigned long jz, HepRandomEngine *anEngine)

References ke, we, ziggurat_efix(), ziggurat_init(), ziggurat_is_init, and ziggurat_SHR3().

Referenced by fire(), and shoot().

◆ ziggurat_SHR3()

static unsigned long CLHEP::RandExpZiggurat::ziggurat_SHR3 ( HepRandomEngine anEngine)
inlinestaticprotected

Definition at line 135 of file RandExpZiggurat.h.

135{return (unsigned int)(*anEngine);}

Referenced by ziggurat_efix(), and ziggurat_REXP().

◆ ziggurat_UNI()

static float CLHEP::RandExpZiggurat::ziggurat_UNI ( HepRandomEngine anEngine)
inlinestaticprotected

Definition at line 136 of file RandExpZiggurat.h.

136{return float(anEngine->flat());}

References CLHEP::HepRandomEngine::flat().

Referenced by ziggurat_efix().

Field Documentation

◆ defaultMean

double CLHEP::RandExpZiggurat::defaultMean
private

Definition at line 151 of file RandExpZiggurat.h.

Referenced by fire(), fireArray(), get(), operator()(), and put().

◆ fe

CLHEP_THREAD_LOCAL float CLHEP::RandExpZiggurat::fe
staticprotected

Definition at line 131 of file RandExpZiggurat.h.

Referenced by ziggurat_efix(), and ziggurat_init().

◆ fn

CLHEP_THREAD_LOCAL float CLHEP::RandExpZiggurat::fn
staticprotected

Definition at line 131 of file RandExpZiggurat.h.

Referenced by ziggurat_init().

◆ ke

CLHEP_THREAD_LOCAL unsigned long CLHEP::RandExpZiggurat::ke
staticprotected

Definition at line 130 of file RandExpZiggurat.h.

Referenced by ziggurat_efix(), ziggurat_init(), and ziggurat_REXP().

◆ kn

CLHEP_THREAD_LOCAL unsigned long CLHEP::RandExpZiggurat::kn
staticprotected

Definition at line 130 of file RandExpZiggurat.h.

Referenced by ziggurat_init().

◆ localEngine

std::shared_ptr<HepRandomEngine> CLHEP::RandExpZiggurat::localEngine
private

Definition at line 150 of file RandExpZiggurat.h.

Referenced by engine(), and fire().

◆ seedTable

const long CLHEP::HepRandom::seedTable
staticprotectedinherited

Definition at line 156 of file Random.h.

◆ we

CLHEP_THREAD_LOCAL float CLHEP::RandExpZiggurat::we
staticprotected

Definition at line 131 of file RandExpZiggurat.h.

Referenced by ziggurat_efix(), ziggurat_init(), and ziggurat_REXP().

◆ wn

CLHEP_THREAD_LOCAL float CLHEP::RandExpZiggurat::wn
staticprotected

Definition at line 131 of file RandExpZiggurat.h.

Referenced by ziggurat_init().

◆ ziggurat_is_init

CLHEP_THREAD_LOCAL bool CLHEP::RandExpZiggurat::ziggurat_is_init = false
staticprotected

Definition at line 133 of file RandExpZiggurat.h.

Referenced by ziggurat_efix(), ziggurat_init(), and ziggurat_REXP().


The documentation for this class was generated from the following files: