CMS 3D CMS Logo

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
DDEnums::support
Definition: DDEnums.h:7
DDEnums::sensitive
Definition: DDEnums.h:7
DDEnums::polycone_rz
Definition: DDEnums.h:14
DDEnums::Shapes
Shapes
Definition: DDEnums.h:8
DDEnums
enumaration of a possible categorization of the DDLogicalPart, defaults to unspecified
Definition: DDEnums.h:6
DDEnums::b_intersection
Definition: DDEnums.h:20
DDEnums::tubs
Definition: DDEnums.h:11
DDEnums::cable
Definition: DDEnums.h:7
DDEnums::shapeless
Definition: DDEnums.h:22
DDEnums::cooling
Definition: DDEnums.h:7
DDEnums::polycone_rrz
Definition: DDEnums.h:15
alignCSCRings.s
s
Definition: alignCSCRings.py:92
DDEnums::envelope
Definition: DDEnums.h:7
DDEnums::not_init
Definition: DDEnums.h:9
DDEnums::polyhedra_rz
Definition: DDEnums.h:16
DDEnums::cons
Definition: DDEnums.h:13
DDEnums::categoryName
static const char *const categoryName(Category s)
Definition: DDEnums.h:26
DDEnums::Category
Category
Definition: DDEnums.h:7
DDEnums::b_union
Definition: DDEnums.h:18
DDEnums::polyhedra_rrz
Definition: DDEnums.h:17
DDEnums::reflected
Definition: DDEnums.h:21
DDEnums::unspecified
Definition: DDEnums.h:7
HltBtagPostValidation_cff.c
c
Definition: HltBtagPostValidation_cff.py:31
DDEnums::b_subtraction
Definition: DDEnums.h:19
DDEnums::box
Definition: DDEnums.h:10
DDEnums::trap
Definition: DDEnums.h:12
DDEnums::pseudotrap
Definition: DDEnums.h:23