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 public:
15  AxesNames();
16  ~AxesNames();
17 
18  const std::string name(const DDAxes& s) ;
19 
20  DDAxes index(const std::string & s);
21 
22 private:
23  std::map<std::string, DDAxes> axesmap_;
24 
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 
38 #endif
AxesNames()
Definition: DDAxes.cc:8
~AxesNames()
Definition: DDAxes.cc:18
Definition: DDAxes.h:10
const std::string name(const DDAxes &s)
Definition: DDAxes.cc:20
double double double z
DDAxes index(const std::string &s)
Definition: DDAxes.cc:32
static DDAxes index(const std::string &s)
Definition: DDAxes.cc:42
std::map< std::string, DDAxes > axesmap_
Definition: DDAxes.h:23
DDAxes
analagous to geant4/source/global/HEPGeometry/include/geomdefs.hh
Definition: DDAxes.h:10
static const std::string name(const DDAxes &s)
Definition: DDAxes.cc:37
x
Definition: VDTMath.h:216
Definition: DDAxes.h:10