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

#include <RandPoisson.h>

Inheritance diagram for CLHEP::RandPoisson:
CLHEP::HepRandom CLHEP::RandPoissonQ

Public Member Functions

HepRandomEngineengine ()
 
long fire ()
 
long fire (double mean)
 
void fireArray (const int size, long *vect)
 
void fireArray (const int size, long *vect, double 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
 
double operator() ()
 
double operator() (double mean)
 
std::ostream & put (std::ostream &os) const
 
 RandPoisson (HepRandomEngine &anEngine, double a1=1.0)
 
 RandPoisson (HepRandomEngine *anEngine, double a1=1.0)
 
virtual ~RandPoisson ()
 

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 long shoot (double mean=1.0)
 
static long shoot (HepRandomEngine *anEngine, double mean=1.0)
 
static void shootArray (const int size, long *vect, double mean=1.0)
 
static void shootArray (HepRandomEngine *anEngine, const int size, long *vect, double mean=1.0)
 
static void showEngineStatus ()
 

Protected Member Functions

HepRandomEnginegetLocalEngine ()
 

Static Protected Member Functions

static double getMaxMean ()
 
static double getOldMean ()
 
static double * getPStatus ()
 
static void setOldMean (double val)
 
static void setPStatus (double sq, double alxm, double g1)
 

Protected Attributes

double defaultMean
 
double meanMax
 

Static Protected Attributes

static const long seedTable [215][2]
 

Private Attributes

std::shared_ptr< HepRandomEnginelocalEngine
 
double oldm
 
double status [3]
 

Static Private Attributes

static const double meanMax_st = 2.0E9
 
static CLHEP_THREAD_LOCAL double oldm_st = -1.0
 
static CLHEP_THREAD_LOCAL double status_st [3] = {0., 0., 0.}
 

Detailed Description

Author

Definition at line 41 of file RandPoisson.h.

Constructor & Destructor Documentation

◆ RandPoisson() [1/2]

CLHEP::RandPoisson::RandPoisson ( HepRandomEngine anEngine,
double  a1 = 1.0 
)
inline

◆ RandPoisson() [2/2]

CLHEP::RandPoisson::RandPoisson ( HepRandomEngine anEngine,
double  a1 = 1.0 
)
inline

◆ ~RandPoisson()

CLHEP::RandPoisson::~RandPoisson ( )
virtual

Definition at line 45 of file RandPoisson.cc.

45 {
46}

Member Function Documentation

◆ createInstance()

int CLHEP::HepRandom::createInstance ( )
staticinherited

◆ distributionName()

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

Definition at line 93 of file RandPoisson.h.

93{return "RandPoisson";}

◆ engine()

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

Reimplemented from CLHEP::HepRandom.

Reimplemented in CLHEP::RandPoissonQ.

Definition at line 38 of file RandPoisson.cc.

38{return *localEngine;}
std::shared_ptr< HepRandomEngine > localEngine
Definition: RandPoisson.h:117

References localEngine.

Referenced by CLHEP::RandPoissonQ::engine().

◆ fire() [1/2]

long CLHEP::RandPoisson::fire ( )

Definition at line 215 of file RandPoisson.cc.

215 {
216 return long(fire( defaultMean ));
217}

References defaultMean, and fire().

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

◆ fire() [2/2]

long CLHEP::RandPoisson::fire ( double  mean)

Definition at line 219 of file RandPoisson.cc.

219 {
220
221// Returns as a floating-point number an integer value that is a random
222// deviation drawn from a Poisson distribution of mean xm, using flat()
223// as a source of uniform random numbers.
224// (Adapted from Numerical Recipes in C)
225
226 double em, t, y;
227 double sq, alxm, g1;
228
229 sq = status[0];
230 alxm = status[1];
231 g1 = status[2];
232
233 if( xm == -1 ) return 0;
234 if( xm < 12.0 ) {
235 if( xm != oldm ) {
236 oldm = xm;
237 g1 = std::exp(-xm);
238 }
239 em = -1;
240 t = 1.0;
241 do {
242 em += 1.0;
243 t *= localEngine->flat();
244 } while( t > g1 );
245 }
246 else if ( xm < meanMax ) {
247 if ( xm != oldm ) {
248 oldm = xm;
249 sq = std::sqrt(2.0*xm);
250 alxm = std::log(xm);
251 g1 = xm*alxm - gammln(xm + 1.0);
252 }
253 do {
254 do {
255 y = std::tan(CLHEP::pi*localEngine->flat());
256 em = sq*y + xm;
257 } while( em < 0.0 );
258 em = std::floor(em);
259 t = 0.9*(1.0 + y*y)* std::exp(em*alxm - gammln(em + 1.0) - g1);
260 } while( localEngine->flat() > t );
261 }
262 else {
263 em = xm + std::sqrt(xm) * normal (localEngine.get()); // mf 1/13/06
264 if ( static_cast<long>(em) < 0 )
265 em = static_cast<long>(xm) >= 0 ? xm : getMaxMean();
266 }
267 status[0] = sq; status[1] = alxm; status[2] = g1;
268 return long(em);
269}
static double getMaxMean()
Definition: RandPoisson.h:103
double gammln(double xx)
Definition: RandPoisson.cc:56
static double normal(HepRandomEngine *eptr)
Definition: RandPoisson.cc:79
static constexpr double pi
Definition: SystemOfUnits.h:55

References CLHEP::gammln(), getMaxMean(), localEngine, meanMax, CLHEP::normal(), oldm, CLHEP::pi, and status.

◆ fireArray() [1/2]

void CLHEP::RandPoisson::fireArray ( const int  size,
long *  vect 
)

Definition at line 271 of file RandPoisson.cc.

272{
273 for( long* v = vect; v != vect + size; ++v )
274 *v = fire( defaultMean );
275}

References defaultMean, and fire().

◆ fireArray() [2/2]

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

Definition at line 277 of file RandPoisson.cc.

278{
279 for( long* v = vect; v != vect + size; ++v )
280 *v = fire( m1 );
281}

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::RandPoisson::get ( std::istream &  is)
virtual

Reimplemented from CLHEP::HepRandom.

Reimplemented in CLHEP::RandPoissonQ.

Definition at line 304 of file RandPoisson.cc.

304 {
305 std::string inName;
306 is >> inName;
307 if (inName != name()) {
308 is.clear(std::ios::badbit | is.rdstate());
309 std::cerr << "Mismatch when expecting to read state of a "
310 << name() << " distribution\n"
311 << "Name found was " << inName
312 << "\nistream is left in the badbit state\n";
313 return is;
314 }
315 if (possibleKeywordInput(is, "Uvec", meanMax)) {
316 std::vector<unsigned long> t(2);
317 is >> meanMax >> t[0] >> t[1]; meanMax = DoubConv::longs2double(t);
318 is >> defaultMean >> t[0] >> t[1]; defaultMean = DoubConv::longs2double(t);
319 is >> status[0] >> t[0] >> t[1]; status[0] = DoubConv::longs2double(t);
320 is >> status[1] >> t[0] >> t[1]; status[1] = DoubConv::longs2double(t);
321 is >> status[2] >> t[0] >> t[1]; status[2] = DoubConv::longs2double(t);
322 is >> oldm >> t[0] >> t[1]; oldm = DoubConv::longs2double(t);
323 return is;
324 }
325 // is >> meanMax encompassed by possibleKeywordInput
326 is >> defaultMean >> status[0] >> status[1] >> status[2];
327 return is;
328}
static double longs2double(const std::vector< unsigned long > &v)
Definition: DoubConv.cc:110
std::string name() const
Definition: RandPoisson.cc:37
bool possibleKeywordInput(IS &is, const std::string &key, T &t)
Definition: RandomEngine.h:166

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

Referenced by CLHEP::RandPoissonQ::get().

◆ getLocalEngine()

HepRandomEngine * CLHEP::RandPoisson::getLocalEngine ( )
inlineprotected

◆ getMaxMean()

static double CLHEP::RandPoisson::getMaxMean ( )
inlinestaticprotected

Definition at line 103 of file RandPoisson.h.

103{return meanMax_st;}
static const double meanMax_st
Definition: RandPoisson.h:123

References meanMax_st.

Referenced by fire(), and shoot().

◆ getOldMean()

static double CLHEP::RandPoisson::getOldMean ( )
inlinestaticprotected

Definition at line 101 of file RandPoisson.h.

101{return oldm_st;}
static CLHEP_THREAD_LOCAL double oldm_st
Definition: RandPoisson.h:122

References oldm_st.

Referenced by shoot().

◆ getPStatus()

static double * CLHEP::RandPoisson::getPStatus ( )
inlinestaticprotected

Definition at line 107 of file RandPoisson.h.

107{return status_st;}
static CLHEP_THREAD_LOCAL double status_st[3]
Definition: RandPoisson.h:121

References status_st.

Referenced by shoot().

◆ 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::RandPoisson::name ( ) const
virtual

Reimplemented from CLHEP::HepRandom.

Reimplemented in CLHEP::RandPoissonQ.

Definition at line 37 of file RandPoisson.cc.

37{return "RandPoisson";}

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

◆ operator()() [1/2]

double CLHEP::RandPoisson::operator() ( )
virtual

Reimplemented from CLHEP::HepRandom.

Reimplemented in CLHEP::RandPoissonQ.

Definition at line 48 of file RandPoisson.cc.

48 {
49 return double(fire( defaultMean ));
50}

References defaultMean, and fire().

◆ operator()() [2/2]

double CLHEP::RandPoisson::operator() ( double  mean)

Definition at line 52 of file RandPoisson.cc.

52 {
53 return double(fire( mean ));
54}

References fire().

◆ put()

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

Reimplemented from CLHEP::HepRandom.

Reimplemented in CLHEP::RandPoissonQ.

Definition at line 283 of file RandPoisson.cc.

283 {
284 int pr=os.precision(20);
285 std::vector<unsigned long> t(2);
286 os << " " << name() << "\n";
287 os << "Uvec" << "\n";
289 os << meanMax << " " << t[0] << " " << t[1] << "\n";
291 os << defaultMean << " " << t[0] << " " << t[1] << "\n";
293 os << status[0] << " " << t[0] << " " << t[1] << "\n";
295 os << status[1] << " " << t[0] << " " << t[1] << "\n";
297 os << status[2] << " " << t[0] << " " << t[1] << "\n";
299 os << oldm << " " << t[0] << " " << t[1] << "\n";
300 os.precision(pr);
301 return os;
302}
static std::vector< unsigned long > dto2longs(double d)
Definition: DoubConv.cc:94

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

Referenced by CLHEP::RandPoissonQ::put().

◆ 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().

◆ setOldMean()

static void CLHEP::RandPoisson::setOldMean ( double  val)
inlinestaticprotected

Definition at line 105 of file RandPoisson.h.

105{oldm_st = val;}

References oldm_st.

Referenced by shoot().

◆ setPStatus()

static void CLHEP::RandPoisson::setPStatus ( double  sq,
double  alxm,
double  g1 
)
inlinestaticprotected

Definition at line 109 of file RandPoisson.h.

109 {
110 status_st[0] = sq; status_st[1] = alxm; status_st[2] = g1;
111 }

References status_st.

Referenced by shoot().

◆ 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/2]

