![]() |
|
|||
File indexing completed on 2025-07-01 08:35:12
0001 //========================================================================== 0002 // AIDA Detector description implementation 0003 //-------------------------------------------------------------------------- 0004 // Copyright (C) Organisation europeenne pour la Recherche nucleaire (CERN) 0005 // All rights reserved. 0006 // 0007 // For the licensing terms see $DD4hepINSTALL/LICENSE. 0008 // For the list of contributors see $DD4hepINSTALL/doc/CREDITS. 0009 // 0010 // 0011 //========================================================================== 0012 #ifndef DDG4_RUNPARAMETERS_H 0013 #define DDG4_RUNPARAMETERS_H 0014 0015 #include <DDG4/ExtensionParameters.h> 0016 0017 /// Namespace for the AIDA detector description toolkit 0018 namespace dd4hep { 0019 0020 /// Namespace for the Geant4 based simulation part of the AIDA detector description toolkit 0021 namespace sim { 0022 0023 /// Extension to pass input run data to output run data 0024 /** 0025 * \version 1.0 0026 * \ingroup DD4HEP_SIMULATION 0027 */ 0028 class RunParameters: ExtensionParameters { 0029 protected: 0030 int m_runNumber = -1; 0031 0032 public: 0033 /// Set the Run parameters 0034 void setRunNumber(int runNumber); 0035 /// Get the run number 0036 int runNumber() const { return m_runNumber; } 0037 /// Copy the parameters from source 0038 template <class T> void ingestParameters(T const& source); 0039 /// Put parameters into destination 0040 template <class T> void extractParameters(T& destination); 0041 }; 0042 0043 } /* End namespace sim */ 0044 } /* End namespace dd4hep */ 0045 #endif // DDG4_RUNPARAMETERS_H
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |
![]() ![]() |