10 #include "nutools/RandomUtils/NuRandomService.h" 49 virtual void beginSubRun(
art::SubRun const&)
override;
54 SeedTestRegisterOnSubRun::SeedTestRegisterOnSubRun
60 void SeedTestRegisterOnSubRun::beginSubRun(
art::SubRun const&) {
63 auto const seed = Seeds->
getSeed();
66 <<
"Got seed=" << seed
67 <<
" for unregistered (unnamed) engine in beginSubRun(); should have thrown!";
virtual void analyze(const art::Event &) override
seed_t getSeed(std::string instanceName)
Returns a seed for the engine with specified instance name.
MaybeLogger_< ELseverityLevel::ELsev_error, false > LogError
Test module for NuRandomService.
#define DEFINE_ART_MODULE(klass)