9 #ifndef ARTEXTENSIONS_TEST_SEEDSERVICE_SEEDTESTUTILS_H 10 #define ARTEXTENSIONS_TEST_SEEDSERVICE_SEEDTESTUTILS_H 1 23 class HepRandomEngine;
29 namespace NuRandomService {
44 unsigned short RollStat(CLHEP::RandFlat& rand);
59 #endif // ARTEXTENSIONS_TEST_SEEDSERVICE_SEEDTESTUTILS_H
art::detail::EngineCreator::seed_t seed_t
Type of seed.
std::string CreateCharacter(CLHEP::HepRandomEngine &engine)
Creates a "character statistics" using the specified random engine.
CodeOutputInterface * code
seed_t readSeed(CLHEP::HepRandomEngine const &engine)
Returns the seed of the specified engine (CLHEP overload)
bool isSeedServiceException(std::exception const &e)
Returns whether the exception looks to be from NuRandomService.
cet::coded_exception< error, detail::translate > exception
unsigned short RollStat(CLHEP::RandFlat &rand)
Extracts "statistics" from a flat random number distribution.