LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
PolicyNames.h File Reference

Declaration of policy enumerator and names. More...

#include "cetlib_except/exception.h"
#include <vector>
#include <string>

Go to the source code of this file.

Namespaces

 rndm::details
 

Macros

#define NURANDOM_SEED_SERVICE_POLICIES
 
#define NURANDOM_SEED_SERVICE_POLICY(x)   x,
 

Enumerations

enum  rndm::details::Policy : unsigned { rndm::details::Policy::NURANDOM_SEED_SERVICE_POLICY, rndm::details::Policy::NURANDOM_SEED_SERVICE_POLICIES }
 Enumeration of all supported random seed policies. More...
 

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...
 

Detailed Description

Declaration of policy enumerator and names.

Author
Gianluca Petrillo (petri.nosp@m.llo@.nosp@m.slac..nosp@m.stan.nosp@m.ford..nosp@m.edu)
Date
20210809
See also
nurandom/RandomUtils/Providers/PolicyNames.cxx

Definition in file PolicyNames.h.

Macro Definition Documentation

#define NURANDOM_SEED_SERVICE_POLICIES
Value:

Definition at line 22 of file PolicyNames.h.

#define NURANDOM_SEED_SERVICE_POLICY (   x)    x,

Definition at line 39 of file PolicyNames.h.