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 // Last commit: $Id: ConstantsForGranularity.h,v 1.5 2009/02/10 21:45:54 lowette Exp $
2 
3 #ifndef DataFormats_SiStripCommon_ConstantsForGranularity_H
4 #define DataFormats_SiStripCommon_ConstantsForGranularity_H
5 
7 #include <string>
8 
15 namespace sistrip {
16 
17  // ---------- Constants ----------
18 
19  // misc granularity
20  static const char unknownGranularity_[] = "UnknownGranularity";
21  static const char undefinedGranularity_[] = "UndefinedGranularity";
22 
23  // system granularity
24  static const char tracker_[] = "Tracker";
25  static const char partition_[] = "Partition";
26  static const char tib_[] = "Tib";
27  static const char tob_[] = "Tob";
28  static const char tec_[] = "Tec";
29 
30  // sub-structure granularity
31  static const char layer_[] = "Layer";
32  static const char rod_[] = "Rod";
33  static const char string_[] = "String";
34  static const char disk_[] = "Disk";
35  static const char petal_[] = "Petal";
36  static const char ring_[] = "Ring";
37 
38  // module granularity
39  static const char module_[] = "Module";
40  static const char lldChan_[] = "LldChannel";
41  static const char apv_[] = "Apv";
42 
43  // readout granularity
44  static const char fedSystem_[] = "FedSystem";
45  static const char feDriver_[] = "FrontEndDriver";
46  static const char feUnit_[] = "FrontEndUnit";
47  static const char feChan_[] = "FrontEndChannel";
48  static const char fedApv_[] = "FedApv";
49  static const char fedChannel_[] = "FedChannel";
50 
51  // control granularity
52  static const char fecSystem_[] = "FecSystem";
53  static const char fecCrate_[] = "FecCrate";
54  static const char fecSlot_[] = "FecSlot";
55  static const char fecRing_[] = "FecRing";
56  static const char ccuAddr_[] = "CcuAddr";
57  static const char ccuChan_[] = "CcuChan";
58 
59  // ---------- Enumerated type ----------
60 
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 }
98 
99 #endif // DataFormats_SiStripCommon_ConstantsForGranularity_H
100 
101 
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:17
static const uint16_t unknown_
Definition: Constants.h:20
static const char feUnit_[]
static const char fecSystem_[]
static const char disk_[]
static const char petal_[]