CMS 3D CMS Logo

List of all members | Public Types | Static Public Member Functions
DDEnums Struct Reference

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

#include <DDEnums.h>

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 *const 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

◆ Category

Enumerator
unspecified 
sensitive 
cable 
cooling 
support 
envelope 

Definition at line 7 of file DDEnums.h.

◆ Shapes

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.

8  {
9  not_init,
10  box,
11  tubs,
12  trap,
13  cons,
18  b_union,
21  reflected,
22  shapeless,
24  };

Member Function Documentation

◆ categoryName()

static const char* const DDEnums::categoryName ( Category  s)
inlinestatic

Definition at line 26 of file DDEnums.h.

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

References c, and alignCSCRings::s.

Referenced by DDHtmlLpDetails::details().

DDEnums::support
Definition: DDEnums.h:7
DDEnums::sensitive
Definition: DDEnums.h:7
DDEnums::polycone_rz
Definition: DDEnums.h:14
DDEnums::b_intersection
Definition: DDEnums.h:20
DDEnums::tubs
Definition: DDEnums.h:11
DDEnums::cable
Definition: DDEnums.h:7
DDEnums::shapeless
Definition: DDEnums.h:22
DDEnums::cooling
Definition: DDEnums.h:7
DDEnums::polycone_rrz
Definition: DDEnums.h:15
alignCSCRings.s
s
Definition: alignCSCRings.py:92
DDEnums::envelope
Definition: DDEnums.h:7
DDEnums::not_init
Definition: DDEnums.h:9
DDEnums::polyhedra_rz
Definition: DDEnums.h:16
DDEnums::cons
Definition: DDEnums.h:13
DDEnums::b_union
Definition: DDEnums.h:18
DDEnums::polyhedra_rrz
Definition: DDEnums.h:17
DDEnums::reflected
Definition: DDEnums.h:21
DDEnums::unspecified
Definition: DDEnums.h:7
DDEnums::b_subtraction
Definition: DDEnums.h:19
DDEnums::box
Definition: DDEnums.h:10
DDEnums::trap
Definition: DDEnums.h:12
c
auto & c
Definition: CAHitNtupletGeneratorKernelsImpl.h:46
DDEnums::pseudotrap
Definition: DDEnums.h:23