16 if (
DEBUG)
log<<
MSG::VERBOSE<<
"STGC_RawDataContainerCnv_p2::transToPers with STGC_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 ){
29 log<<
MSG::VERBOSE<<
"Trans:"<<*transObj<<
" Pers: "<<std::hex<<persObj->
m_id<<std::dec<<std::endl;
32 log<<
MSG::VERBOSE<<
"trancoll "<<collection->size()<<
" perscoll "<<persColl.size()<<std::endl;
38 size_t numColl = persCont->size();
39 if (
DEBUG)
log<<
MSG::VERBOSE<<
"STGC_RawDataContainerCnv_p2::persToTrans with STGC_RawDataContainer_p2 with this many collections "<<numColl<<std::endl;
45 log << MSG::WARNING <<
"Could not add the sTGC collection during persistent->transient conversion" << std::endl;
48 if (
DEBUG)
log<<
MSG::VERBOSE<<
"Have created empty transient collection, now looping over persistent coll with this many entries: "<<collection.size() <<std::endl;
50 for (
unsigned int j=0 ; j < collection.size() ; ++j ){
68 persToTrans(persObj, trans.get(),
log);
71 return(trans.release());
76 m_idHelper = idHelper;