CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_4_4_5_patch3/src/DetectorDescription/Core/interface/DDEnums.h

Go to the documentation of this file.
00001 #ifndef DDCore_DDCategory_h
00002 #define DDCore_DDCategory_h
00003 
00005 // FIXME: use namespaces as soon as there's a clear CMS strategy for them
00006 struct DDEnums {
00007   enum Category { unspecified, sensitive, cable, cooling, support, envelope };
00008   enum Shapes { not_init, box, tubs, trap, cons, 
00009                 polycone_rz, polycone_rrz,
00010                 polyhedra_rz, polyhedra_rrz,
00011                 b_union, b_subtraction, b_intersection,
00012                 reflected,
00013                 shapeless,
00014                 pseudotrap
00015               };
00016 
00017   static const char * categoryName(Category s)
00018   {
00019     static const char * c[] = { "unspecified", "sensitive", "cable", "cooling", "support", "envelope" };
00020     return c[s];
00021   }                   
00022 };
00023 
00024 
00025 #endif