![Logo](../../ATLAS-Logo-Square-Blue-RGB.png) |
ATLAS Offline Software
|
Go to the documentation of this file.
8 #include "GaudiKernel/StatusCode.h"
9 #include "GaudiKernel/MsgStream.h"
30 return StatusCode::FAILURE;
35 MsgStream
log(
msgSvc(),
"RpcPrepDataContainerCnv");
36 log << MSG::INFO <<
"RpcPrepDataContainerCnv::initialize()" <<
endmsg;
38 return StatusCode::SUCCESS;
42 MsgStream
log(
msgSvc(),
"RpcPrepDataContainerCnv" );
49 MsgStream
log(
msgSvc(),
"RpcPrepDataContainerCnv" );
50 static const pool::Guid p0_guid(
"CCD4055C-2A39-CAFF-3F82-5A9116ADAFCB");
51 static const pool::Guid p1_guid(
"F29233F8-F488-4D6D-97F9-4BCA1976BD9F");
53 static const pool::Guid p3_guid(
"65496D1F-E660-42A9-84C9-2002D39B87CB");
59 std::unique_ptr< Muon::RpcPrepDataContainer_p3 > p_coll( poolReadObject< Muon::RpcPrepDataContainer_p3 >() );
63 std::unique_ptr< Muon::RpcPrepDataContainer_tlp1 > col_vect( poolReadObject< Muon::RpcPrepDataContainer_tlp1 >() );
70 throw std::runtime_error(
"Not supporting reading non TP-split PRDs");
73 throw std::runtime_error(
"Unsupported persistent version of RpcPrepDataContainer");
Template for Muon PRD containers (which are basically collections of MuonPrepDataCollections).
virtual ~RpcPrepDataContainerCnv()
Muon::RpcPrepDataContainerCnv_p3 m_converter_p3
virtual PERS * createPersistent(const TRANS *transObj, MsgStream &log)
Create persistent representation of a transient object.
virtual Muon::RpcPrepDataContainer * createTransient()
virtual RpcPrepDataContainer_PERS * createPersistent(Muon::RpcPrepDataContainer *transCont)
TRANS * createTransient(MsgStream &log)
Create transient representation of the persistent object known to this converter.
msgSvc
Provide convenience handles for various services.
Compatibility for old converter classes that don't get passed the key.
virtual Muon::RpcPrepDataContainer * createTransient(const Muon::RpcPrepDataContainer_p3 *persObj, MsgStream &log)
::StatusCode StatusCode
StatusCode definition for legacy code.
RpcPrepDataContainerCnv(ISvcLocator *svcloc)
RpcPrepDataContainerCnv_tlp1 m_TPConverter
Class to contain the Muon Prep Raw Data.
virtual StatusCode initialize()
Gaudi Service Interface method implementations:
virtual bool compareClassGuid(const Guid &clid) const
Compare POOL class GUID with the one of the object being read.
virtual StatusCode initialize()
Gaudi Service Interface method implementations: