CMS 3D CMS Logo

Public Types | Static Public Member Functions

DDEnums Struct Reference

enumaration of a possible categorization of the DDLogicalPart, defaults to unspecified More...

#include <DDEnums.h>

List of all members.

Public Types

enum  Category {
  unspecified, sensitive, cable, cooling,
  support, envelope
}
enum  Shapes {
  not_init, box, tubs, trap,
  cons, polycone_rz, polycone_rrz, polyhedra_rz,
  polyhedra_rrz, b_union, b_subtraction, b_intersection,
  reflected, shapeless, pseudotrap
}

Static Public Member Functions

static const char * categoryName (Category s)

Detailed Description

enumaration of a possible categorization of the DDLogicalPart, defaults to unspecified

Definition at line 6 of file DDEnums.h.


Member Enumeration Documentation

Enumerator:
unspecified 
sensitive 
cable 
cooling 
support 
envelope 

Definition at line 7 of file DDEnums.h.

Enumerator:
not_init 
box 
tubs 
trap 
cons 
polycone_rz 
polycone_rrz 
polyhedra_rz 
polyhedra_rrz 
b_union 
b_subtraction 
b_intersection 
reflected 
shapeless 
pseudotrap 

Definition at line 8 of file DDEnums.h.


Member Function Documentation

static const char* DDEnums::categoryName ( Category  s) [inline, static]

Definition at line 17 of file DDEnums.h.

References trackerHits::c, and asciidump::s.

Referenced by PhysicalPartsTree::beginRun().

  {
    static const char * c[] = { "unspecified", "sensitive", "cable", "cooling", "support", "envelope" };
    return c[s];
  }