11 auto transCont = std::make_unique<Muon::NSW_TrigRawDataContainer>();
14 return(transCont.release());
20 for (
const auto &raw : *persCont) {
21 auto rawData = std::make_unique<NSW_TrigRawData>(raw.m_sectorId, raw.m_sectorSide, raw.m_bcId);
23 for (
unsigned int i = 0;
i < raw.size(); ++
i) {
25 auto transObj = std::make_unique<NSW_TrigRawDataSegment>();
27 rawData->push_back(std::move(transObj));
37 for (
const auto *
const raw : *transCont) {
38 auto persRawData = std::make_unique<NSW_TrigRawData_p1>();
39 persRawData->m_sectorId = raw->sectorId();
40 persRawData->m_sectorSide = raw->sectorSide();
41 persRawData->m_bcId = raw->bcId();
42 for (
const auto *
const segment : *raw) {
43 auto persRawSegm = std::make_unique<NSW_TrigRawDataSegment_p1>();
45 persRawData->push_back(*persRawSegm);
47 persCont->push_back(*persRawData);
49 if (
log.level() <=
MSG::DEBUG)
log <<
MSG::DEBUG <<
"Created persistent NSW_TrigRawDataContainer representation with " << persCont->size() <<
" entries" <<
endmsg;