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

Member Function Documentation

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

Definition at line 23 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().

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