Main Page
Namespaces
Classes
Package Documentation
src
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
{
not_init
,
box
,
tubs
,
trap
,
cons
,
9
polycone_rz
,
polycone_rrz
,
10
polyhedra_rz
,
polyhedra_rrz
,
11
b_union
,
b_subtraction
,
b_intersection
,
12
reflected
,
13
shapeless
,
14
pseudotrap
15
};
16
17
static
const
char
*
const
categoryName
(
Category
s
)
18
{
19
static
const
char
*
const
c
[] = {
"unspecified"
,
"sensitive"
,
"cable"
,
"cooling"
,
"support"
,
"envelope"
};
20
return
c[
s
];
21
}
22
};
23
24
25
#endif
DDEnums::b_intersection
Definition:
DDEnums.h:11
DDEnums::pseudotrap
Definition:
DDEnums.h:14
DDEnums::not_init
Definition:
DDEnums.h:8
DDEnums::tubs
Definition:
DDEnums.h:8
DDEnums::trap
Definition:
DDEnums.h:8
DDEnums::cons
Definition:
DDEnums.h:8
alignCSCRings.s
s
Definition:
alignCSCRings.py:91
DDEnums::shapeless
Definition:
DDEnums.h:13
EnergyCorrector.c
c
Definition:
EnergyCorrector.py:43
DDEnums::support
Definition:
DDEnums.h:7
DDEnums::Shapes
Shapes
Definition:
DDEnums.h:8
DDEnums::polyhedra_rz
Definition:
DDEnums.h:10
DDEnums::Category
Category
Definition:
DDEnums.h:7
DDEnums::b_subtraction
Definition:
DDEnums.h:11
DDEnums::box
Definition:
DDEnums.h:8
DDEnums::cable
Definition:
DDEnums.h:7
DDEnums::polycone_rrz
Definition:
DDEnums.h:9
DDEnums::polyhedra_rrz
Definition:
DDEnums.h:10
DDEnums::envelope
Definition:
DDEnums.h:7
DDEnums::reflected
Definition:
DDEnums.h:12
DDEnums::sensitive
Definition:
DDEnums.h:7
DDEnums::polycone_rz
Definition:
DDEnums.h:9
DDEnums::unspecified
Definition:
DDEnums.h:7
DDEnums::b_union
Definition:
DDEnums.h:11
DDEnums::categoryName
static const char *const categoryName(Category s)
Definition:
DDEnums.h:17
DDEnums
enumaration of a possible categorization of the DDLogicalPart, defaults to unspecified ...
Definition:
DDEnums.h:6
DDEnums::cooling
Definition:
DDEnums.h:7
Generated for CMSSW Reference Manual by
1.8.11