|
ATLAS Offline Software
|
Go to the documentation of this file.
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" );
49 MsgStream
log(
msgSvc(),
"MdtPrepDataContainerCnv" );
50 static const pool::Guid p0_guid(
"7479AE0B-3E99-4344-E6A5-3DDF78E1A363");
51 static const pool::Guid p1_guid(
"7E3F92F5-FAFF-45C3-A8F5-386B3CD56A7B");
52 static const pool::Guid p2_guid(
"BBC02355-570A-4C28-81A6-65F23779509E");
57 std::unique_ptr< MdtPrepDataContainer_PERS > col_vect( poolReadObject< MdtPrepDataContainer_PERS >() );
66 throw std::runtime_error(
"Unsupported persistent version of MdtPrepDataContainer");
Template for Muon PRD containers (which are basically collections of MuonPrepDataCollections).
MdtPrepDataContainerCnv_tlp1 m_converter_tlp1
'Old style' top level convertor
MdtPrepDataContainerCnv(ISvcLocator *svcloc)
virtual StatusCode initialize()
Gaudi Service Interface method implementations:
Muon::MdtPrepDataContainerCnv_p2 m_converter_p2
New, flattened convertor.
virtual PERS * createPersistent(const TRANS *transObj, MsgStream &log)
Create persistent representation of a transient object.
TRANS * createTransient(MsgStream &log)
Create transient representation of the persistent object known to this converter.
msgSvc
Provide convenience handles for various services.
virtual Muon::MdtPrepDataContainer * createTransient()
Compatibility for old converter classes that don't get passed the key.
::StatusCode StatusCode
StatusCode definition for legacy code.
Class to contain the Muon Prep Raw Data.
virtual Muon::MdtPrepDataContainer * createTransient(const Muon::MdtPrepDataContainer_p2 *persObj, MsgStream &log)
virtual MdtPrepDataContainer_PERS * createPersistent(Muon::MdtPrepDataContainer *transCont)
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:
virtual ~MdtPrepDataContainerCnv()