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

Functions

 DEFINE_FACTORY (EventExporterFactory, EventExporter, "Export modules factory")
 An output modules factory.
 

Macro Definition Documentation

◆ REGISTER_EXPORTER

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