52 myCout <<
"\nL1 GT board map" << std::endl;
54 myCout <<
" Size: " <<
m_gtBoardMaps.size() <<
" boards in L1 GT." << std::endl;
56 for (std::vector<L1GtBoard>::const_iterator
70 myCout <<
"\nL1 GT DAQ record map" << std::endl;
74 boost::uint16_t boardId = 0;
77 for (std::vector<L1GtBoard>::const_iterator
80 posRec = cIt->gtPositionDaqRecord();
81 boardId = cIt->gtBoardId();
82 boardName = cIt->gtBoardName();
86 <<
" " << boardName <<
" " << std::hex << boardId << std::dec
87 <<
" at position " << posRec << std::endl;
93 myCout <<
"\n Size: " << nrBoards <<
" boards in the record" << std::endl;
94 myCout <<
" Header and trailer are automatically added to the hardware record.\n"
105 myCout <<
"\nL1 GT EVM record map" << std::endl;
109 boost::uint16_t boardId = 0;
112 for (std::vector<L1GtBoard>::const_iterator
115 posRec = cIt->gtPositionEvmRecord();
116 boardId = cIt->gtBoardId();
117 boardName = cIt->gtBoardName();
121 <<
" " << boardName <<
" " << std::hex << boardId << std::dec
122 <<
" at position " << posRec << std::endl;
128 myCout <<
"\n Size: " << nrBoards <<
" boards in the record" << std::endl;
129 myCout <<
" Header and trailer are automatically added to the hardware record.\n"
140 myCout <<
"\nL1 GT DAQ \"active boards\" record map" << std::endl;
144 boost::uint16_t boardId = 0;
147 for (std::vector<L1GtBoard>::const_iterator
150 posRec = cIt->gtBitDaqActiveBoards();
151 boardId = cIt->gtBoardId();
152 boardName = cIt->gtBoardName();
156 <<
" " << boardName <<
" " << std::hex << boardId << std::dec
157 <<
" at bit " << posRec << std::endl;
163 myCout <<
"\n Size: " << nrBoards <<
" boards in the record" << std::endl;
174 myCout <<
"\nL1 GT EVM \"active boards\" record map" << std::endl;
178 boost::uint16_t boardId = 0;
181 for (std::vector<L1GtBoard>::const_iterator
184 posRec = cIt->gtBitEvmActiveBoards();
185 boardId = cIt->gtBoardId();
186 boardName = cIt->gtBoardName();
190 <<
" " << boardName <<
" " << std::hex << boardId << std::dec
191 <<
" at bit " << posRec << std::endl;
197 myCout <<
"\n Size: " << nrBoards <<
" boards in the record" << std::endl;
209 myCout <<
"\nL1 GT board - slot map" << std::endl;
213 boost::uint16_t boardId = 0;
216 for (std::vector<L1GtBoard>::const_iterator
219 posRec = cIt->gtBoardSlot();
220 boardId = cIt->gtBoardId();
221 boardName = cIt->gtBoardName();
225 <<
" " << boardName <<
" " << std::hex << boardId << std::dec
226 <<
" in slot " << posRec << std::endl;
232 myCout <<
"\n Size: " << nrBoards <<
" boards in the slot map" << std::endl;
243 myCout <<
"\nL1 GT board names in hw record map" << std::endl;
247 boost::uint16_t boardId = 0;
250 for (std::vector<L1GtBoard>::const_iterator
253 posRec = cIt->gtBoardHexName();
254 boardId = cIt->gtBoardId();
255 boardName = cIt->gtBoardName();
259 <<
" " << boardName <<
" " << std::hex << boardId << std::dec
260 <<
" has HexName " << std::hex << posRec << std::dec << std::endl;
266 myCout <<
"\n Size: " << nrBoards <<
" boards in the record" << std::endl;
278 myCout <<
"\nL1 GT \"cables to PSB\" input map (4x16 bits per cable) - DEPRECATED" << std::endl;
283 for (std::vector<L1GtBoard>::const_iterator
286 if (cIt->gtBoardType() ==
PSB) {
288 myCout <<
"\n PSB_" << cIt->gtBoardIndex() <<
"\n ";
292 std::vector<L1GtPsbQuad> quadInPsb = cIt->gtQuadInPsb();
295 for (std::vector<L1GtPsbQuad>::const_iterator
296 cItQuad = quadInPsb.begin(); cItQuad != quadInPsb.end(); ++cItQuad) {
300 if ( *cItQuad ==
TechTr ) {
302 }
else if ( *cItQuad ==
IsoEGQ ) {
304 }
else if ( *cItQuad ==
NoIsoEGQ ) {
305 objType =
"NoIsoEGQ";
306 }
else if ( *cItQuad ==
CenJetQ ) {
308 }
else if ( *cItQuad ==
ForJetQ ) {
310 }
else if ( *cItQuad ==
TauJetQ ) {
312 }
else if ( *cItQuad ==
ESumsQ ) {
315 objType =
"JetCountsQ";
316 }
else if ( *cItQuad ==
MQB1 ) {
318 }
else if ( *cItQuad ==
MQB2 ) {
320 }
else if ( *cItQuad ==
MQF3 ) {
322 }
else if ( *cItQuad ==
MQF4 ) {
324 }
else if ( *cItQuad ==
MQB5 ) {
326 }
else if ( *cItQuad ==
MQB6 ) {
328 }
else if ( *cItQuad ==
MQF7 ) {
330 }
else if ( *cItQuad ==
MQF8 ) {
332 }
else if ( *cItQuad ==
MQB9 ) {
334 }
else if ( *cItQuad ==
MQB10 ) {
336 }
else if ( *cItQuad ==
MQF11 ) {
338 }
else if ( *cItQuad ==
MQF12 ) {
340 }
else if ( *cItQuad ==
Free ) {
342 }
else if ( *cItQuad ==
HfQ ) {
345 myCout <<
"\n\nError: no such member " << (*cItQuad)
346 <<
" in enum L1GtPsbQuad\n\n" << std::endl;
350 myCout << objType <<
" ";
358 myCout <<
"\n\n Size: " << nrCable <<
" cables for " << nrBoards <<
" PSB boards"
void printGtBoardSlotMap(std::ostream &myCout) const
print L1 GT board - slot map
void setGtBoardMaps(const std::vector< L1GtBoard > &)
std::vector< L1GtBoard > m_gtBoardMaps
L1 GT boards and their mapping.
void printGtEvmRecordMap(std::ostream &myCout) const
print L1 GT EVM record map
void printGtEvmActiveBoardsMap(std::ostream &myCout) const
print L1 GT active boards map for EVM record
std::ostream & operator<<(std::ostream &out, const ALILine &li)
void printGtBoardHexNameMap(std::ostream &myCout) const
print L1 GT board name in hw record map
void print(std::ostream &) const
void printGtDaqRecordMap(std::ostream &myCout) const
print L1 GT DAQ record map
void printGtDaqActiveBoardsMap(std::ostream &myCout) const
print L1 GT active boards map for DAQ record
void printGtQuadToPsbMap(std::ostream &myCout) const
print L1 quadruplet (4x16 bits)(cable) to PSB input map