CMS 3D CMS Logo

List of all members | Static Public Member Functions
DDSolidShapesName Struct Reference

#include <DDSolidShapes.h>

Static Public Member Functions

static const char *const name (DDSolidShape s)
 

Detailed Description

Definition at line 32 of file DDSolidShapes.h.

Member Function Documentation

◆ name()

static const char* const DDSolidShapesName::name ( DDSolidShape  s)
inlinestatic

Definition at line 33 of file DDSolidShapes.h.

References alignCSCRings::s.

Referenced by config.CFG::__str__(), PrintGeomSolids::analyze(), DDG4SolidConverter::convert(), validation.Sample::digest(), VIDSelectorBase.VIDSelectorBase::initialize(), DDLDivision::makeDivider(), operator<<(), TGeoMgrFromDdd::produce(), DDG4SolidConverter::trunctubs(), and MagGeoBuilderFromDDD::volumeHandle::volumeHandle().

33  {
34  static const char* const _names[] = {"Solid not initialized",
35  "Box",
36  "Tube(section)",
37  "Trapezoid",
38  "Cone(section)",
39  "Polycone_rz",
40  "Polyhedra_rz",
41  "Polycone_rrz",
42  "Polyhedra_rrz",
43  "Torus",
44  "UnionSolid",
45  "SubtractionSolid",
46  "IntersectionSolid",
47  "ShapelessSolid",
48  "PseudoTrapezoid",
49  "TruncatedTube(section)",
50  "Sphere(section)",
51  "EllipticalTube",
52  "CutTubs",
53  "ExtrudedPolygon",
54  "Assembly"};
55 
56  return _names[static_cast<int>(s)];
57  }