![]() |
|
|||
File indexing completed on 2025-05-11 08:50:03
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_EXTENSIONPARAMETERS_H 0013 #define DDG4_EXTENSIONPARAMETERS_H 0014 0015 #include <map> 0016 #include <string> 0017 #include <vector> 0018 0019 0020 /// Namespace for the AIDA detector description toolkit 0021 namespace dd4hep { 0022 0023 /// Namespace for the Geant4 based simulation part of the AIDA detector description toolkit 0024 namespace sim { 0025 0026 /// Extension to pass input data to output data 0027 /** 0028 * \version 1.0 0029 * \ingroup DD4HEP_SIMULATION 0030 */ 0031 class ExtensionParameters { 0032 protected: 0033 std::map<std::string, std::vector<int>> m_intValues {}; 0034 std::map<std::string, std::vector<float>> m_fltValues {}; 0035 std::map<std::string, std::vector<std::string>> m_strValues {}; 0036 std::map<std::string, std::vector<double>> m_dblValues {}; 0037 0038 public: 0039 /// Get the int parameters 0040 auto const& intParameters() const { return m_intValues; } 0041 /// Get the float parameters 0042 auto const& fltParameters() const { return m_fltValues; } 0043 /// Get the string parameters 0044 auto const& strParameters() const { return m_strValues; } 0045 /// Get the double parameters 0046 auto const& dblParameters() const { return m_dblValues; } 0047 0048 }; 0049 0050 } /* End namespace sim */ 0051 } /* End namespace dd4hep */ 0052 #endif // DDG4_EXTENSIONPARAMETERS_H
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |
![]() ![]() |