cepgen is hosted by Hepforge, IPPP Durham
CepGen N/A
Central exclusive processes event generator
ProcessFactory.h File Reference
+ Include dependency graph for ProcessFactory.h:

Go to the source code of this file.

Namespaces

namespace  cepgen
 Common namespace for this Monte Carlo generator.
 
namespace  cepgen::mg5amc
 

Macros

#define REGISTER_MG5AMC_PROCESS(name, obj)
 Add a MadGraph process definition to the factory.
 

Functions

 DEFINE_FACTORY (ProcessFactory, Process, "MadGraph process definition factory")
 A MadGraph process factory.
 

Macro Definition Documentation

◆ REGISTER_MG5AMC_PROCESS

#define REGISTER_MG5AMC_PROCESS ( name,
obj )
Value:
namespace cepgen::mg5amc { \
struct BUILDER_NAME(obj) { \
BUILDER_NAME(obj)() { ProcessFactory::get().registerModule<obj>(name); } \
}; \
static const BUILDER_NAME(obj) gMGProc##obj; \
} \
static_assert(true, "")
#define BUILDER_NAME(obj)
Name of the object builder.

Definition at line 25 of file ProcessFactory.h.