CepGen 1.2.5
Central exclusive processes event generator
|
Foam generator worker algorithm as developed by S. Jadach (Institute of Nuclear Physics, Krakow, PL) More...
Public Member Functions | |
FoamGeneratorWorker (const ParametersList ¶ms) | |
void | initialise () override |
Initialise the generation parameters. | |
bool | next () override |
Generate a single event. | |
double | Density (int ndim, double *x) override |
Compute the weight for a given phase space point. | |
void | setRunParameters (const RunParameters *) |
Specify the runtime parameters. | |
void | setIntegrator (const Integrator *integ) |
Specify the integrator instance handled by the mother generator. | |
void | generate (size_t num_events, const std::function< void(const proc::Process &)> &) |
Launch the event generation. | |
ProcessIntegrand & | integrand () |
Function evaluator. | |
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 | |
bool | storeEvent () |
Store the event in the output file. | |
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 | |
const Integrator * | integrator_ {nullptr} |
Pointer to the mother-handled integrator instance. | |
const RunParameters * | params_ {nullptr} |
Steering parameters for the event generation. | |
std::unique_ptr< ProcessIntegrand > | integrand_ |
Local event weight evaluator. | |
std::function< void(const proc::Process &)> | callback_proc_ {nullptr} |
Callback function for each new event. | |
Definition at line 33 of file FoamGeneratorWorker.cpp.
|
explicit |
Definition at line 35 of file FoamGeneratorWorker.cpp.
|
override |
Definition at line 88 of file FoamGeneratorWorker.cpp.
|
static |
Definition at line 52 of file FoamGeneratorWorker.cpp.
|
inherited |
[in] | num_events | Number of events to generate |
[in] | callback | The callback function applied on every event generated |
Definition at line 50 of file GeneratorWorker.cpp.
|
overridevirtual |
Implements GeneratorWorker.
Definition at line 68 of file FoamGeneratorWorker.cpp.
|
inherited |
Definition at line 47 of file GeneratorWorker.h.
|
overridevirtual |
Implements GeneratorWorker.
Definition at line 82 of file FoamGeneratorWorker.cpp.
|
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.
|
inherited |
Definition at line 73 of file SteeredObject.h.
|
inherited |
Definition at line 44 of file GeneratorWorker.cpp.
|
overridevirtualinherited |
Reimplemented from Steerable.
Definition at line 62 of file SteeredObject.h.
|
inherited |
Definition at line 33 of file GeneratorWorker.cpp.
|
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.
|
protectedinherited |
Definition at line 58 of file GeneratorWorker.cpp.
|
protectedinherited |
Definition at line 62 of file GeneratorWorker.h.
|
protectedinherited |
Definition at line 61 of file GeneratorWorker.h.
|
protectedinherited |
Definition at line 58 of file GeneratorWorker.h.
|
protectedinherited |
Definition at line 59 of file GeneratorWorker.h.