8#include "GaudiKernel/StatusCode.h"
9#include "GaudiKernel/MsgStream.h"
31 return StatusCode::FAILURE;
36 MsgStream log(msgSvc(),
"MdtPrepDataContainerCnv");
37 log << MSG::INFO <<
"MdtPrepDataContainerCnv::initialize()" <<
endmsg;
38 return StatusCode::SUCCESS;
42 MsgStream log(msgSvc(),
"MdtPrepDataContainerCnv" );
43 if (log.level() <= MSG::DEBUG) log<<MSG::DEBUG<<
"createPersistent(): main converter"<<
endmsg;
49 MsgStream log(msgSvc(),
"MdtPrepDataContainerCnv" );
50 static const pool::Guid p1_guid(
"7E3F92F5-FAFF-45C3-A8F5-386B3CD56A7B");
51 static const pool::Guid p2_guid(
"BBC02355-570A-4C28-81A6-65F23779509E");
52 if (log.level() <= MSG::DEBUG) log<<MSG::DEBUG<<
"createTransient(): main converter"<<
endmsg;
55 if (log.level() <= MSG::DEBUG) log<<MSG::DEBUG<<
"createTransient(): T/P version 2 detected"<<
endmsg;
57 if (log.level() <= MSG::DEBUG) log << MSG::DEBUG <<
"Delegate TP converter " <<
endmsg;
58 p_collection =
m_converter_p2.createTransient( col_vect.get(), log );
60 if (log.level() <= MSG::DEBUG) log<<MSG::DEBUG<<
"createTransient(): T/P version 1 detected"<<
endmsg;
65 throw std::runtime_error(
"Unsupported persistent version of MdtPrepDataContainer");
Muon::MdtPrepDataContainer_p2 MdtPrepDataContainer_PERS
T_AthenaPoolCustomCnv< Muon::MdtPrepDataContainer, MdtPrepDataContainer_PERS > MdtPrepDataContainerCnvBase
virtual MdtPrepDataContainer_PERS * createPersistent(Muon::MdtPrepDataContainer *transCont)
virtual Muon::MdtPrepDataContainer * createTransient()
MdtPrepDataContainerCnv_tlp1 m_converter_tlp1
'Old style' top level convertor
MdtPrepDataContainerCnv(ISvcLocator *svcloc)
virtual ~MdtPrepDataContainerCnv()
Muon::MdtPrepDataContainerCnv_p2 m_converter_p2
New, flattened convertor.
virtual StatusCode initialize()
Gaudi Service Interface method implementations:
virtual bool compareClassGuid(const Guid &clid) const
virtual StatusCode initialize()
MuonPrepDataContainerT< MdtPrepData > MdtPrepDataContainer