Go to the source code of this file.
|
| | dd4hep |
| | Namespace for the AIDA detector description toolkit.
|
| |
| | dd4hep::sim |
| | Namespace for the Geant4 based simulation part of the AIDA detector description toolkit.
|
| |
| | EventSeed |
| | Set the event seed for each event.
|
| |
|
| unsigned | dd4hep::sim::jenkins_hash (unsigned char *k, unsigned length, unsigned initval) |
| |
| unsigned int | dd4hep::sim::hash (unsigned int initialSeed, unsigned int eventNumber, unsigned int runNumber) |
| | calculate hash from initialSeed, eventID and runID More...
|
| |
◆ hashmask
| #define hashmask |
( |
|
n | ) |
( hashsize ( n ) - 1 ) |
◆ hashsize
| #define hashsize |
( |
|
n | ) |
( 1U << (n) ) |
◆ mix
Value: { \
a -= b; a -= c; a ^= (c>>13); \
b -= c; b -= a; b ^= (a<<8); \
c -= a; c -= b; c ^= (b>>13); \
a -= b; a -= c; a ^= (c>>12); \
b -= c; b -= a; b ^= (a<<16); \
c -= a; c -= b; c ^= (b>>5); \
a -= b; a -= c; a ^= (c>>3); \
b -= c; b -= a; b ^= (a<<10); \
c -= a; c -= b; c ^= (b>>15); \
}
Definition at line 104 of file Geant4EventSeed.h.