Main Page
Namespaces
Classes
Package Documentation
DetectorDescription
Core
interface
DDSolidShapes.h
Go to the documentation of this file.
1
#ifndef DETECTOR_DESCRIPTION_CORE_DD_SOLID_SHAPES_H
2
#define DETECTOR_DESCRIPTION_CORE_DD_SOLID_SHAPES_H
3
4
enum class
DDSolidShape
{
dd_not_init
= 0,
5
ddbox
= 1,
ddtubs
= 2,
ddtrap
= 3,
ddcons
= 4,
6
ddpolycone_rz
= 5,
ddpolyhedra_rz
= 6,
7
ddpolycone_rrz
= 7,
ddpolyhedra_rrz
= 8,
8
ddtorus
= 9,
ddunion
= 10,
ddsubtraction
= 11,
9
ddintersection
= 12,
ddshapeless
= 13,
10
ddpseudotrap
= 14,
ddtrunctubs
= 15,
11
ddsphere
= 16,
ddellipticaltube
= 17,
12
ddcuttubs
= 18,
ddextrudedpolygon
= 19,
13
};
14
15
struct
DDSolidShapesName
{
16
17
static
const
char
*
const
name
(
DDSolidShape
s
)
18
{
19
static
const
char
*
const
_names[] = {
20
"Solid not initialized"
,
21
"Box"
,
22
"Tube(section)"
,
23
"Trapezoid"
,
24
"Cone(section)"
,
25
"Polycone_rz"
,
26
"Polyhedra_rz"
,
27
"Polycone_rrz"
,
28
"Polyhedra_rrz"
,
29
"Torus"
,
30
"UnionSolid"
,
31
"SubtractionSolid"
,
32
"IntersectionSolid"
,
33
"ShapelessSolid"
,
34
"PseudoTrapezoid"
,
35
"TruncatedTube(section)"
,
36
"Sphere(section)"
,
37
"EllipticalTube"
,
38
"CutTubs"
,
39
"ExtrudedPolygon"
40
};
41
42
return
_names[
static_cast<
int
>
(
s
)];
43
}
44
};
45
46
47
#endif
DDSolidShape::ddbox
DDSolidShapesName
Definition:
DDSolidShapes.h:15
DDSolidShape::ddsubtraction
DDSolidShape::ddshapeless
alignCSCRings.s
s
Definition:
alignCSCRings.py:92
DDSolidShape
DDSolidShape
Definition:
DDSolidShapes.h:4
DDSolidShape::ddextrudedpolygon
DDSolidShape::ddpseudotrap
DDSolidShapesName::name
static const char *const name(DDSolidShape s)
Definition:
DDSolidShapes.h:17
DDSolidShape::ddintersection
DDSolidShape::dd_not_init
DDSolidShape::ddpolyhedra_rrz
DDSolidShape::ddunion
DDSolidShape::ddpolycone_rrz
DDSolidShape::ddtubs
DDSolidShape::ddtorus
DDSolidShape::ddcons
DDSolidShape::ddsphere
DDSolidShape::ddpolycone_rz
DDSolidShape::ddpolyhedra_rz
DDSolidShape::ddtrap
DDSolidShape::ddtrunctubs
DDSolidShape::ddellipticaltube
DDSolidShape::ddcuttubs
Generated for CMSSW Reference Manual by
1.8.11