/
githubmirror
/
cmssw
Обзор
Документация
Войти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
DetectorDescription/Core/interface/DDEnums.h
32 строки
756 B
Cms Build
Clang-Format
29 май 2019, 08:28
29 май 2019, 08:28
96591f2
Код
Авторство
О чём код?
#ifndef DDCore_DDCategory_h #define DDCore_DDCategory_h //! enumaration of a possible categorization of the DDLogicalPart, defaults to unspecified // FIXME: use namespaces as soon as there's a clear CMS strategy for them struct DDEnums { enum Category { unspecified, sensitive, cable, cooling, support, envelope }; enum Shapes { not_init, box, tubs, trap, cons, polycone_rz, polycone_rrz, polyhedra_rz, polyhedra_rrz, b_union, b_subtraction, b_intersection, reflected, shapeless, pseudotrap }; static const char* const categoryName(Category s) { static const char* const c[] = {"unspecified", "sensitive", "cable", "cooling", "support", "envelope"}; return c[s]; } }; #endif