CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DDEnums.h
Go to the documentation of this file.
1 #ifndef DDCore_DDCategory_h
2 #define DDCore_DDCategory_h
3 
5 // FIXME: use namespaces as soon as there's a clear CMS strategy for them
6 struct DDEnums {
8  enum Shapes {
10  box,
24  };
25 
26  static const char* const categoryName(Category s) {
27  static const char* const c[] = {"unspecified", "sensitive", "cable", "cooling", "support", "envelope"};
28  return c[s];
29  }
30 };
31 
32 #endif
const edm::EventSetup & c
Shapes
Definition: DDEnums.h:8
Category
Definition: DDEnums.h:7
static const char *const categoryName(Category s)
Definition: DDEnums.h:26
enumaration of a possible categorization of the DDLogicalPart, defaults to unspecified ...
Definition: DDEnums.h:6