CepGen 1.2.5
Central exclusive processes event generator
|
Output format handler for events export. More...
#include <CepGen/EventFilter/EventExporter.h>
Public Member Functions | |
EventExporter (const ParametersList &) | |
virtual void | setCrossSection (const Value &) |
Specify the cross section value, in pb. | |
void | setEventNumber (unsigned long long ev_id) |
Set event number. | |
virtual bool | operator<< (const Event &)=0 |
Writer operator. | |
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 | |
std::string | banner (const std::string &prep="") const |
Print a banner containing runtime parameters. | |
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 | |
unsigned long long | event_num_ {0ull} |
Event index. | |
const std::string | name_ |
Module unique indexing name. | |
ParametersList | params_ |
Module parameters. | |
Definition at line 30 of file EventExporter.h.
|
explicit |
Definition at line 30 of file EventExporter.cpp.
|
protected |
Definition at line 32 of file EventExporter.cpp.
|
staticinherited |
Definition at line 30 of file EventHandler.cpp.
|
inherited |
Definition at line 42 of file EventHandler.h.
|
protectedvirtualinherited |
Definition at line 50 of file EventHandler.cpp.
|
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.
|
pure virtual |
|
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 44 of file EventHandler.cpp.
|
virtual |
Reimplemented in EventHarvester, TextEventHandler, DelphesHandler, HepMC2Handler< T >, HepMC3Handler< T >, LHEFHepMCHandler, ProMCHandler, LHEFHandler, YODAHistsHandler< T >, EventExporter, and ROOTHistsHandler.
Definition at line 34 of file EventExporter.h.
|
inherited |
Definition at line 73 of file SteeredObject.h.
void setEventNumber | ( | unsigned long long | ev_id | ) |
Definition at line 35 of file EventExporter.h.
|
overridevirtualinherited |
Reimplemented from Steerable.
Reimplemented in Initial, Remnants, CutsList, IncomingBeams, and Kinematics.
Definition at line 62 of file SteeredObject.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.
|
protected |
Definition at line 41 of file EventExporter.h.
|
protectedinherited |
Definition at line 45 of file NamedModule.h.
|
mutableprotectedinherited |
Definition at line 50 of file Steerable.h.