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 31 of file DDSolidShapes.h.

Member Function Documentation

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

Definition at line 32 of file DDSolidShapes.h.

References alignCSCRings::s.

Referenced by config.CFG::__str__(), TrackerShapeToBounds::buildBounds(), DDG4SolidConverter::convert(), TGeoFromDddService::createManager(), validation.Sample::digest(), VIDSelectorBase.VIDSelectorBase::initialize(), DDLDivision::makeDivider(), operator<<(), TGeoMgrFromDdd::produce(), DDG4SolidConverter::trunctubs(), Vispa.Views.PropertyView.Property::valueChanged(), and MagGeoBuilderFromDDD::volumeHandle::volumeHandle().

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