cepgen is hosted by Hepforge, IPPP Durham
CepGen N/A
Central exclusive processes event generator
StructureFunctionsFactory.h File Reference
+ Include dependency graph for StructureFunctionsFactory.h:

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 parameterisations.
 
#define REGISTER_SIGMA_RATIO(name, id, obj)
 Add a longitudinal/transverse cross-sections ratio definition to the list of handled parameterisations.
 

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_SIGMA_RATIO

#define REGISTER_SIGMA_RATIO ( name,
id,
obj )
Value:
namespace cepgen::sigrat { \
struct BUILDER_NAME(obj) { \
BUILDER_NAME(obj)() { SigmaRatiosFactory::get().addIndex(id, name).registerModule<obj>(name); } \
}; \
static const BUILDER_NAME(obj) gSigRat##obj; \
} \
static_assert(true, "")
#define BUILDER_NAME(obj)
Name of the object builder.
A collector namespace for modellings of the ratio.

Definition at line 35 of file StructureFunctionsFactory.h.

◆ REGISTER_STRFUN

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

Definition at line 25 of file StructureFunctionsFactory.h.