CMS 3D CMS Logo

DDDetector.h
Go to the documentation of this file.
1 #ifndef DETECTOR_DESCRIPTION_DD_DETECTOR_H
2 #define DETECTOR_DESCRIPTION_DD_DETECTOR_H
3 
4 #include <memory>
5 #include <string>
6 #include <vector>
7 #include <unordered_map>
8 
9 namespace dd4hep {
10  class Detector;
11 }
12 
13 namespace cms {
14  struct DDDetector {
15 
16  using DDVectorsMap = std::unordered_map< std::string, std::vector<double>>;
17 
18  DDDetector();
19 
20  void process(const std::string& file);
21  dd4hep::Detector& description() const { return *m_description; };
22 
23  private:
26  };
27 }
28 
29 #endif
DDVectorsMap m_vectors
Definition: DDDetector.h:25
dd4hep::Detector * m_description
Definition: DDDetector.h:21
Namespace of DDCMS conversion namespace.
std::unordered_map< std::string, std::vector< double >> DDVectorsMap
Definition: DDDetector.h:16