test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 
11 
12 class AxesNames
13 {
14 
15 public:
16  AxesNames();
17  ~AxesNames();
18 
19  const std::string name(const DDAxes& s) ;
20 
21  DDAxes index(const std::string & s);
22 
23 private:
24  std::map<std::string, DDAxes> axesmap_;
25 };
26 
27 
28 class DDAxesNames : public DDI::Singleton<AxesNames>
29 {
30 public:
31 
32  static const std::string name(const DDAxes& s);
33 
34  static DDAxes index(const std::string & s);
35 };
36 
37 #endif // DDAxes_h
AxesNames()
Definition: DDAxes.cc:5
~AxesNames()
Definition: DDAxes.cc:15
Definition: DDAxes.h:10
const std::string name(const DDAxes &s)
Definition: DDAxes.cc:18
float float float z
DDAxes index(const std::string &s)
Definition: DDAxes.cc:31
static DDAxes index(const std::string &s)
Definition: DDAxes.cc:43
std::map< std::string, DDAxes > axesmap_
Definition: DDAxes.h:24
DDAxes
analagous to geant4/source/global/HEPGeometry/include/geomdefs.hh
Definition: DDAxes.h:10
Definition: DDAxes.h:10
static const std::string name(const DDAxes &s)
Definition: DDAxes.cc:37
Definition: DDAxes.h:10