8 { RoiMaskA,
"roimasking_lut_A" },
9 { RoiMaskC,
"roimasking_lut_C" },
10 { PtLutBarrel,
"pt_lut_BA" },
11 { PtLutEndcap,
"pt_lut_EF" }
27 std::cout <<
"CTP Files (" << (m_hasCompleteCtpData?
"complete" :
"incomplete") <<
")" << std::endl;
28 std::cout <<
" LUT: " << m_Ctpcore_LUT.size() << std::endl;
29 std::cout <<
" CAM: " << m_Ctpcore_CAM.size() << std::endl;
30 std::cout <<
" SMX: " << m_Ctpcore_SMX.size() << std::endl;
31 std::cout <<
" CTPIN Mon Sel 7: " << m_Ctpin_MonSelector_Slot7.size() << std::endl;
32 std::cout <<
" CTPIN Mon Sel 8: " << m_Ctpin_MonSelector_Slot8.size() << std::endl;
33 std::cout <<
" CTPIN Mon Sel 9: " << m_Ctpin_MonSelector_Slot9.size() << std::endl;
34 std::cout <<
" CTPIN Mon Dec 7: " << m_Ctpin_MonDecoder_Slot7.size() << std::endl;
35 std::cout <<
" CTPIN Mon Dec 8: " << m_Ctpin_MonDecoder_Slot8.size() << std::endl;
36 std::cout <<
" CTPIN Mon Dec 9: " << m_Ctpin_MonDecoder_Slot9.size() << std::endl;
37 std::cout <<
" CTPMON Mon Sel: " << m_Ctpmon_MonSelector.size() << std::endl;
38 std::cout <<
" CTPMON Mon Dec: " << m_Ctpmon_MonDecoder.size() << std::endl;
39 std::cout <<
" CTPMON DMX: " << m_Ctpmon_DMX.size() << std::endl;
40 std::cout <<
"CTP SMX (" << (m_hasCompleteSmxData?
"complete" :
"incomplete") <<
")" << std::endl;
41 std::cout <<
" Output: " << m_Smx_Output.size() << std::endl;
42 std::cout <<
" VHDL 7: " << m_Smx_Vhdl_Slot7.size() << std::endl;
43 std::cout <<
" VHDL 8: " << m_Smx_Vhdl_Slot8.size() << std::endl;
44 std::cout <<
" VHDL 9: " << m_Smx_Vhdl_Slot9.size() << std::endl;
45 std::cout <<
" SVFI 7: " << m_Smx_Svfi_Slot7.size() << std::endl;
46 std::cout <<
" SVFI 8: " << m_Smx_Svfi_Slot8.size() << std::endl;
47 std::cout <<
" SVFI 9: " << m_Smx_Svfi_Slot9.size() << std::endl;
48 std::cout <<
"MUCTPI Files (" << (m_hasCompleteMuctpiData?
"complete" :
"incomplete") <<
")" << std::endl;
49 std::cout <<
" required:" << std::endl;
50 std::cout <<
" RoiMask A: " << m_muctpi.at(
"roimasking_lut_A").size() << std::endl;
51 std::cout <<
" RoiMask C: " << m_muctpi.at(
"roimasking_lut_C").size() << std::endl;
52 std::cout <<
" pt Barrel: " << m_muctpi.at(
"pt_lut_BA").size() << std::endl;
53 std::cout <<
" pt EC/FW : " << m_muctpi.at(
"pt_lut_EF").size() << std::endl;
54 std::cout <<
" extra pt lut:" << std::endl;
55 for(
auto x: m_muctpi_Extra_Ptlut) {
56 std::cout <<
" " <<
x.first <<
": " <<
x.second.size() << std::endl;
58 std::cout <<
" nbits: " << m_muctpi_Nbits.size() << std::endl;
59 std::cout <<
"TMC information (" << (m_hasCompleteTmcData?
"complete" :
"incomplete") <<
")" << std::endl;
60 std::cout <<
" CTPCore inputs : " << m_Tmc_CtpcoreInputs.size() << std::endl;
61 std::cout <<
" CTPIN counters : " << m_Tmc_CtpinCounters.size() << std::endl;
62 std::cout <<
" CTPMON counters : " << m_Tmc_CtpmonCounters.size() << std::endl;
70 return m_hasCompleteCtpData;
75 return m_hasCompleteSmxData;
80 return m_hasCompleteMuctpiData;
85 return m_hasCompleteTmcData;
88 const std::vector<uint32_t> &
93 const std::vector<uint32_t> &
98 const std::vector<uint32_t> &
100 return m_Ctpcore_SMX;
103 const std::vector<uint32_t> &
105 return m_Ctpin_MonSelector_Slot7;
109 const std::vector<uint32_t> &
111 return m_Ctpin_MonSelector_Slot8;
114 const std::vector<uint32_t> &
116 return m_Ctpin_MonSelector_Slot9;
119 const std::vector<uint32_t> &
121 return m_Ctpin_MonDecoder_Slot7;
124 const std::vector<uint32_t> &
126 return m_Ctpin_MonDecoder_Slot8;
129 const std::vector<uint32_t> &
131 return m_Ctpin_MonDecoder_Slot9;
134 const std::vector<uint32_t> &
136 return m_Ctpmon_MonSelector;
139 const std::vector<uint32_t> &
141 return m_Ctpmon_MonDecoder;
144 const std::vector<uint32_t> &
156 return m_Smx_Vhdl_Slot7;
161 return m_Smx_Vhdl_Slot8;
166 return m_Smx_Vhdl_Slot9;
171 return m_Smx_Svfi_Slot7;
176 return m_Smx_Svfi_Slot8;
181 return m_Smx_Svfi_Slot9;
184 const std::vector<uint32_t> &
186 return m_muctpi.at(s_keyMap.at(
key));
189 const std::vector<uint32_t> &
191 return m_muctpi_Extra_Ptlut.at(sector);
194 const std::vector<uint32_t> &
196 return m_muctpi_Nbits;
199 const std::vector<TrigConf::L1CTPFiles::CTPCoreInput> &
201 return m_Tmc_CtpcoreInputs;
204 const std::vector<TrigConf::L1CTPFiles::CTPInCounter> &
206 return m_Tmc_CtpinCounters;
209 const std::vector<TrigConf::L1CTPFiles::CTPMonCounter> &
211 return m_Tmc_CtpmonCounters;
220 m_hasCompleteCtpData =
flag;
225 m_hasCompleteSmxData =
flag;
230 m_hasCompleteMuctpiData =
flag;
235 m_hasCompleteTmcData =
flag;
240 m_Ctpcore_LUT = std::move(
data);
245 m_Ctpcore_CAM = std::move(
data);
250 m_Ctpcore_SMX = std::move(
data);
255 m_Ctpin_MonSelector_Slot7 = std::move(
data);
260 m_Ctpin_MonSelector_Slot8 = std::move(
data);
265 m_Ctpin_MonSelector_Slot9 = std::move(
data);
270 m_Ctpin_MonDecoder_Slot7 = std::move(
data);
275 m_Ctpin_MonDecoder_Slot8 = std::move(
data);
280 m_Ctpin_MonDecoder_Slot9 = std::move(
data);
285 m_Ctpmon_MonSelector = std::move(
data);
290 m_Ctpmon_MonDecoder = std::move(
data);
295 m_Ctpmon_DMX = std::move(
data);
305 m_Smx_Vhdl_Slot7 =
data;
310 m_Smx_Vhdl_Slot8 =
data;
315 m_Smx_Vhdl_Slot9 =
data;
320 m_Smx_Svfi_Slot7 =
data;
325 m_Smx_Svfi_Slot8 =
data;
330 m_Smx_Svfi_Slot9 =
data;
335 m_muctpi[s_keyMap.at(
key)] = std::move(
data);
340 m_muctpi_Extra_Ptlut[
key] = std::move(
data);
345 m_muctpi_Nbits = std::move(
data);
350 m_Tmc_CtpcoreInputs = std::move(
data);
355 m_Tmc_CtpcoreCTPXInputs = std::move(
data);
360 m_Tmc_CtpinCounters = std::move(
data);
365 m_Tmc_CtpmonCounters = std::move(
data);
370 m_Tmc = std::move(
data);