11 :m_origin(
sb), m_bid(bidIn), m_orgBoardType(-1), m_orgSBid(-1),
47 for(
int i=0;
i<2;
i++) {
76 :m_origin(right.m_origin), m_bid(right.m_bid),
77 m_orgBoardType(-1), m_orgSBid(-1),
78 m_numberOfData(right.m_numberOfData)
107 :m_origin(0), m_bid(-1),
108 m_orgBoardType(-1), m_orgSBid(-1),
141 std::cerr <<
"TGCSlaveBoardOut::setbDev : illegal block "
143 <<
" block=" << block << std::endl;
147 std::cerr <<
"TGCSlaveBoardOut::setbDev : illegal Type "
149 <<
" block=" << block << std::endl;
157 std::cout <<
":" <<
dr <<
" TGCSlaveBoardOut::setbDev" << std::endl;
167 std::cout << std::endl;
174 std::cerr <<
"internal error TGCSlaveBoardOut::setPos()" << std::endl;
176 m_pos[iData] = posIn;
197 std::cout<<
" SlaveBoardOut:";
203 std::cout<<
" SBType:" <<
"WTSB";
206 std::cout<<
" SBType:" <<
"WDSB";
209 std::cout<<
" SBType:" <<
"STSB";
212 std::cout<<
" SBType:" <<
"SDSB";
215 std::cout<<
" bid:" <<
m_bid;
217 if(
m_hit[OutPutBlock]) std::cout <<
" [OutPutBlock=" << OutPutBlock <<
" x=" <<
m_pos[OutPutBlock] <<
" d=" <<
m_dev[OutPutBlock] <<
"]";
218 std::cout<<std::endl;
226 std::cout <<
" bit pattern [OutPutBlock=" << OutPutBlock <<
" x=";
236 if(
count)std::cout<<std::endl;
247 std::cout<<
" SlaveBoardOut:";
248 std::cout<<
" SBID:"<< m_orgSBid;
250 switch (m_orgBoardType)
254 std::cout<<
" SBType:" <<
"WTSB";
259 std::cout<<
" SBType:" <<
"WDSB";
264 std::cout<<
" SBType:" <<
"STSB";
269 std::cout<<
" SBType:" <<
"SDSB";
274 std::cout<<
" bid:" << m_bid;
275 if(m_hit[OutPutBlock]) std::cout <<
" [OutPutBlock=" << OutPutBlock <<
" x=" << m_pos[OutPutBlock] <<
" d=" << m_dev[OutPutBlock] <<
"]";
277 if(m_hit[OutPutBlock] && m_bpos[OutPutBlock])
279 std::cout <<
" bit pattern [OutPutBlock=" << OutPutBlock <<
" x=";
280 m_bpos[OutPutBlock]->printb();
281 if(((m_orgBoardType ==
SDSB) || (m_orgBoardType ==
WDSB)) && m_bdev[OutPutBlock])
284 m_bdev[OutPutBlock]->printb();
288 std::cout<<std::endl;
302 *ofs <<
"#SlaveBoardOut:";
308 *ofs <<
" SBType:" <<
"WTSB";
311 *ofs <<
" SBType:" <<
"WDSB";
314 *ofs <<
" SBType:" <<
"STSB";
317 *ofs <<
" SBType:" <<
"SDSB";
320 *ofs <<
" bid:" <<
m_bid;
324 *ofs <<
" [OutPutBlock=" << OutPutBlock <<
"/" <<
m_numberOfData-1 <<
" x=" <<
m_pos[OutPutBlock] <<
" d=" <<
m_dev[OutPutBlock] <<
"]";
325 *ofs <<
"[OutPutBlock=" << OutPutBlock <<
" x=";
339 if(!(
m_hit[OutPutBlock] &&
m_bpos[OutPutBlock]))
return;
341 *ofs <<
"#SlaveBoardOut:";
347 *ofs <<
" SBType:" <<
"WTSB";
350 *ofs <<
" SBType:" <<
"WDSB";
353 *ofs <<
" SBType:" <<
"STSB";
356 *ofs <<
" SBType:" <<
"SDSB";
359 *ofs <<
" bid:" <<
m_bid;
362 *ofs <<
" [OutPutBlock=" << OutPutBlock <<
" x=" <<
m_pos[OutPutBlock] <<
" d=" <<
m_dev[OutPutBlock] <<
"]";
363 *ofs <<
"[OutPutBlock=" << OutPutBlock;
399 *ofs <<
" 00000 0000";
432 *ofs <<
" 00000 0000";