CMS 3D CMS Logo

PixelPortCardSettingNames.h
Go to the documentation of this file.
1 #ifndef PixelPortCardSettingNames_h
2 #define PixelPortCardSettingNames_h
3 
12 #include <string>
13 namespace pos{
14  namespace PortCardSettingNames
15  {
16  // AOH
17  const std::string k_AOH_Bias1 = "AOH_Bias1";
18  const std::string k_AOH_Bias2 = "AOH_Bias2";
19  const std::string k_AOH_Bias3 = "AOH_Bias3";
20  const std::string k_AOH_Bias4 = "AOH_Bias4";
21  const std::string k_AOH_Bias5 = "AOH_Bias5";
22  const std::string k_AOH_Bias6 = "AOH_Bias6";
23  const std::string k_AOH_Gain123 = "AOH_Gain123";
24  const std::string k_AOH_Gain456 = "AOH_Gain456";
25 
26  const std::string k_AOH1_Bias1 = "AOH1_Bias1";
27  const std::string k_AOH1_Bias2 = "AOH1_Bias2";
28  const std::string k_AOH1_Bias3 = "AOH1_Bias3";
29  const std::string k_AOH1_Bias4 = "AOH1_Bias4";
30  const std::string k_AOH1_Bias5 = "AOH1_Bias5";
31  const std::string k_AOH1_Bias6 = "AOH1_Bias6";
32  const std::string k_AOH1_Gain123 = "AOH1_Gain123";
33  const std::string k_AOH1_Gain456 = "AOH1_Gain456";
34 
35  const std::string k_AOH2_Bias1 = "AOH2_Bias1";
36  const std::string k_AOH2_Bias2 = "AOH2_Bias2";
37  const std::string k_AOH2_Bias3 = "AOH2_Bias3";
38  const std::string k_AOH2_Bias4 = "AOH2_Bias4";
39  const std::string k_AOH2_Bias5 = "AOH2_Bias5";
40  const std::string k_AOH2_Bias6 = "AOH2_Bias6";
41  const std::string k_AOH2_Gain123 = "AOH2_Gain123";
42  const std::string k_AOH2_Gain456 = "AOH2_Gain456";
43 
44  const std::string k_AOH3_Bias1 = "AOH3_Bias1";
45  const std::string k_AOH3_Bias2 = "AOH3_Bias2";
46  const std::string k_AOH3_Bias3 = "AOH3_Bias3";
47  const std::string k_AOH3_Bias4 = "AOH3_Bias4";
48  const std::string k_AOH3_Bias5 = "AOH3_Bias5";
49  const std::string k_AOH3_Bias6 = "AOH3_Bias6";
50  const std::string k_AOH3_Gain123 = "AOH3_Gain123";
51  const std::string k_AOH3_Gain456 = "AOH3_Gain456";
52 
53  const std::string k_AOH4_Bias1 = "AOH4_Bias1";
54  const std::string k_AOH4_Bias2 = "AOH4_Bias2";
55  const std::string k_AOH4_Bias3 = "AOH4_Bias3";
56  const std::string k_AOH4_Bias4 = "AOH4_Bias4";
57  const std::string k_AOH4_Bias5 = "AOH4_Bias5";
58  const std::string k_AOH4_Bias6 = "AOH4_Bias6";
59  const std::string k_AOH4_Gain123 = "AOH4_Gain123";
60  const std::string k_AOH4_Gain456 = "AOH4_Gain456";
61 
62  const unsigned int k_AOH_Bias1_offset = 0x0;
63  const unsigned int k_AOH_Bias2_offset = 0x1;
64  const unsigned int k_AOH_Bias3_offset = 0x2;
65  const unsigned int k_AOH_Bias4_offset = 0x4;
66  const unsigned int k_AOH_Bias5_offset = 0x5;
67  const unsigned int k_AOH_Bias6_offset = 0x6;
68  const unsigned int k_AOH_Gain123_offset = 0x3;
69  const unsigned int k_AOH_Gain456_offset = 0x7;
70 
71  // AOH fpix
72  const unsigned int k_fpix_AOH_base = 0x10;
73  const unsigned int k_fpix_AOH_Bias1_address = k_fpix_AOH_base + k_AOH_Bias1_offset;
74  const unsigned int k_fpix_AOH_Bias2_address = k_fpix_AOH_base + k_AOH_Bias2_offset;
75  const unsigned int k_fpix_AOH_Bias3_address = k_fpix_AOH_base + k_AOH_Bias3_offset;
76  const unsigned int k_fpix_AOH_Bias4_address = k_fpix_AOH_base + k_AOH_Bias4_offset;
77  const unsigned int k_fpix_AOH_Bias5_address = k_fpix_AOH_base + k_AOH_Bias5_offset;
78  const unsigned int k_fpix_AOH_Bias6_address = k_fpix_AOH_base + k_AOH_Bias6_offset;
79  const unsigned int k_fpix_AOH_Gain123_address = k_fpix_AOH_base + k_AOH_Gain123_offset;
80  const unsigned int k_fpix_AOH_Gain456_address = k_fpix_AOH_base + k_AOH_Gain456_offset;
81 
82  // AOH bpix
83  const unsigned int k_bpix_AOH1_base = 0x08;
84  const unsigned int k_bpix_AOH1_Bias1_address = k_bpix_AOH1_base + k_AOH_Bias1_offset;
85  const unsigned int k_bpix_AOH1_Bias2_address = k_bpix_AOH1_base + k_AOH_Bias2_offset;
86  const unsigned int k_bpix_AOH1_Bias3_address = k_bpix_AOH1_base + k_AOH_Bias3_offset;
87  const unsigned int k_bpix_AOH1_Bias4_address = k_bpix_AOH1_base + k_AOH_Bias4_offset;
88  const unsigned int k_bpix_AOH1_Bias5_address = k_bpix_AOH1_base + k_AOH_Bias5_offset;
89  const unsigned int k_bpix_AOH1_Bias6_address = k_bpix_AOH1_base + k_AOH_Bias6_offset;
90  const unsigned int k_bpix_AOH1_Gain123_address = k_bpix_AOH1_base + k_AOH_Gain123_offset;
91  const unsigned int k_bpix_AOH1_Gain456_address = k_bpix_AOH1_base + k_AOH_Gain456_offset;
92 
93  const unsigned int k_bpix_AOH2_base = 0x10;
94  const unsigned int k_bpix_AOH2_Bias1_address = k_bpix_AOH2_base + k_AOH_Bias1_offset;
95  const unsigned int k_bpix_AOH2_Bias2_address = k_bpix_AOH2_base + k_AOH_Bias2_offset;
96  const unsigned int k_bpix_AOH2_Bias3_address = k_bpix_AOH2_base + k_AOH_Bias3_offset;
97  const unsigned int k_bpix_AOH2_Bias4_address = k_bpix_AOH2_base + k_AOH_Bias4_offset;
98  const unsigned int k_bpix_AOH2_Bias5_address = k_bpix_AOH2_base + k_AOH_Bias5_offset;
99  const unsigned int k_bpix_AOH2_Bias6_address = k_bpix_AOH2_base + k_AOH_Bias6_offset;
100  const unsigned int k_bpix_AOH2_Gain123_address = k_bpix_AOH2_base + k_AOH_Gain123_offset;
101  const unsigned int k_bpix_AOH2_Gain456_address = k_bpix_AOH2_base + k_AOH_Gain456_offset;
102 
103  const unsigned int k_bpix_AOH3_base = 0x18;
104  const unsigned int k_bpix_AOH3_Bias1_address = k_bpix_AOH3_base + k_AOH_Bias1_offset;
105  const unsigned int k_bpix_AOH3_Bias2_address = k_bpix_AOH3_base + k_AOH_Bias2_offset;
106  const unsigned int k_bpix_AOH3_Bias3_address = k_bpix_AOH3_base + k_AOH_Bias3_offset;
107  const unsigned int k_bpix_AOH3_Bias4_address = k_bpix_AOH3_base + k_AOH_Bias4_offset;
108  const unsigned int k_bpix_AOH3_Bias5_address = k_bpix_AOH3_base + k_AOH_Bias5_offset;
109  const unsigned int k_bpix_AOH3_Bias6_address = k_bpix_AOH3_base + k_AOH_Bias6_offset;
110  const unsigned int k_bpix_AOH3_Gain123_address = k_bpix_AOH3_base + k_AOH_Gain123_offset;
111  const unsigned int k_bpix_AOH3_Gain456_address = k_bpix_AOH3_base + k_AOH_Gain456_offset;
112 
113  const unsigned int k_bpix_AOH4_base = 0x20;
114  const unsigned int k_bpix_AOH4_Bias1_address = k_bpix_AOH4_base + k_AOH_Bias1_offset;
115  const unsigned int k_bpix_AOH4_Bias2_address = k_bpix_AOH4_base + k_AOH_Bias2_offset;
116  const unsigned int k_bpix_AOH4_Bias3_address = k_bpix_AOH4_base + k_AOH_Bias3_offset;
117  const unsigned int k_bpix_AOH4_Bias4_address = k_bpix_AOH4_base + k_AOH_Bias4_offset;
118  const unsigned int k_bpix_AOH4_Bias5_address = k_bpix_AOH4_base + k_AOH_Bias5_offset;
119  const unsigned int k_bpix_AOH4_Bias6_address = k_bpix_AOH4_base + k_AOH_Bias6_offset;
120  const unsigned int k_bpix_AOH4_Gain123_address = k_bpix_AOH4_base + k_AOH_Gain123_offset;
121  const unsigned int k_bpix_AOH4_Gain456_address = k_bpix_AOH4_base + k_AOH_Gain456_offset;
122 
123  // PLL
124  const std::string k_PLL_CTR1 = "PLL_CTR1";
125  const std::string k_PLL_CTR2 = "PLL_CTR2";
126  const std::string k_PLL_CTR3 = "PLL_CTR3";
127  const std::string k_PLL_CTR4or5 = "PLL_CTR4or5"; // controls either CTR4 (if bit 5 of CTR2 = 0) or CTR5 (if bit 5 of CTR = 1)
128  const std::string k_PLL_CTR4 = "PLL_CTR4"; // has no address defined, needs special handling
129  const std::string k_PLL_CTR5 = "PLL_CTR5"; // has no address defined, needs special handling
130 
131  const unsigned int k_PLL_CTR1_offset = 0x0;
132  const unsigned int k_PLL_CTR2_offset = 0x1;
133  const unsigned int k_PLL_CTR3_offset = 0x2;
134  const unsigned int k_PLL_CTR4or5_offset = 0x3;
135 
136  // PLL fpix
137  const unsigned int k_fpix_PLL_base = 0x20;
138  const unsigned int k_fpix_PLL_CTR1_address = k_fpix_PLL_base + k_PLL_CTR1_offset;
139  const unsigned int k_fpix_PLL_CTR2_address = k_fpix_PLL_base + k_PLL_CTR2_offset;
140  const unsigned int k_fpix_PLL_CTR3_address = k_fpix_PLL_base + k_PLL_CTR3_offset;
141  const unsigned int k_fpix_PLL_CTR4or5_address = k_fpix_PLL_base + k_PLL_CTR4or5_offset;
142 
143  // PLL bpix
144  const unsigned int k_bpix_PLL_base = 0x40;
145  const unsigned int k_bpix_PLL_CTR1_address = k_bpix_PLL_base + k_PLL_CTR1_offset;
146  const unsigned int k_bpix_PLL_CTR2_address = k_bpix_PLL_base + k_PLL_CTR2_offset;
147  const unsigned int k_bpix_PLL_CTR3_address = k_bpix_PLL_base + k_PLL_CTR3_offset;
148  const unsigned int k_bpix_PLL_CTR4or5_address = k_bpix_PLL_base + k_PLL_CTR4or5_offset;
149 
150  // Delay25
151  const std::string k_Delay25_RDA = "Delay25_RDA";
152  const std::string k_Delay25_RCL = "Delay25_RCL";
153  const std::string k_Delay25_SDA = "Delay25_SDA";
154  const std::string k_Delay25_TRG = "Delay25_TRG";
155  const std::string k_Delay25_SCL = "Delay25_SCL";
156  const std::string k_Delay25_GCR = "Delay25_GCR";
157 
158  const unsigned int k_Delay25_CR0_offset = 0x0;
159  const unsigned int k_Delay25_CR1_offset = 0x1;
160  const unsigned int k_Delay25_CR2_offset = 0x2;
161  const unsigned int k_Delay25_CR3_offset = 0x3;
162  const unsigned int k_Delay25_CR4_offset = 0x4;
163  const unsigned int k_Delay25_CR5_offset = 0x5;
164 
165  // Delay25 fpix
166  const unsigned int k_fpix_Delay25_base = 0x30;
167  const unsigned int k_fpix_Delay25_RDA_address = k_fpix_Delay25_base + k_Delay25_CR0_offset;
168  const unsigned int k_fpix_Delay25_RCL_address = k_fpix_Delay25_base + k_Delay25_CR1_offset;
169  const unsigned int k_fpix_Delay25_SDA_address = k_fpix_Delay25_base + k_Delay25_CR2_offset;
170  const unsigned int k_fpix_Delay25_TRG_address = k_fpix_Delay25_base + k_Delay25_CR3_offset;
171  const unsigned int k_fpix_Delay25_SCL_address = k_fpix_Delay25_base + k_Delay25_CR4_offset;
172  const unsigned int k_fpix_Delay25_GCR_address = k_fpix_Delay25_base + k_Delay25_CR5_offset;
173 
174  // Delay25 bpix
175  const unsigned int k_bpix_Delay25_base = 0x60;
176  const unsigned int k_bpix_Delay25_RDA_address = k_bpix_Delay25_base + k_Delay25_CR3_offset;
177  const unsigned int k_bpix_Delay25_RCL_address = k_bpix_Delay25_base + k_Delay25_CR0_offset;
178  const unsigned int k_bpix_Delay25_SDA_address = k_bpix_Delay25_base + k_Delay25_CR2_offset;
179  const unsigned int k_bpix_Delay25_TRG_address = k_bpix_Delay25_base + k_Delay25_CR1_offset;
180  const unsigned int k_bpix_Delay25_SCL_address = k_bpix_Delay25_base + k_Delay25_CR4_offset;
181  const unsigned int k_bpix_Delay25_GCR_address = k_bpix_Delay25_base + k_Delay25_CR5_offset;
182 
183  // DOH
184  const std::string k_DOH_Ch0Bias_CLK = "DOH_Ch0Bias_CLK";
185  const std::string k_DOH_Dummy = "DOH_Dummy";
186  const std::string k_DOH_Ch1Bias_Data = "DOH_Ch1Bias_Data";
187  const std::string k_DOH_Gain_SEU = "DOH_Gain_SEU";
188 
189  const unsigned int k_DOH_Ch0Bias_CLK_offset = 0x0;
190  const unsigned int k_DOH_Dummy_offset = 0x1;
191  const unsigned int k_DOH_Ch1Bias_Data_offset = 0x2;
192  const unsigned int k_DOH_Gain_SEU_offset = 0x3;
193 
194  // DOH fpix
195  const unsigned int k_fpix_DOH_base = 0x70;
196  const unsigned int k_fpix_DOH_Ch0Bias_CLK_address = k_fpix_DOH_base + k_DOH_Ch0Bias_CLK_offset;
197  const unsigned int k_fpix_DOH_Dummy_address = k_fpix_DOH_base + k_DOH_Dummy_offset;
198  const unsigned int k_fpix_DOH_Ch1Bias_Data_address = k_fpix_DOH_base + k_DOH_Ch1Bias_Data_offset;
199  const unsigned int k_fpix_DOH_Gain_SEU_address = k_fpix_DOH_base + k_DOH_Gain_SEU_offset;
200 
201  // DOH bpix
202  const unsigned int k_bpix_DOH_base = 0x70;
203  const unsigned int k_bpix_DOH_Ch0Bias_CLK_address = k_bpix_DOH_base + k_DOH_Ch0Bias_CLK_offset;
204  const unsigned int k_bpix_DOH_Dummy_address = k_bpix_DOH_base + k_DOH_Dummy_offset;
205  const unsigned int k_bpix_DOH_Ch1Bias_Data_address = k_bpix_DOH_base + k_DOH_Ch1Bias_Data_offset;
206  const unsigned int k_bpix_DOH_Gain_SEU_address = k_bpix_DOH_base + k_DOH_Gain_SEU_offset;
207  }
208 }
209 #endif
const unsigned int k_bpix_AOH4_Bias6_address
const unsigned int k_fpix_AOH_Bias6_address
const unsigned int k_fpix_PLL_CTR4or5_address
const unsigned int k_bpix_AOH1_Gain123_address
const unsigned int k_bpix_AOH3_Bias4_address
const unsigned int k_fpix_DOH_Ch1Bias_Data_address
const unsigned int k_bpix_AOH3_Bias3_address
const unsigned int k_bpix_AOH2_Bias3_address
const unsigned int k_fpix_DOH_Dummy_address
const unsigned int k_bpix_DOH_Dummy_address
const unsigned int k_bpix_AOH2_Bias5_address
const unsigned int k_fpix_Delay25_GCR_address
const unsigned int k_fpix_PLL_CTR1_address
const unsigned int k_bpix_AOH4_Bias2_address
const unsigned int k_bpix_AOH1_Gain456_address
const unsigned int k_bpix_DOH_Ch1Bias_Data_address
const unsigned int k_bpix_AOH1_Bias4_address
const unsigned int k_bpix_AOH3_Bias1_address
const unsigned int k_bpix_AOH4_Gain456_address
const unsigned int k_bpix_AOH3_Bias5_address
const unsigned int k_bpix_Delay25_SDA_address
const unsigned int k_bpix_AOH2_Bias2_address
const unsigned int k_bpix_Delay25_SCL_address
const unsigned int k_bpix_PLL_CTR2_address
const unsigned int k_bpix_Delay25_TRG_address
const unsigned int k_bpix_AOH1_Bias2_address
const unsigned int k_bpix_AOH2_Gain456_address
const unsigned int k_bpix_AOH1_Bias3_address
const unsigned int k_bpix_PLL_CTR3_address
const unsigned int k_bpix_AOH4_Bias4_address
const unsigned int k_DOH_Ch0Bias_CLK_offset
const unsigned int k_bpix_PLL_CTR4or5_address
const unsigned int k_bpix_AOH3_Bias6_address
const unsigned int k_bpix_AOH4_Gain123_address
const unsigned int k_bpix_AOH4_Bias3_address
const unsigned int k_fpix_AOH_Bias5_address
const unsigned int k_bpix_AOH4_Bias1_address
const unsigned int k_bpix_AOH1_Bias6_address
const unsigned int k_fpix_AOH_Bias2_address
const unsigned int k_bpix_AOH1_Bias1_address
const unsigned int k_fpix_AOH_Gain123_address
const unsigned int k_DOH_Ch1Bias_Data_offset
const unsigned int k_fpix_Delay25_TRG_address
const unsigned int k_fpix_AOH_Bias4_address
const unsigned int k_bpix_AOH2_Gain123_address
const unsigned int k_bpix_AOH3_Gain123_address
const unsigned int k_bpix_DOH_Gain_SEU_address
const unsigned int k_bpix_Delay25_RCL_address
const unsigned int k_bpix_DOH_Ch0Bias_CLK_address
const unsigned int k_bpix_Delay25_RDA_address
const unsigned int k_bpix_Delay25_GCR_address
const unsigned int k_fpix_Delay25_SDA_address
const unsigned int k_fpix_DOH_Ch0Bias_CLK_address
const unsigned int k_fpix_DOH_Gain_SEU_address
const unsigned int k_fpix_PLL_CTR2_address
const unsigned int k_bpix_PLL_CTR1_address
const unsigned int k_fpix_Delay25_RCL_address
const unsigned int k_fpix_Delay25_SCL_address
const unsigned int k_fpix_AOH_Bias3_address
const unsigned int k_bpix_AOH1_Bias5_address
const unsigned int k_fpix_AOH_Gain456_address
const unsigned int k_bpix_AOH3_Bias2_address
const unsigned int k_fpix_PLL_CTR3_address
const unsigned int k_bpix_AOH3_Gain456_address
const unsigned int k_bpix_AOH2_Bias1_address
const unsigned int k_bpix_AOH2_Bias6_address
const unsigned int k_bpix_AOH4_Bias5_address
const unsigned int k_fpix_AOH_Bias1_address
const unsigned int k_fpix_Delay25_RDA_address
const unsigned int k_bpix_AOH2_Bias4_address