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
AxesNames::~AxesNames
~AxesNames()
Definition: DDAxes.cc:14
DDAxes::y
AxesNames::name
const std::string name(const DDAxes &s)
Definition: DDAxes.cc:16
DDI::Singleton
Definition: Singleton.h:6
AxesNames
Definition: DDAxes.h:13
DDAxes::x
DDAxesNames
Definition: DDAxes.h:24
AxesNames::axesmap_
std::map< std::string, DDAxes > axesmap_
Definition: DDAxes.h:21
alignCSCRings.s
s
Definition: alignCSCRings.py:92
DDAxes::undefined
DDAxes::z
DDAxes::rho
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
DDAxes
DDAxes
analagous to geant4/source/global/HEPGeometry/include/geomdefs.hh
Definition: DDAxes.h:11
DDAxes::phi
Singleton.h
AxesNames::AxesNames
AxesNames()
Definition: DDAxes.cc:5
DDAxes::radial3D
DDAxesNames::name
static const std::string name(const DDAxes &s)
Definition: DDAxes.cc:24