CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
PixelPortCardSettingNames.h
Go to the documentation of this file.
1 #ifndef PixelPortCardSettingNames_h
2 #define PixelPortCardSettingNames_h
3 
11 #include <string>
12 namespace pos {
13  namespace PortCardSettingNames {
14  // AOH
15  const std::string k_AOH_Bias1 = "AOH_Bias1";
16  const std::string k_AOH_Bias2 = "AOH_Bias2";
17  const std::string k_AOH_Bias3 = "AOH_Bias3";
18  const std::string k_AOH_Bias4 = "AOH_Bias4";
19  const std::string k_AOH_Bias5 = "AOH_Bias5";
20  const std::string k_AOH_Bias6 = "AOH_Bias6";
21  const std::string k_AOH_Gain123 = "AOH_Gain123";
22  const std::string k_AOH_Gain456 = "AOH_Gain456";
23 
24  const std::string k_AOH1_Bias1 = "AOH1_Bias1";
25  const std::string k_AOH1_Bias2 = "AOH1_Bias2";
26  const std::string k_AOH1_Bias3 = "AOH1_Bias3";
27  const std::string k_AOH1_Bias4 = "AOH1_Bias4";
28  const std::string k_AOH1_Bias5 = "AOH1_Bias5";
29  const std::string k_AOH1_Bias6 = "AOH1_Bias6";
30  const std::string k_AOH1_Gain123 = "AOH1_Gain123";
31  const std::string k_AOH1_Gain456 = "AOH1_Gain456";
32 
33  const std::string k_AOH2_Bias1 = "AOH2_Bias1";
34  const std::string k_AOH2_Bias2 = "AOH2_Bias2";
35  const std::string k_AOH2_Bias3 = "AOH2_Bias3";
36  const std::string k_AOH2_Bias4 = "AOH2_Bias4";
37  const std::string k_AOH2_Bias5 = "AOH2_Bias5";
38  const std::string k_AOH2_Bias6 = "AOH2_Bias6";
39  const std::string k_AOH2_Gain123 = "AOH2_Gain123";
40  const std::string k_AOH2_Gain456 = "AOH2_Gain456";
41 
42  const std::string k_AOH3_Bias1 = "AOH3_Bias1";
43  const std::string k_AOH3_Bias2 = "AOH3_Bias2";
44  const std::string k_AOH3_Bias3 = "AOH3_Bias3";
45  const std::string k_AOH3_Bias4 = "AOH3_Bias4";
46  const std::string k_AOH3_Bias5 = "AOH3_Bias5";
47  const std::string k_AOH3_Bias6 = "AOH3_Bias6";
48  const std::string k_AOH3_Gain123 = "AOH3_Gain123";
49  const std::string k_AOH3_Gain456 = "AOH3_Gain456";
50 
51  const std::string k_AOH4_Bias1 = "AOH4_Bias1";
52  const std::string k_AOH4_Bias2 = "AOH4_Bias2";
53  const std::string k_AOH4_Bias3 = "AOH4_Bias3";
54  const std::string k_AOH4_Bias4 = "AOH4_Bias4";
55  const std::string k_AOH4_Bias5 = "AOH4_Bias5";
56  const std::string k_AOH4_Bias6 = "AOH4_Bias6";
57  const std::string k_AOH4_Gain123 = "AOH4_Gain123";
58  const std::string k_AOH4_Gain456 = "AOH4_Gain456";
59 
60  const unsigned int k_AOH_Bias1_offset = 0x0;
61  const unsigned int k_AOH_Bias2_offset = 0x1;
62  const unsigned int k_AOH_Bias3_offset = 0x2;
63  const unsigned int k_AOH_Bias4_offset = 0x4;
64  const unsigned int k_AOH_Bias5_offset = 0x5;
65  const unsigned int k_AOH_Bias6_offset = 0x6;
66  const unsigned int k_AOH_Gain123_offset = 0x3;
67  const unsigned int k_AOH_Gain456_offset = 0x7;
68 
69  // AOH fpix
70  const unsigned int k_fpix_AOH_base = 0x10;
79 
80  // AOH bpix
81  const unsigned int k_bpix_AOH1_base = 0x08;
90 
91  const unsigned int k_bpix_AOH2_base = 0x10;
100 
101  const unsigned int k_bpix_AOH3_base = 0x18;
110 
111  const unsigned int k_bpix_AOH4_base = 0x20;
120 
121  // PLL
122  const std::string k_PLL_CTR1 = "PLL_CTR1";
123  const std::string k_PLL_CTR2 = "PLL_CTR2";
124  const std::string k_PLL_CTR3 = "PLL_CTR3";
126  "PLL_CTR4or5"; // controls either CTR4 (if bit 5 of CTR2 = 0) or CTR5 (if bit 5 of CTR = 1)
127  const std::string k_PLL_CTR4 = "PLL_CTR4"; // has no address defined, needs special handling
128  const std::string k_PLL_CTR5 = "PLL_CTR5"; // has no address defined, needs special handling
129 
130  const unsigned int k_PLL_CTR1_offset = 0x0;
131  const unsigned int k_PLL_CTR2_offset = 0x1;
132  const unsigned int k_PLL_CTR3_offset = 0x2;
133  const unsigned int k_PLL_CTR4or5_offset = 0x3;
134 
135  // PLL fpix
136  const unsigned int k_fpix_PLL_base = 0x20;
141 
142  // PLL bpix
143  const unsigned int k_bpix_PLL_base = 0x40;
148 
149  // Delay25
150  const std::string k_Delay25_RDA = "Delay25_RDA";
151  const std::string k_Delay25_RCL = "Delay25_RCL";
152  const std::string k_Delay25_SDA = "Delay25_SDA";
153  const std::string k_Delay25_TRG = "Delay25_TRG";
154  const std::string k_Delay25_SCL = "Delay25_SCL";
155  const std::string k_Delay25_GCR = "Delay25_GCR";
156 
157  const unsigned int k_Delay25_CR0_offset = 0x0;
158  const unsigned int k_Delay25_CR1_offset = 0x1;
159  const unsigned int k_Delay25_CR2_offset = 0x2;
160  const unsigned int k_Delay25_CR3_offset = 0x3;
161  const unsigned int k_Delay25_CR4_offset = 0x4;
162  const unsigned int k_Delay25_CR5_offset = 0x5;
163 
164  // Delay25 fpix
165  const unsigned int k_fpix_Delay25_base = 0x30;
172 
173  // Delay25 bpix
174  const unsigned int k_bpix_Delay25_base = 0x60;
181 
182  // DOH
183  const std::string k_DOH_Ch0Bias_CLK = "DOH_Ch0Bias_CLK";
184  const std::string k_DOH_Dummy = "DOH_Dummy";
185  const std::string k_DOH_Ch1Bias_Data = "DOH_Ch1Bias_Data";
186  const std::string k_DOH_Gain_SEU = "DOH_Gain_SEU";
187 
188  const unsigned int k_DOH_Ch0Bias_CLK_offset = 0x0;
189  const unsigned int k_DOH_Dummy_offset = 0x1;
190  const unsigned int k_DOH_Ch1Bias_Data_offset = 0x2;
191  const unsigned int k_DOH_Gain_SEU_offset = 0x3;
192 
193  // DOH fpix
194  const unsigned int k_fpix_DOH_base = 0x70;
199 
200  // DOH bpix
201  const unsigned int k_bpix_DOH_base = 0x70;
206  } // namespace PortCardSettingNames
207 } // namespace pos
208 #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