CepGen 1.2.5
Central exclusive processes event generator
|
Class template to define any hadroniser as a general object with defined methods. More...
#include <CepGen/Physics/Hadroniser.h>
Public Member Functions | |
Hadroniser (const ParametersList &) | |
Default constructor for an undefined hadroniser. | |
bool | fragmentRemnants () const |
Specify whether the beam remnants are to be fragmented. | |
void | setSeed (long long seed) |
Specify a random numbers generator seed for the external module. | |
virtual void | readString (const std::string &) |
Parse a configuration string. | |
virtual void | readStrings (const std::vector< std::string > &) |
Parse a list of configuration strings. | |
virtual bool | run (Event &ev, double &weight, bool fast=false)=0 |
Modify an event. | |
virtual void | setCrossSection (const Value &) |
Specify the cross section value, in pb. | |
void | initialise (const RunParameters &) |
Initialise the handler and its inner parameterisation. | |
const RunParameters & | runParameters () const |
List of run parameters. | |
template<typename T > | |
T * | engine () |
Retrieve the engine object. | |
const std::string & | name () const |
Module unique indexing name. | |
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 | |
virtual void | initialise ()=0 |
virtual void * | enginePtr () |
Engine object. | |
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 bool | remn_fragm_ |
Switch on/off the remnants fragmentation where applicable. | |
long long | seed_ {0ll} |
Random numbers generator seed fed to the algorithm. | |
unsigned short | max_trials_ {1} |
Maximal number of trials for the algorithm. | |
const std::string | name_ |
Module unique indexing name. | |
ParametersList | params_ |
Module parameters. | |
Definition at line 32 of file Hadroniser.h.
|
explicit |
Definition at line 24 of file Hadroniser.cpp.
|
static |
Definition at line 27 of file Hadroniser.cpp.
|
inherited |
Definition at line 42 of file EventHandler.h.
|
protectedvirtualinherited |
Definition at line 50 of file EventHandler.cpp.
bool fragmentRemnants | ( | ) | const |
Definition at line 40 of file Hadroniser.h.
|
protectedpure virtualinherited |
Implemented in PhotosFilter, TauolaFilter, Pythia6Hadroniser, LHEFHandler, and Pythia8Hadroniser.
|
inherited |
Definition at line 36 of file EventHandler.cpp.
|
inherited |
Definition at line 42 of file NamedModule.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.
|
virtualinherited |
Reimplemented in Pythia6Hadroniser, and Pythia8Hadroniser.
Definition at line 39 of file EventModifier.h.
|
virtualinherited |
Definition at line 31 of file EventModifier.cpp.
|
pure virtualinherited |
[in,out] | ev | Input/output event |
[in,out] | weight | Event weight after modification |
[in] | fast | run a faster version of the algorithm (whenever available) |
Implemented in PhotosFilter, TauolaFilter, Pythia6Hadroniser, and Pythia8Hadroniser.
|
inherited |
Definition at line 44 of file EventHandler.cpp.
|
virtualinherited |
Reimplemented in Pythia8Hadroniser.
Definition at line 48 of file EventModifier.h.
|
inherited |
Definition at line 73 of file SteeredObject.h.
|
overridevirtualinherited |
Reimplemented from Steerable.
Reimplemented in Initial, Remnants, CutsList, IncomingBeams, and Kinematics.
Definition at line 62 of file SteeredObject.h.
|
inherited |
[in] | seed | A RNG seed |
Definition at line 37 of file EventModifier.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.
|
protectedinherited |
Definition at line 52 of file EventModifier.h.
|
protectedinherited |
Definition at line 45 of file NamedModule.h.
|
mutableprotectedinherited |
Definition at line 50 of file Steerable.h.
|
protected |
Definition at line 44 of file Hadroniser.h.
|
protectedinherited |
Definition at line 51 of file EventModifier.h.