CMS 3D CMS Logo

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 
60  enum Granularity {
63 
64  TRACKER = 1,
65  PARTITION = 2,
66  TIB = 3,
67  TOB = 4,
68  TEC = 5,
69 
70  LAYER = 6,
71  ROD = 7,
72  STRING = 8,
73  DISK = 9,
74  PETAL = 10,
75  RING = 11,
76 
77  MODULE = 12,
78  LLD_CHAN = 13,
79  APV = 14,
80 
81  FED_SYSTEM = 15,
82  FE_DRIVER = 16,
83  FE_UNIT = 17,
84  FE_CHAN = 18,
85  FED_APV = 19,
87 
88  FEC_SYSTEM = 21,
89  FEC_CRATE = 22,
90  FEC_SLOT = 23,
91  FEC_RING = 24,
92  CCU_ADDR = 25,
93  CCU_CHAN = 26
94 
95  };
96 
97 } // namespace sistrip
98 
99 #endif // DataFormats_SiStripCommon_ConstantsForGranularity_H
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_[]
sistrip classes
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_[]