DetectorDescription
Core
interface
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
{
7
enum
Category
{
unspecified
,
sensitive
,
cable
,
cooling
,
support
,
envelope
};
8
enum
Shapes
{
9
not_init
,
10
box
,
11
tubs
,
12
trap
,
13
cons
,
14
polycone_rz
,
15
polycone_rrz
,
16
polyhedra_rz
,
17
polyhedra_rrz
,
18
b_union
,
19
b_subtraction
,
20
b_intersection
,
21
reflected
,
22
shapeless
,
23
pseudotrap
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
DDEnums::b_subtraction
Definition:
DDEnums.h:19
DDEnums::box
Definition:
DDEnums.h:10
DDEnums::trap
Definition:
DDEnums.h:12
c
auto & c
Definition:
CAHitNtupletGeneratorKernelsImpl.h:46
DDEnums::pseudotrap
Definition:
DDEnums.h:23
Generated for CMSSW Reference Manual by
1.8.16