LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
Helper to instantiate a random number policy class. More...
#include "nurandom/RandomUtils/Providers/PolicyNames.h"
#include "cetlib_except/exception.h"
#include <algorithm>
#include <vector>
#include <string>
#include <cassert>
Go to the source code of this file.
Namespaces | |
rndm::details | |
Macros | |
#define | NURANDOM_SEED_SERVICE_POLICY(x) #x, |
Functions | |
std::vector< std::string > const & | rndm::details::policyNames () |
Returns a list of names of policies, in the same order as Policy enum. More... | |
std::string const & | rndm::details::policyName (Policy policy) |
Returns the name of the specified policy. More... | |
Policy | rndm::details::policyFromName (std::string const &name) |
Returns the policy with the specified name . More... | |
Helper to instantiate a random number policy class.
Definition in file PolicyNames.cxx.