DD4hep
1.30.0
Detector Description Toolkit for High Energy Physics
|
Extension to pass input run data to output run data. More...
#include <RunParameters.h>
Public Member Functions | |
void | setRunNumber (int runNumber) |
Set the Run parameters. More... | |
int | runNumber () const |
Get the run number. More... | |
template<class T > | |
void | ingestParameters (T const &source) |
Copy the parameters from source. More... | |
template<class T > | |
void | extractParameters (T &destination) |
Put parameters into destination. More... | |
template<> | |
void | extractParameters (podio::Frame &frame) |
Protected Attributes | |
int | m_runNumber = -1 |
Additional Inherited Members | |
Private Member Functions inherited from dd4hep::sim::ExtensionParameters | |
auto const & | intParameters () const |
Get the int parameters. More... | |
auto const & | fltParameters () const |
Get the float parameters. More... | |
auto const & | strParameters () const |
Get the string parameters. More... | |
auto const & | dblParameters () const |
Get the double parameters. More... | |
Private Attributes inherited from dd4hep::sim::ExtensionParameters | |
std::map< std::string, std::vector< int > > | m_intValues {} |
std::map< std::string, std::vector< float > > | m_fltValues {} |
std::map< std::string, std::vector< std::string > > | m_strValues {} |
std::map< std::string, std::vector< double > > | m_dblValues {} |
Extension to pass input run data to output run data.
Definition at line 28 of file RunParameters.h.
void dd4hep::sim::RunParameters::extractParameters | ( | podio::Frame & | frame | ) |
Definition at line 145 of file Geant4Output2EDM4hep.cpp.
void dd4hep::sim::RunParameters::extractParameters | ( | T & | destination | ) |
Put parameters into destination.
Definition at line 66 of file Geant4Output2LCIO.cpp.
void dd4hep::sim::RunParameters::ingestParameters | ( | T const & | source | ) |
Copy the parameters from source.
get the parameters from the GenericParameters of the input EDM4hep run frame and store them in the RunParameters extension
Definition at line 66 of file EDM4hepFileReader.cpp.
|
inline |
Get the run number.
Definition at line 36 of file RunParameters.h.
void dd4hep::sim::RunParameters::setRunNumber | ( | int | runNumber | ) |
Set the Run parameters.
|
protected |
Definition at line 30 of file RunParameters.h.