DD4hep  1.30.0
Detector Description Toolkit for High Energy Physics
RunParameters.h
Go to the documentation of this file.
1 //==========================================================================
2 // AIDA Detector description implementation
3 //--------------------------------------------------------------------------
4 // Copyright (C) Organisation europeenne pour la Recherche nucleaire (CERN)
5 // All rights reserved.
6 //
7 // For the licensing terms see $DD4hepINSTALL/LICENSE.
8 // For the list of contributors see $DD4hepINSTALL/doc/CREDITS.
9 //
10 //
11 //==========================================================================
12 #ifndef DDG4_RUNPARAMETERS_H
13 #define DDG4_RUNPARAMETERS_H
14 
16 
18 namespace dd4hep {
19 
21  namespace sim {
22 
24 
29  protected:
30  int m_runNumber = -1;
31 
32  public:
36  int runNumber() const { return m_runNumber; }
38  template <class T> void ingestParameters(T const& source);
40  template <class T> void extractParameters(T& destination);
41  };
42 
43  } /* End namespace sim */
44 } /* End namespace dd4hep */
45 #endif // DDG4_RUNPARAMETERS_H
dd4hep::sim::RunParameters::m_runNumber
int m_runNumber
Definition: RunParameters.h:30
ExtensionParameters.h
dd4hep::sim::ExtensionParameters
Extension to pass input data to output data.
Definition: ExtensionParameters.h:31
dd4hep::sim::RunParameters
Extension to pass input run data to output run data.
Definition: RunParameters.h:28
dd4hep::sim::RunParameters::setRunNumber
void setRunNumber(int runNumber)
Set the Run parameters.
dd4hep::sim::RunParameters::extractParameters
void extractParameters(T &destination)
Put parameters into destination.
Definition: Geant4Output2LCIO.cpp:66
dd4hep::sim::RunParameters::runNumber
int runNumber() const
Get the run number.
Definition: RunParameters.h:36
dd4hep
Namespace for the AIDA detector description toolkit.
Definition: AlignmentsCalib.h:28
dd4hep::sim::RunParameters::ingestParameters
void ingestParameters(T const &source)
Copy the parameters from source.
Definition: EDM4hepFileReader.cpp:66