CepGen 1.2.5
Central exclusive processes event generator
|
Collection of events generation parameters. More...
#include <CepGen/Core/RunParameters.h>
Public Member Functions | |
Generation (const ParametersList &=ParametersList()) | |
Build a generation parameters collection from a user input. | |
void | setTargetLuminosity (double lumi_invpb) |
Set target luminosity, in pb^-1. | |
double | targetLuminosity () const |
Target luminosity to reach, in pb^-1. | |
void | setMaxGen (size_t max_gen) |
Set the maximal number of events to generate. | |
size_t | maxGen () const |
Maximal number of events to generate. | |
bool | enabled () const |
Are we generating events? | |
void | setPrintEvery (size_t print_every) |
Set the events display frequency. | |
size_t | printEvery () const |
Frequency at which events are displayed to the user. | |
void | setSymmetrise (bool sym) |
Switch the symmetrisation of the z-axis for each event. | |
bool | symmetrise () const |
Symmetrise events wrt the \(z\)-axis ? | |
void | setNumThreads (size_t nt) |
Set the number of threads for the events generation. | |
size_t | numThreads () const |
Number of threads to perform the events generation. | |
void | setNumPoints (size_t np) |
Set the number of points to probe in each integration bin. | |
size_t | numPoints () const |
Number of points to "shoot" in each integration bin. | |
bool | operator== (const SteeredObject &oth) const |
Equality operator. | |
bool | operator!= (const SteeredObject &oth) const |
Inequality operator. | |
const ParametersList & | parameters () const override |
Module user-defined parameters. | |
virtual void | setParameters (const ParametersList ¶ms) override |
Set module parameters. | |
void | setDescribedParameters (const ParametersList ¶ms_orig) |
Set (documented) module parameters. | |
Static Public Member Functions | |
static ParametersDescription | description () |
Protected Member Functions | |
template<typename T > | |
T | steer (const std::string &key) const |
Retrieve a parameters as previously steered. | |
template<typename T , typename U > | |
U | steerAs (const std::string &key) const |
Retrieve a recasted parameters as previously steered. | |
std::string | steerName () const |
Retrieve module name from parameters. | |
std::string | steerPath (const std::string &key) const |
Retrieve a path from common search paths. | |
Protected Attributes | |
ParametersList | params_ |
Module parameters. | |
Definition at line 81 of file RunParameters.h.
|
explicit |
Definition at line 277 of file RunParameters.cpp.
|
static |
Definition at line 287 of file RunParameters.cpp.
bool enabled | ( | ) | const |
Definition at line 92 of file RunParameters.h.
size_t maxGen | ( | ) | const |
Definition at line 91 of file RunParameters.h.
size_t numPoints | ( | ) | const |
Definition at line 100 of file RunParameters.h.
size_t numThreads | ( | ) | const |
Definition at line 98 of file RunParameters.h.
|
inherited |
Definition at line 51 of file SteeredObject.h.
|
inherited |
Definition at line 49 of file SteeredObject.h.
|
overridevirtualinherited |
Reimplemented from Steerable.
Definition at line 54 of file SteeredObject.h.
size_t printEvery | ( | ) | const |
Definition at line 94 of file RunParameters.h.
|
inherited |
Definition at line 73 of file SteeredObject.h.
void setMaxGen | ( | size_t | max_gen | ) |
Definition at line 90 of file RunParameters.h.
void setNumPoints | ( | size_t | np | ) |
Definition at line 99 of file RunParameters.h.
void setNumThreads | ( | size_t | nt | ) |
Definition at line 97 of file RunParameters.h.
|
overridevirtualinherited |
Reimplemented from Steerable.
Definition at line 62 of file SteeredObject.h.
void setPrintEvery | ( | size_t | print_every | ) |
Definition at line 93 of file RunParameters.h.
void setSymmetrise | ( | bool | sym | ) |
Definition at line 95 of file RunParameters.h.
void setTargetLuminosity | ( | double | lumi_invpb | ) |
Definition at line 88 of file RunParameters.h.
|
protectedinherited |
Definition at line 39 of file Steerable.h.
Definition at line 44 of file Steerable.h.
|
protectedinherited |
Definition at line 48 of file Steerable.h.
|
protectedinherited |
Definition at line 30 of file Steerable.cpp.
bool symmetrise | ( | ) | const |
Definition at line 96 of file RunParameters.h.
double targetLuminosity | ( | ) | const |
Definition at line 89 of file RunParameters.h.
|
mutableprotectedinherited |
Definition at line 50 of file Steerable.h.