FairRoot/PandaRoot
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
pgenerators
EvtGen
Photos
Photos
PhotosRandom.h
Go to the documentation of this file.
1
#ifndef _PhotosRandom_included_
2
#define _PhotosRandom_included_
3
17
namespace
Photospp
18
{
19
20
class
PhotosRandom
21
{
22
public
:
23
/* Change the seed. Default is s1=1802 and s2=9373
24
These values must be in range [0,31327] and [0,30080] respectively */
25
static
void
setSeed
(
int
s1,
int
s2);
26
27
/* Initialization routine. Must be called at least once before
28
the generator can be used. */
29
static
void
initialize
();
30
31
/* Uniform distribution between 0 and 1 */
32
static
double
randomReal
();
33
34
protected
:
35
static
bool
init
;
36
static
int
iseed
[2];
37
static
int
i97
;
38
static
int
j97
;
39
static
double
uran
[97];
40
static
double
cran
;
41
static
const
double
cdran
;
42
static
const
double
cmran
;
43
};
44
45
}
// namespace Photospp
46
#endif
Photospp::PhotosRandom::setSeed
static void setSeed(int s1, int s2)
Definition:
PhotosRandom.cxx:25
Photospp::PhotosRandom::randomReal
static double randomReal()
Definition:
PhotosRandom.cxx:91
Photospp::PhotosRandom::cmran
static const double cmran
Definition:
PhotosRandom.h:42
Photospp::PhotosRandom::init
static bool init
Definition:
PhotosRandom.h:35
Photospp::PhotosRandom::iseed
static int iseed[2]
Definition:
PhotosRandom.h:36
Photospp::PhotosRandom::cdran
static const double cdran
Definition:
PhotosRandom.h:41
Photospp::PhotosRandom::initialize
static void initialize()
Definition:
PhotosRandom.cxx:45
Photospp::PhotosRandom::cran
static double cran
Definition:
PhotosRandom.h:40
Photospp::PhotosRandom::i97
static int i97
Definition:
PhotosRandom.h:37
Photospp::PhotosRandom::j97
static int j97
Definition:
PhotosRandom.h:38
Photospp::PhotosRandom::uran
static double uran[97]
Definition:
PhotosRandom.h:39
Photospp::PhotosRandom
Definition:
PhotosRandom.h:20
Generated on Wed Apr 3 2019 10:02:48 for FairRoot/PandaRoot by
1.8.5