Functions used in NuRandomService tests (implementation file) More...
#include "SeedTestUtils.h"
#include "nutools/RandomUtils/NuRandomService.h"
#include <string>
#include <sstream>
#include <iomanip>
#include "CLHEP/Random/RandomEngine.h"
#include "CLHEP/Random/RandFlat.h"
#include "canvas/Utilities/Exception.h"
#include "art/Framework/Services/Optional/RandomNumberGenerator.h"
Go to the source code of this file.
Namespaces | |
testing | |
LArSoft test utilities. | |
testing::NuRandomService | |
Functions | |
bool | testing::NuRandomService::isSeedServiceException (std::exception const &e) |
Returns whether the exception looks to be from NuRandomService. More... | |
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. More... | |
unsigned short | testing::NuRandomService::RollStat (CLHEP::RandFlat &rand) |
Extracts "statistics" from a flat random number distribution. More... | |
std::string | testing::NuRandomService::CreateCharacter (CLHEP::HepRandomEngine &engine) |
Creates a "character statistics" using the specified random engine. More... | |
seed_t | testing::NuRandomService::readSeed (CLHEP::HepRandomEngine const &engine) |
Returns the seed of the specified engine (CLHEP overload) More... | |
Functions used in NuRandomService tests (implementation file)
Definition in file SeedTestUtils.cxx.