![]() |
LArSoft
v09_93_00
Liquid Argon Software toolkit - https://larsoft.org/
|
An art service to assist in the distribution of guaranteed unique seeds to all engines within an art job. More...
#include <functional>#include <string>#include <utility>#include <initializer_list>#include "nurandom/RandomUtils/ArtState.h"#include "nurandom/RandomUtils/Providers/SeedMaster.h"#include "CLHEP/Random/RandomEngine.h"#include "fhiclcpp/types/OptionalAtom.h"#include "fhiclcpp/ParameterSet.h"#include "art/Framework/Core/detail/EngineCreator.h"#include "art/Framework/Services/Optional/RandomNumberGenerator.h"#include "art/Framework/Services/Registry/ServiceDeclarationMacros.h"#include "art/Persistency/Provenance/ScheduleContext.h"Go to the source code of this file.
Classes | |
| class | rndm::NuRandomService |
| An art service to assist in the distribution of guaranteed unique seeds to all engines within an art job. More... | |
| class | rndm::NuRandomService::CLHEPengineSeeder |
| Seeder_t functor setting the seed of a CLHEP::HepRandomEngine engine (untested!) More... | |
Namespaces | |
| art | |
| rndm | |
Macros | |
| #define | NURANDOM_RANDOMUTILS_NuRandomService_USECLHEP 1 |
| Define to zero to exclude special CLHEP random engine support. More... | |
| #define | NURANDOM_RANDOMUTILS_NuRandomService_USEROOT 0 |
| Define to non-zero to include special ROOT random generator support. More... | |
Typedefs | |
| using | rndm::seed_t = art::detail::EngineCreator::seed_t |
| Type of seed used in art and by us. More... | |
| using | rndm::SeedAtom = fhicl::OptionalAtom< seed_t > |
| Type of FHiCL parameter to be used to read a random seed. More... | |
An art service to assist in the distribution of guaranteed unique seeds to all engines within an art job.
Definition in file NuRandomService.h.
| #define NURANDOM_RANDOMUTILS_NuRandomService_USECLHEP 1 |
Define to zero to exclude special CLHEP random engine support.
Definition at line 15 of file NuRandomService.h.
| #define NURANDOM_RANDOMUTILS_NuRandomService_USEROOT 0 |
Define to non-zero to include special ROOT random generator support.
Definition at line 21 of file NuRandomService.h.