MCBooster
1.0.1
Tool to generate MC phase space samples in parallel.
|
Fill a given vector with random numbers between 0 and 1. More...
#include <RandGen.h>
Public Member Functions | |
RandGen (const GInt_t _ndaughters, GReal_t *_rnd) | |
RandGen ctor. More... | |
__host__ __device__ GUInt_t | hash (GUInt_t a) |
hash function. More... | |
__host__ __device__ void | operator() (GLong_t idx) |
operator(). More... | |
Public Attributes | |
GInt_t | fNDaughters |
Number of daughter particles. More... | |
GReal_t * | fRndNumbers |
Pointer to the array of random numbers. More... | |
Generate hashs to be used in random number generation initialization
Definition at line 56 of file RandGen.h.
Referenced by operator()().
|
inline |