DD4hep  1.30.0
Detector Description Toolkit for High Energy Physics
ExtensionParameters.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_EXTENSIONPARAMETERS_H
13 #define DDG4_EXTENSIONPARAMETERS_H
14 
15 #include <map>
16 #include <string>
17 #include <vector>
18 
19 
21 namespace dd4hep {
22 
24  namespace sim {
25 
27 
32  protected:
33  std::map<std::string, std::vector<int>> m_intValues {};
34  std::map<std::string, std::vector<float>> m_fltValues {};
35  std::map<std::string, std::vector<std::string>> m_strValues {};
36  std::map<std::string, std::vector<double>> m_dblValues {};
37 
38  public:
40  auto const& intParameters() const { return m_intValues; }
42  auto const& fltParameters() const { return m_fltValues; }
44  auto const& strParameters() const { return m_strValues; }
46  auto const& dblParameters() const { return m_dblValues; }
47 
48  };
49 
50  } /* End namespace sim */
51 } /* End namespace dd4hep */
52 #endif // DDG4_EXTENSIONPARAMETERS_H
dd4hep::sim::ExtensionParameters::dblParameters
auto const & dblParameters() const
Get the double parameters.
Definition: ExtensionParameters.h:46
dd4hep::sim::ExtensionParameters::m_strValues
std::map< std::string, std::vector< std::string > > m_strValues
Definition: ExtensionParameters.h:35
dd4hep::sim::ExtensionParameters
Extension to pass input data to output data.
Definition: ExtensionParameters.h:31
dd4hep::sim::ExtensionParameters::fltParameters
auto const & fltParameters() const
Get the float parameters.
Definition: ExtensionParameters.h:42
dd4hep::sim::ExtensionParameters::m_intValues
std::map< std::string, std::vector< int > > m_intValues
Definition: ExtensionParameters.h:33
dd4hep::sim::ExtensionParameters::m_dblValues
std::map< std::string, std::vector< double > > m_dblValues
Definition: ExtensionParameters.h:36
dd4hep::sim::ExtensionParameters::m_fltValues
std::map< std::string, std::vector< float > > m_fltValues
Definition: ExtensionParameters.h:34
dd4hep::sim::ExtensionParameters::intParameters
auto const & intParameters() const
Get the int parameters.
Definition: ExtensionParameters.h:40
dd4hep
Namespace for the AIDA detector description toolkit.
Definition: AlignmentsCalib.h:28
dd4hep::sim::ExtensionParameters::strParameters
auto const & strParameters() const
Get the string parameters.
Definition: ExtensionParameters.h:44