test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
ConstantsForGranularity.h
Go to the documentation of this file.
1 
2 #ifndef DataFormats_SiStripCommon_ConstantsForGranularity_H
3 #define DataFormats_SiStripCommon_ConstantsForGranularity_H
4 
6 #include <string>
7 
14 namespace sistrip {
15 
16  // ---------- Constants ----------
17 
18  // misc granularity
19  static const char unknownGranularity_[] = "UnknownGranularity";
20  static const char undefinedGranularity_[] = "UndefinedGranularity";
21 
22  // system granularity
23  static const char tracker_[] = "Tracker";
24  static const char partition_[] = "Partition";
25  static const char tib_[] = "Tib";
26  static const char tob_[] = "Tob";
27  static const char tec_[] = "Tec";
28 
29  // sub-structure granularity
30  static const char layer_[] = "Layer";
31  static const char rod_[] = "Rod";
32  static const char string_[] = "String";
33  static const char disk_[] = "Disk";
34  static const char petal_[] = "Petal";
35  static const char ring_[] = "Ring";
36 
37  // module granularity
38  static const char module_[] = "Module";
39  static const char lldChan_[] = "LldChannel";
40  static const char apv_[] = "Apv";
41 
42  // readout granularity
43  static const char fedSystem_[] = "FedSystem";
44  static const char feDriver_[] = "FrontEndDriver";
45  static const char feUnit_[] = "FrontEndUnit";
46  static const char feChan_[] = "FrontEndChannel";
47  static const char fedApv_[] = "FedApv";
48  static const char fedChannel_[] = "FedChannel";
49 
50  // control granularity
51  static const char fecSystem_[] = "FecSystem";
52  static const char fecCrate_[] = "FecCrate";
53  static const char fecSlot_[] = "FecSlot";
54  static const char fecRing_[] = "FecRing";
55  static const char ccuAddr_[] = "CcuAddr";
56  static const char ccuChan_[] = "CcuChan";
57 
58  // ---------- Enumerated type ----------
59 
62 
63  TRACKER = 1,
64  PARTITION = 2,
65  TIB = 3,
66  TOB = 4,
67  TEC = 5,
68 
69  LAYER = 6,
70  ROD = 7,
71  STRING = 8,
72  DISK = 9,
73  PETAL = 10,
74  RING = 11,
75 
76  MODULE = 12,
77  LLD_CHAN = 13,
78  APV = 14,
79 
80  FED_SYSTEM = 15,
81  FE_DRIVER = 16,
82  FE_UNIT = 17,
83  FE_CHAN = 18,
84  FED_APV = 19,
86 
87  FEC_SYSTEM = 21,
88  FEC_CRATE = 22,
89  FEC_SLOT = 23,
90  FEC_RING = 24,
91  CCU_ADDR = 25,
92  CCU_CHAN = 26
93 
94  };
95 
96 }
97 
98 #endif // DataFormats_SiStripCommon_ConstantsForGranularity_H
99 
100 
static const char module_[]
static const char feDriver_[]
static const char layer_[]
static const char tec_[]
static const char tracker_[]
static const char tob_[]
static const char rod_[]
static const char string_[]
static const char fecSlot_[]
static const char ccuChan_[]
static const char ccuAddr_[]
static const char lldChan_[]
static const char undefinedGranularity_[]
static const char partition_[]
static const char fedApv_[]
static const char unknownGranularity_[]
static const char ring_[]
static const char fecCrate_[]
static const char fedChannel_[]
static const char apv_[]
static const char tib_[]
static const char feChan_[]
static const char fedSystem_[]
static const char fecRing_[]
static const uint16_t invalid_
Definition: Constants.h:16
static const uint16_t unknown_
Definition: Constants.h:19
static const char feUnit_[]
static const char fecSystem_[]
static const char disk_[]
static const char petal_[]