CepGen 1.2.5
Central exclusive processes event generator
|
Toolbox to dump user-steered configuration into Python scripts. More...
#include <CepGenAddOns/PythonWrapper/ConfigWriter.h>
Public Member Functions | |
ConfigWriter (const ParametersList &) | |
~ConfigWriter () | |
ConfigWriter & | operator<< (const RunParameters &) |
Feed a full run parameters block. | |
ConfigWriter & | operator<< (const ParametersDescription &) |
Feed a single parameters description object. | |
std::string | operator() () const |
Retrieve the configuration as a string. | |
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 29 of file ConfigWriter.h.
ConfigWriter | ( | const ParametersList & | params | ) |
Definition at line 81 of file ConfigWriter.cpp.
~ConfigWriter | ( | ) |
Definition at line 89 of file ConfigWriter.cpp.
|
static |
Definition at line 180 of file ConfigWriter.cpp.
|
inherited |
Definition at line 51 of file SteeredObject.h.
std::string operator() | ( | ) | const |
Definition at line 178 of file ConfigWriter.cpp.
ConfigWriter & operator<< | ( | const ParametersDescription & | pdesc | ) |
Definition at line 108 of file ConfigWriter.cpp.
ConfigWriter & operator<< | ( | const RunParameters & | params | ) |
Definition at line 96 of file ConfigWriter.cpp.
|
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.
|
overridevirtualinherited |
Reimplemented from Steerable.
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.
|
mutableprotectedinherited |
Definition at line 50 of file Steerable.h.