cepgen is hosted by Hepforge, IPPP Durham
CepGen 1.2.5
Central exclusive processes event generator
Loading...
Searching...
No Matches
StructureFunctionsFactory.h File Reference
+ Include dependency graph for StructureFunctionsFactory.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::strfun
 Structure functions modelling scope.
 
namespace  cepgen::sigrat
 A collector namespace for modellings of the \(R=\sigma_L/\sigma_T\) ratio.
 

Macros

#define REGISTER_STRFUN(name, id, obj)
 Add a structure functions definition to the list of handled parameterisation.
 
#define REGISTER_SIGRAT(name, id, obj)
 Add a sigma ratio definition to the list of handled parameterisation.
 

Functions

 DEFINE_FACTORY (StructureFunctionsFactory, strfun::Parameterisation, "Nucleon structure functions parameterisations factory")
 A structure functions parameterisations factory.
 
 DEFINE_FACTORY (SigmaRatiosFactory, sigrat::Parameterisation, "Sigma L/T parameterisations factory")
 A sigma ratio parameterisations factory.
 

Macro Definition Documentation

◆ REGISTER_SIGRAT

#define REGISTER_SIGRAT (   name,
  id,
  obj 
)
Value:
namespace cepgen { \
namespace sigrat { \
struct BUILDERNM(obj) { \
BUILDERNM(obj)() { SigmaRatiosFactory::get().addIndex(id, name).registerModule<obj>(name); } \
}; \
static const BUILDERNM(obj) gSigRat##obj; \
} \
} \
static_assert(true, "")
#define BUILDERNM(obj)
Name of the object builder.
Common namespace for this Monte Carlo generator.

Definition at line 37 of file StructureFunctionsFactory.h.

◆ REGISTER_STRFUN

#define REGISTER_STRFUN (   name,
  id,
  obj 
)
Value:
namespace cepgen { \
namespace strfun { \
struct BUILDERNM(obj) { \
BUILDERNM(obj)() { StructureFunctionsFactory::get().addIndex(id, name).registerModule<obj>(name); } \
}; \
static const BUILDERNM(obj) gStrFun##obj; \
} \
} \
static_assert(true, "")

Definition at line 25 of file StructureFunctionsFactory.h.