cepgen is hosted by Hepforge, IPPP Durham
CepGen 1.2.5
Central exclusive processes event generator
Loading...
Searching...
No Matches
EventImporterFactory.h File Reference
+ Include dependency graph for EventImporterFactory.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_EVENT_IMPORTER(name, obj)
 Add a generic import module definition to the factory.
 

Functions

 DEFINE_FACTORY (EventImporterFactory, EventImporter, "Event importers factory")
 An event import algorithm factory.
 

Macro Definition Documentation

◆ REGISTER_EVENT_IMPORTER

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