cepgen is hosted by Hepforge, IPPP Durham
CepGen 1.2.5
Central exclusive processes event generator
Loading...
Searching...
No Matches
DrawerFactory.h File Reference
+ Include dependency graph for DrawerFactory.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_DRAWER(name, obj)
 Add a drawing utilitary.
 

Functions

 DEFINE_FACTORY (DrawerFactory, utils::Drawer, "Drawing utilitary factory")
 A plotting utilitaries factory.
 

Macro Definition Documentation

◆ REGISTER_DRAWER

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