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
sistrip::Granularity
Granularity
Definition: ConstantsForGranularity.h:60
Constants.h
Generic constants.
sistrip::CCU_CHAN
Definition: ConstantsForGranularity.h:93
sistrip::LAYER
Definition: ConstantsForGranularity.h:70
sistrip::fecSystem_
static const char fecSystem_[]
Definition: ConstantsForGranularity.h:51
sistrip::petal_
static const char petal_[]
Definition: ConstantsForGranularity.h:34
sistrip::module_
static const char module_[]
Definition: ConstantsForGranularity.h:38
sistrip::tob_
static const char tob_[]
Definition: ConstantsForGranularity.h:26
sistrip::TRACKER
Definition: ConstantsForGranularity.h:64
sistrip::FEC_RING
Definition: ConstantsForGranularity.h:91
sistrip::FEC_SYSTEM
Definition: ConstantsForGranularity.h:88
sistrip::STRING
Definition: ConstantsForGranularity.h:72
sistrip::disk_
static const char disk_[]
Definition: ConstantsForGranularity.h:33
sistrip::tracker_
static const char tracker_[]
Definition: ConstantsForGranularity.h:23
sistrip::CCU_ADDR
Definition: ConstantsForGranularity.h:92
sistrip::tec_
static const char tec_[]
Definition: ConstantsForGranularity.h:27
sistrip::rod_
static const char rod_[]
Definition: ConstantsForGranularity.h:31
sistrip::FED_APV
Definition: ConstantsForGranularity.h:85
sistrip::ROD
Definition: ConstantsForGranularity.h:71
sistrip::FE_UNIT
Definition: ConstantsForGranularity.h:83
sistrip::undefinedGranularity_
static const char undefinedGranularity_[]
Definition: ConstantsForGranularity.h:20
sistrip::UNKNOWN_GRAN
Definition: ConstantsForGranularity.h:62
sistrip::ccuAddr_
static const char ccuAddr_[]
Definition: ConstantsForGranularity.h:55
sistrip::unknownGranularity_
static const char unknownGranularity_[]
Definition: ConstantsForGranularity.h:19
sistrip::fedChannel_
static const char fedChannel_[]
Definition: ConstantsForGranularity.h:48
sistrip::MODULE
Definition: ConstantsForGranularity.h:77
sistrip::TIB
Definition: ConstantsForGranularity.h:66
sistrip::PETAL
Definition: ConstantsForGranularity.h:74
sistrip::fecCrate_
static const char fecCrate_[]
Definition: ConstantsForGranularity.h:52
sistrip::ring_
static const char ring_[]
Definition: ConstantsForGranularity.h:35
sistrip::partition_
static const char partition_[]
Definition: ConstantsForGranularity.h:24
sistrip::string_
static const char string_[]
Definition: ConstantsForGranularity.h:32
sistrip::fecSlot_
static const char fecSlot_[]
Definition: ConstantsForGranularity.h:53
sistrip::TEC
Definition: ConstantsForGranularity.h:68
sistrip::ccuChan_
static const char ccuChan_[]
Definition: ConstantsForGranularity.h:56
sistrip::lldChan_
static const char lldChan_[]
Definition: ConstantsForGranularity.h:39
sistrip::RING
Definition: ConstantsForGranularity.h:75
sistrip::APV
Definition: ConstantsForGranularity.h:79
sistrip::fedApv_
static const char fedApv_[]
Definition: ConstantsForGranularity.h:47
sistrip::DISK
Definition: ConstantsForGranularity.h:73
sistrip::FED_SYSTEM
Definition: ConstantsForGranularity.h:81
sistrip::invalid_
static const uint16_t invalid_
Definition: Constants.h:16
sistrip::fedSystem_
static const char fedSystem_[]
Definition: ConstantsForGranularity.h:43
sistrip::unknown_
static const uint16_t unknown_
Definition: Constants.h:19
sistrip::feChan_
static const char feChan_[]
Definition: ConstantsForGranularity.h:46
sistrip::apv_
static const char apv_[]
Definition: ConstantsForGranularity.h:40
sistrip::TOB
Definition: ConstantsForGranularity.h:67
sistrip::tib_
static const char tib_[]
Definition: ConstantsForGranularity.h:25
sistrip::FED_CHANNEL
Definition: ConstantsForGranularity.h:86
sistrip::PARTITION
Definition: ConstantsForGranularity.h:65
sistrip::fecRing_
static const char fecRing_[]
Definition: ConstantsForGranularity.h:54
sistrip::FE_DRIVER
Definition: ConstantsForGranularity.h:82
sistrip
sistrip classes
Definition: SiStripQualityHelpers.h:14
sistrip::layer_
static const char layer_[]
Definition: ConstantsForGranularity.h:30
sistrip::FEC_CRATE
Definition: ConstantsForGranularity.h:89
sistrip::UNDEFINED_GRAN
Definition: ConstantsForGranularity.h:61
sistrip::LLD_CHAN
Definition: ConstantsForGranularity.h:78
sistrip::FE_CHAN
Definition: ConstantsForGranularity.h:84
sistrip::feDriver_
static const char feDriver_[]
Definition: ConstantsForGranularity.h:44
sistrip::feUnit_
static const char feUnit_[]
Definition: ConstantsForGranularity.h:45
sistrip::FEC_SLOT
Definition: ConstantsForGranularity.h:90