long CLHEP::RandPoisson::shoot ( double  mean = 1.0)
static

Definition at line 93 of file RandPoisson.cc.

93 {
94
95// Returns as a floating-point number an integer value that is a random
96// deviation drawn from a Poisson distribution of mean xm, using flat()
97// as a source of uniform random numbers.
98// (Adapted from Numerical Recipes in C)
99
100 double em, t, y;
101 double sq, alxm, g1;
102 double om = getOldMean();
103 HepRandomEngine* anEngine = HepRandom::getTheEngine();
104
105 double* pstatus = getPStatus();
106 sq = pstatus[0];
107 alxm = pstatus[1];
108 g1 = pstatus[2];
109
110 if( xm == -1 ) return 0;
111 if( xm < 12.0 ) {
112 if( xm != om ) {
113 setOldMean(xm);
114 g1 = std::exp(-xm);
115 }
116 em = -1;
117 t = 1.0;
118 do {
119 em += 1.0;
120 t *= anEngine->flat();
121 } while( t > g1 );
122 }
123 else if ( xm < getMaxMean() ) {
124 if ( xm != om ) {
125 setOldMean(xm);
126 sq = std::sqrt(2.0*xm);
127 alxm = std::log(xm);
128 g1 = xm*alxm - gammln(xm + 1.0);
129 }
130 do {
131 do {
132 y = std::tan(CLHEP::pi*anEngine->flat());
133 em = sq*y + xm;
134 } while( em < 0.0 );
135 em = std::floor(em);
136 t = 0.9*(1.0 + y*y)* std::exp(em*alxm - gammln(em + 1.0) - g1);
137 } while( anEngine->flat() > t );
138 }
139 else {
140 em = xm + std::sqrt(xm) * normal (anEngine); // mf 1/13/06
141 if ( static_cast<long>(em) < 0 )
142 em = static_cast<long>(xm) >= 0 ? xm : getMaxMean();
143 }
144 setPStatus(sq,alxm,g1);
145 return long(em);
146}
static double getOldMean()
Definition: RandPoisson.h:101
static void setOldMean(double val)
Definition: RandPoisson.h:105
static void setPStatus(double sq, double alxm, double g1)
Definition: RandPoisson.h:109
static double * getPStatus()
Definition: RandPoisson.h:107

