test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
AlignableObjectId.h
Go to the documentation of this file.
1 #ifndef Alignment_CommonAlignment_AlignableObjectId_h
2 #define Alignment_CommonAlignment_AlignableObjectId_h
3 
5 #include <string>
6 
8 // Obsolete. Use the two free functions below.
10 {
11 
12 public:
14 
16  static void isRunIGeometry();
17 
19  static void isPhaseIGeometry();
20 
22  static void isPhaseIIGeometry();
23 
26 
29  static const char *idToString(align::StructureType type);
30  static align::StructureType stringToId(const char *);
31  static align::StructureType stringToId(const std::string &s) { return stringToId(s.c_str()); };
32 };
33 
34 
35 #endif
type
Definition: HCALResponse.h:21
static void isRunIGeometry()
sets entries-pointer to names of RunI geometry
static std::string typeToName(align::StructureType type)
Convert type to name.
static align::StructureType stringToId(const char *)
static align::StructureType stringToId(const std::string &s)
static void isPhaseIIGeometry()
sets entries-pointer to names of PhaseII geometry
Allows conversion between type and name, and vice-versa.
static align::StructureType nameToType(const std::string &name)
Convert name to type.
static void isPhaseIGeometry()
sets entries-pointer to names of PhaseI geometry
static const char * idToString(align::StructureType type)