8#include "GaudiKernel/StatusCode.h"
9#include "GaudiKernel/MsgStream.h"
26 return StatusCode::FAILURE;
31 MsgStream log(msgSvc(),
"RpcCoinDataContainerCnv");
32 if (log.level() <= MSG::DEBUG) log << MSG::INFO <<
"RpcCoinDataContainerCnv::initialize()" <<
endmsg;
34 return StatusCode::SUCCESS;
38 MsgStream log(msgSvc(),
"RpcCoinDataContainerCnv" );
39 if (log.level() <= MSG::DEBUG) log<<MSG::DEBUG<<
"createPersistent(): main converter"<<
endmsg;
45 MsgStream log(msgSvc(),
"RpcCoinDataContainerCnv" );
46 static const pool::Guid p1_guid(
"AF0DB103-E825-45E5-9C29-9C32342756DD");
47 if (log.level() <= MSG::DEBUG) log<<MSG::DEBUG<<
"createTransient(): main converter"<<
endmsg;
50 if (log.level() <= MSG::DEBUG) log<<MSG::DEBUG<<
"createTransient(): T/P version 1 detected"<<
endmsg;
52 if (log.level() <= MSG::DEBUG) log << MSG::DEBUG <<
"Delegate TP converter " <<
endmsg;
53 p_collection =
m_converter_p1.createTransient( col_vect.get(), log );
55 throw std::runtime_error(
"Unsupported persistent version of RpcCoinDataContainer");
T_AthenaPoolCustomCnv< Muon::RpcCoinDataContainer, Muon::RpcCoinDataContainerCnv_p1::PERS > RpcCoinDataContainerCnvBase
Muon::MuonPRD_Container_p2< RpcCoinData_p1 > PERS
virtual StatusCode initialize()
Gaudi Service Interface method implementations:
virtual Muon::RpcCoinDataContainer * createTransient()
Muon::RpcCoinDataContainerCnv_p1 m_converter_p1
virtual Muon::RpcCoinDataContainerCnv_p1::PERS * createPersistent(Muon::RpcCoinDataContainer *transCont)
virtual ~RpcCoinDataContainerCnv()
RpcCoinDataContainerCnv(ISvcLocator *svcloc)
virtual bool compareClassGuid(const Guid &clid) const
virtual StatusCode initialize()
MuonCoinDataContainer< RpcCoinDataCollection > RpcCoinDataContainer