cepgen is hosted by Hepforge, IPPP Durham
CepGen 1.2.5
Central exclusive processes event generator
Loading...
Searching...
No Matches
RandomGeneratorFactory.h File Reference
+ Include dependency graph for RandomGeneratorFactory.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  cepgen
 Common namespace for this Monte Carlo generator.
 
namespace  cepgen::utils
 Collection of utilities.
 

Macros

#define REGISTER_RANDOM_GENERATOR(name, obj)
 Add a generic random number generator definition to the list of handled modules.
 

Functions

 DEFINE_FACTORY (RandomGeneratorFactory, utils::RandomGenerator, "Random number generator factory")
 A random number generator algorithms factory.
 

Macro Definition Documentation

◆ REGISTER_RANDOM_GENERATOR

#define REGISTER_RANDOM_GENERATOR (   name,
  obj 
)
Value:
namespace cepgen { \
struct BUILDERNM(obj) { \
BUILDERNM(obj)() { RandomGeneratorFactory::get().registerModule<obj>(name); } \
}; \
static const BUILDERNM(obj) gRndGen##obj; \
} \
static_assert(true, "")
#define BUILDERNM(obj)
Name of the object builder.
Common namespace for this Monte Carlo generator.

Definition at line 25 of file RandomGeneratorFactory.h.