15 placeholder_schedule_id()
25 EngineCreator::base_engine_t&
28 return rng()->createEngine(placeholder_schedule_id(), seed);
33 std::string
const& kind_of_engine_to_make)
35 return rng()->createEngine(
36 placeholder_schedule_id(), seed, kind_of_engine_to_make);
41 std::string
const& kind_of_engine_to_make,
44 return rng()->createEngine(
45 placeholder_schedule_id(), seed, kind_of_engine_to_make, engine_label);
51 seed_t const implicit_seed)
53 auto const& explicit_seeds = pset.
get<std::vector<int>>(key, {});
54 return explicit_seeds.empty() ? implicit_seed : explicit_seeds.front();
seed_t get_seed_value(fhicl::ParameterSet const &pset, char const key[]="seed", seed_t const implicit_seed=-1)
RNGservice::label_t label_t
static ScheduleID first()
RNGservice::seed_t seed_t
base_engine_t & createEngine(seed_t seed)
T get(std::string const &key) const
RNGservice::base_engine_t base_engine_t
static art::ServiceHandle< art::RandomNumberGenerator > & rng()