CMS 3D CMS Logo

DDAxes.h
Go to the documentation of this file.
1 #ifndef DDAxes_h
2 #define DDAxes_h
3 
5 
6 #include <string>
7 #include <map>
8 
10 
11 enum class DDAxes { x, y, z, rho, radial3D, phi, undefined };
12 
13 class AxesNames {
14 public:
15  AxesNames();
16  ~AxesNames();
17 
18  const std::string name(const DDAxes& s);
19 
20 private:
21  std::map<std::string, DDAxes> axesmap_;
22 };
23 
24 class DDAxesNames : public DDI::Singleton<AxesNames> {
25 public:
26  static const std::string name(const DDAxes& s);
27 };
28 
29 #endif // DDAxes_h
std::map< std::string, DDAxes > axesmap_
Definition: DDAxes.h:21
DDAxes
analagous to geant4/source/global/HEPGeometry/include/geomdefs.hh
Definition: DDAxes.h:11