cepgen is hosted by Hepforge, IPPP Durham
CepGen 1.2.5
Central exclusive processes event generator
Loading...
Searching...
No Matches
GeneratorWorkerFactory.h File Reference
+ Include dependency graph for GeneratorWorkerFactory.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.
 

Macros

#define REGISTER_GENERATOR_WORKER(name, obj)
 Add a generator worker to the list of handled modules.
 

Functions

 DEFINE_FACTORY (GeneratorWorkerFactory, GeneratorWorker, "Generator worker factory")
 A generator worker algorithms factory.
 

Macro Definition Documentation

◆ REGISTER_GENERATOR_WORKER

#define REGISTER_GENERATOR_WORKER (   name,
  obj 
)
Value:
namespace cepgen { \
struct BUILDERNM(obj) { \
BUILDERNM(obj)() { GeneratorWorkerFactory::get().registerModule<obj>(name); } \
}; \
static const BUILDERNM(obj) gGenWorker##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 GeneratorWorkerFactory.h.