ATLAS Offline Software
Loading...
Searching...
No Matches
RNGWrapper.h File Reference
#include <string>
#include <cstdint>
#include <vector>
#include <functional>
#include "GaudiKernel/EventContext.h"
#include "GaudiKernel/ThreadLocalContext.h"
Include dependency graph for RNGWrapper.h:

Go to the source code of this file.

Classes

class  ATHRNG::RNGWrapper
 A wrapper class for event-slot-local random engines. More...

Namespaces

namespace  CLHEP
 STD'S.
namespace  ATHRNG

Functions

size_t ATHRNG::calculateSeedMC16 (const std::string &algName, uint64_t ev, uint64_t run, uint32_t offset=0)
 Helper methods.
size_t ATHRNG::calculateSeedMC20 (const std::string &algName, uint64_t ev, uint64_t run)
 Set the random seed using a string (e.g.
void ATHRNG::calculateSeedsMC21 (long *seeds, const std::string &algName, uint64_t ev, uint64_t run, uint64_t offset=0)
 Set the random seed using a string (e.g.
long ATHRNG::calculateSeedsPython (const std::string &algName, uint64_t ev, uint64_t run, uint64_t offset=0)