cepgen is hosted by Hepforge, IPPP Durham
CepGen 1.2.5
Central exclusive processes event generator
Loading...
Searching...
No Matches
DerivatorFactory.h File Reference
+ Include dependency graph for DerivatorFactory.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_DERIVATOR(name, obj)
 Add a generic derivator object builder definition.
 

Functions

 DEFINE_FACTORY (DerivatorFactory, utils::Derivator, "Derivators factory")
 An analytical derivator objects factory.
 

Macro Definition Documentation

◆ REGISTER_DERIVATOR

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