CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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;
81 
82  // AOH bpix
83  const unsigned int k_bpix_AOH1_base = 0x08;
92 
93  const unsigned int k_bpix_AOH2_base = 0x10;
102 
103  const unsigned int k_bpix_AOH3_base = 0x18;
112 
113  const unsigned int k_bpix_AOH4_base = 0x20;
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;
142 
143  // PLL bpix
144  const unsigned int k_bpix_PLL_base = 0x40;
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;
173 
174  // Delay25 bpix
175  const unsigned int k_bpix_Delay25_base = 0x60;
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;
200 
201  // DOH bpix
202  const unsigned int k_bpix_DOH_base = 0x70;
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