39 MsgStream log(msgSvc(),
"sTgcPrepDataContainerCnv" );
40 static const pool::Guid p1_guid(
"7AB87DDE-8D7C-11E2-AA7C-001517648C14");
41 static const pool::Guid p2_guid(
"9E1B8028-D22C-4E02-BA82-D0EC79DB4F6C");
42 static const pool::Guid p3_guid(
"F06F048C-878D-11EE-AFB6-5811229BAA38");
44 if (log.level() <= MSG::DEBUG) log<<MSG::DEBUG<<
"createTransient(): main converter"<<
endmsg;
47 if (log.level() <= MSG::DEBUG) log<<MSG::DEBUG<<
"createTransient(): T/P version 3 detected"<<
endmsg;
49 p_collection =
m_converter_p3.createTransient( p_coll.get(), log );
51 if (log.level() <= MSG::DEBUG) log<<MSG::DEBUG<<
"createTransient(): T/P version 2 detected"<<
endmsg;
53 p_collection =
m_converter_p2.createTransient( p_coll.get(), log );
55 if (log.level() <= MSG::DEBUG) log<<MSG::DEBUG<<
"createTransient(): T/P version 1 detected"<<
endmsg;
57 p_collection =
m_converter_p1.createTransient( p_coll.get(), log );
59 throw std::runtime_error(
"Unsupported persistent version of sTgcPrepDataContainer");