10 std::vector<uint32_t>& data_block,
11 MsgStream&
msg)
const {
17 uint32_t ROD_source_ID = robFragment->rod_source_id();
18 uint32_t ROD_ndata = robFragment->rod_ndata();
19 uint32_t ROD_nstatus = robFragment->rod_nstatus();
24 <<
" ROD_source_ID: " << ROD_source_ID <<
endmsg
26 <<
" ROD_ndata: " << ROD_ndata <<
endmsg
27 <<
" ROD_nstatus: " << ROD_nstatus <<
endmsg
31 if (ROD_source_ID !=
getSourceID() )
return StatusCode::FAILURE;
32 if (ROD_ndata != 4 && ROD_ndata != 12)
return StatusCode::FAILURE;
33 if (ROD_nstatus != 1 )
return StatusCode::FAILURE;
42 robFragment->rod_data (vintData);
43 robFragment->rod_status(vintStat);
45 for (
uint32_t dataword_it = 0; dataword_it < ROD_ndata; ++dataword_it)
46 data_block.push_back(vintData[dataword_it]);
48 for (
uint32_t dataword_it = 0; dataword_it < ROD_nstatus; ++dataword_it)
49 data_block.push_back(vintStat[dataword_it]);
51 return StatusCode::SUCCESS;