References CLHEP::HepRandomEngine::flat(), CLHEP::gammln(), getMaxMean(), getOldMean(), getPStatus(), CLHEP::HepRandom::getTheEngine(), CLHEP::normal(), G4InuclParticleNames::om, CLHEP::pi, setOldMean(), and setPStatus().

Referenced by CLHEP::RandPoissonQ::poissonDeviateSmall(), and shootArray().

◆ shoot() [2/2]

long CLHEP::RandPoisson::shoot ( HepRandomEngine anEngine,
double  mean = 1.0 
)
static

Definition at line 154 of file RandPoisson.cc.

154 {
155
156// Returns as a floating-point number an integer value that is a random
157// deviation drawn from a Poisson distribution of mean xm, using flat()
158// of a given Random Engine as a source of uniform random numbers.
159// (Adapted from Numerical Recipes in C)
160
161 double em, t, y;
162 double sq, alxm, g1;
163 double om = getOldMean();
164
165 double* pstatus = getPStatus();
166 sq = pstatus[0];
167 alxm = pstatus[1];
168 g1 = pstatus[2];
169
170 if( xm == -1 ) return 0;
171 if( xm < 12.0 ) {
172 if( xm != om ) {
173 setOldMean(xm);
174 g1 = std::exp(-xm);
175 }
176 em = -1;
177 t = 1.0;
178 do {
179 em += 1.0;
180 t *= anEngine->flat();
181 } while( t > g1 );
182 }
183 else if ( xm < getMaxMean() ) {
184 if ( xm != om ) {
185 setOldMean(xm);
186 sq = std::sqrt(2.0*xm);
187 alxm = std::log(xm);
188 g1 = xm*alxm - gammln(xm + 1.0);
189 }
190 do {
191 do {
192 y = std::tan(CLHEP::pi*anEngine->flat());
193 em = sq*y + xm;
194 } while( em < 0.0 );
195 em = std::floor(em);
196 t = 0.9*(1.0 + y*y)* std::exp(em*alxm - gammln(em + 1.0) - g1);
197 } while( anEngine->flat() > t );
198 }
199 else {
200 em = xm + std::sqrt(xm) * normal (anEngine); // mf 1/13/06
201 if ( static_cast<long>(em) < 0 )
202 em = static_cast<long>(xm) >= 0 ? xm : getMaxMean();
203 }
204 setPStatus(sq,alxm,g1);
205 return long(em);
206}

