cepgen is hosted by Hepforge, IPPP Durham
CepGen 1.2.5
Central exclusive processes event generator
Loading...
Searching...
No Matches
CardsHandlerFactory.h File Reference
+ Include dependency graph for CardsHandlerFactory.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  CardsHandlerFactory
 A cards handler factory. More...
 

Namespaces

namespace  cepgen
 Common namespace for this Monte Carlo generator.
 
namespace  cepgen::card
 Location for all steering card parsers/writers.
 

Macros

#define REGISTER_CARD_HANDLER(name, obj)
 Add a cards handler definition to the list of handled parsers.
 

Functions

 DEFINE_FACTORY (BaseCardsHandlerFactory, card::Handler, "Cards handlers factory")
 A cards handler base factory.
 

Macro Definition Documentation

◆ REGISTER_CARD_HANDLER

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