16 if (
DEBUG)
log<<
MSG::VERBOSE<<
"MM_RawDataContainerCnv_p3::transToPers with MM_RawDataContainer with this many collections: "<<numColl<<std::endl;
18 persCont->resize(numColl);
20 for (
const auto *collection : *transCont){
22 persColl.resize(collection->size());
23 persColl.
m_idHash = collection->m_idHash;
24 for (
unsigned int j=0 ; j < collection->size() ; ++j ){
25 const MM_RawData* transObj = (*collection)[j] ;
29 log<<
MSG::VERBOSE<<
"Trans:"<<*transObj<<
" Pers: "<<std::hex<<persObj->
m_id<<std::dec<<std::endl;
38 size_t numColl = persCont->size();
40 if (
DEBUG)
log<<
MSG::VERBOSE<<
"MM_RawDataContainerCnv_p3::persToTrans with MM_RawDataContainer_p3 with this many collections "<<numColl<<std::endl;
47 log << MSG::WARNING <<
"Could not add the MM RDO collection during persistent -> transient conversion" << std::endl;
51 if (
DEBUG)
log<<
MSG::VERBOSE<<
"Have created empty transient collection, now looping over persistent coll with this many entries: "<<collection.size() <<std::endl;
53 for (
unsigned int j=0 ; j < collection.size() ; ++j ){
55 MM_RawData* transObj = m_chanCnv.createTransient( persObj,
log );
71 persToTrans(persObj, trans.get(),
log);
74 return(trans.release());
79 m_idHelper = idHelper;