9 #ifndef NURANDOM_RANDOMUTILS_PROVIDERS_POLICYNAMES_H 10 #define NURANDOM_RANDOMUTILS_PROVIDERS_POLICYNAMES_H 14 #include "cetlib_except/exception.h" 22 #define NURANDOM_SEED_SERVICE_POLICIES \ 23 NURANDOM_SEED_SERVICE_POLICY(unDefined) \ 24 NURANDOM_SEED_SERVICE_POLICY(autoIncrement) \ 25 NURANDOM_SEED_SERVICE_POLICY(linearMapping) \ 26 NURANDOM_SEED_SERVICE_POLICY(preDefinedOffset) \ 27 NURANDOM_SEED_SERVICE_POLICY(preDefinedSeed) \ 28 NURANDOM_SEED_SERVICE_POLICY(random) \ 29 NURANDOM_SEED_SERVICE_POLICY(perEvent) \ 39 #define NURANDOM_SEED_SERVICE_POLICY(x) x, 41 #undef NURANDOM_SEED_SERVICE_POLICY 78 #endif // NURANDOM_RANDOMUTILS_PROVIDERS_POLICYNAMES_H std::vector< std::string > const & policyNames()
Returns a list of names of policies, in the same order as Policy enum.
Policy
Enumeration of all supported random seed policies.
std::string const & policyName(Policy policy)
Returns the name of the specified policy.
Policy policyFromName(std::string const &policyName)
Returns the policy with the specified name.