Typedefs | |
using | seed_t = art::detail::EngineCreator::seed_t |
Type of seed. More... | |
Functions | |
bool | isSeedServiceException (std::exception const &e) |
Returns whether the exception looks to be from NuRandomService. More... | |
bool | isSeedServiceException (std::exception const &e, art::errors::ErrorCodes code) |
Returns whether the exception looks to be from NuRandomService and has specified code. More... | |
unsigned short | RollStat (CLHEP::RandFlat &rand) |
Extracts "statistics" from a flat random number distribution. More... | |
std::string | CreateCharacter (CLHEP::HepRandomEngine &engine) |
Creates a "character statistics" using the specified random engine. More... | |
seed_t | readSeed (CLHEP::HepRandomEngine const &engine) |
Returns the seed of the specified engine (CLHEP overload) More... | |
using testing::NuRandomService::seed_t = typedef art::detail::EngineCreator::seed_t |
Type of seed.
Definition at line 32 of file SeedTestUtils.h.
std::string testing::NuRandomService::CreateCharacter | ( | CLHEP::HepRandomEngine & | engine | ) |
Creates a "character statistics" using the specified random engine.
Definition at line 79 of file SeedTestUtils.cxx.
bool testing::NuRandomService::isSeedServiceException | ( | std::exception const & | e | ) |
Returns whether the exception looks to be from NuRandomService.
Definition at line 32 of file SeedTestUtils.cxx.
bool testing::NuRandomService::isSeedServiceException | ( | std::exception const & | e, |
art::errors::ErrorCodes | code | ||
) |
Returns whether the exception looks to be from NuRandomService and has specified code.
Returns whether the exception looks to be from NuRandomService and has specified code
Definition at line 56 of file SeedTestUtils.cxx.
seed_t testing::NuRandomService::readSeed | ( | CLHEP::HepRandomEngine const & | engine | ) |
Returns the seed of the specified engine (CLHEP overload)
Returns the seed of the specified engine
Definition at line 99 of file SeedTestUtils.cxx.
unsigned short testing::NuRandomService::RollStat | ( | CLHEP::RandFlat & | rand | ) |
Extracts "statistics" from a flat random number distribution.
Definition at line 65 of file SeedTestUtils.cxx.