17 declareProperty(
"IsCosmicData",
m_isCosmic =
false);
24 ATH_MSG_DEBUG(
"Muon::CscRdoContByteStreamTool::initialize()");
33 m_hid2re.set(m_cabling.get(), &m_idHelperSvc->cscIdHelper());
35 m_hid2re.set_isCosmic();
36 if (m_isOldCosmic) m_hid2re.set_isOldCosmic();
38 return StatusCode::SUCCESS;
45 ATH_CHECK(m_byteStreamCnvSvc->getFullEventAssembler(fea,
"CscRdoContByteStream"));
47 fea->
idMap().
set(m_cabling.get(), &m_idHelperSvc->cscIdHelper());
48 if (m_cabling->nROD() == 16)
58 std::map<uint32_t, CscROD_Encoder> mapEncoder;
65 for (; it_col != it_col_end; ++it_col) {
67 if (
first && !(*it_col)->empty()) {
69 uint32_t eventType = (*it_col)->eventType();
74 const uint32_t rodId = m_hid2re.getRodID(*it_col);
77 mapEncoder[rodId].setRdo(*it_col);
78 mapEncoder[rodId].setIdHelper(&m_idHelperSvc->cscIdHelper());
84 for (; it_map != it_map_end; ++it_map) {
89 sc = ((*it_map).second).fillROD(*theROD,
log);
90 if (
sc.isFailure())
return StatusCode::RECOVERABLE;