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

Member Function Documentation

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

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

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  }