LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
Helper to instantiate a random number policy class. More...
#include "nurandom/RandomUtils/Providers/RandomSeedPolicyBase.h"
#include "nurandom/RandomUtils/Providers/PolicyNames.h"
#include "nurandom/RandomUtils/Providers/PoliciesFwd.h"
#include "fhiclcpp/ParameterSet.h"
#include "cetlib_except/exception.h"
#include <memory>
#include <string>
Go to the source code of this file.
Classes | |
struct | rndm::details::PolicyStruct_t< SEED > |
Namespaces | |
rndm::details | |
Functions | |
template<typename SEED > | |
PolicyStruct_t< SEED > | rndm::details::makeRandomSeedPolicy (fhicl::ParameterSet const &config) |
Constructs and returns a RandomSeedPolicyBase based on config . More... | |
Helper to instantiate a random number policy class.
This is the random policy "factory", except that it does work very poorly as a factory (no automatic policy discovery, all policies must be linked in). As proven by the need for PoliciesFwd.h
header.
Definition in file PolicyFactory.h.