References CLHEP::HepRandomEngine::flat(), CLHEP::gammln(), getMaxMean(), getOldMean(), getPStatus(), CLHEP::normal(), G4InuclParticleNames::om, CLHEP::pi, setOldMean(), and setPStatus().

◆ shootArray() [1/2]

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

Definition at line 148 of file RandPoisson.cc.

149{
150 for( long* v = vect; v != vect + size; ++v )
151 *v = shoot(m1);
152}
static long shoot(double mean=1.0)
Definition: RandPoisson.cc:93

References shoot().

◆ shootArray() [2/2]

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

Definition at line 208 of file RandPoisson.cc.

210{
211 for( long* v = vect; v != vect + size; ++v )
212 *v = shoot(anEngine,m1);
213}

References shoot().

◆ showEngineStatus()

void CLHEP::HepRandom::showEngineStatus ( )
staticinherited

Field Documentation

◆ defaultMean

double CLHEP::RandPoisson::defaultMean
protected

◆ localEngine

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

Definition at line 117 of file RandPoisson.h.

Referenced by engine(), and fire().

◆ meanMax

double CLHEP::RandPoisson::meanMax
protected

Definition at line 98 of file RandPoisson.h.

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

◆ meanMax_st

const double CLHEP::RandPoisson::meanMax_st = 2.0E9
staticprivate

Definition at line 123 of file RandPoisson.h.

Referenced by getMaxMean().

◆ oldm

double CLHEP::RandPoisson::oldm
private

Definition at line 118 of file RandPoisson.h.

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

◆ oldm_st

CLHEP_THREAD_LOCAL double CLHEP::RandPoisson::oldm_st = -1.0
staticprivate

Definition at line 122 of file RandPoisson.h.

Referenced by getOldMean(), and setOldMean().

◆ seedTable

const long CLHEP::HepRandom::seedTable
staticprotectedinherited

Definition at line 156 of file Random.h.

◆ status

double CLHEP::RandPoisson::status[3]
private

Definition at line 118 of file RandPoisson.h.

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

◆ status_st

CLHEP_THREAD_LOCAL double CLHEP::RandPoisson::status_st = {0., 0., 0.}
staticprivate

Definition at line 121 of file RandPoisson.h.

Referenced by getPStatus(), and setPStatus().


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