![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(),
"CscPrepDataContainerCnv");
36 if (
log.level() <= MSG::INFO)
log << MSG::INFO <<
"CscPrepDataContainerCnv::initialize()" <<
endmsg;
38 return StatusCode::SUCCESS;
42 MsgStream
log(
msgSvc(),
"CscPrepDataContainerCnv" );
50 MsgStream
log(
msgSvc(),
"CscPrepDataContainerCnv" );
51 static const pool::Guid p0_guid(
"C48250B1-7575-DFA1-1313-01AAAF759AEA");
52 static const pool::Guid p1_guid(
"B941657D-1ABF-4A88-B23C-6C4212CD04B3");
53 static const pool::Guid p2_guid(
"BF5DA875-6D5B-4DCA-9CD8-E0ABC4FD92F5");
58 std::unique_ptr< Muon::CscPrepDataContainer_p2 > p_coll( poolReadObject< Muon::CscPrepDataContainer_p2 >() );
62 std::unique_ptr< Muon::CscPrepDataContainer_tlp1 > col_vect( poolReadObject< Muon::CscPrepDataContainer_tlp1 >() );
69 throw std::runtime_error(
"Not currently supporting reading non TP-split PRDs");
74 throw std::runtime_error(
"Unsupported persistent version of CscPrepDataContainer");
Template for Muon PRD containers (which are basically collections of MuonPrepDataCollections).
virtual Muon::CscPrepDataContainer * createTransient(const Muon::CscPrepDataContainer_p2 *persObj, MsgStream &log)
CscPrepDataContainerCnv_tlp1 m_TPConverter
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.
::StatusCode StatusCode
StatusCode definition for legacy code.
virtual ~CscPrepDataContainerCnv()
CscPrepDataContainerCnv(ISvcLocator *svcloc)
virtual StatusCode initialize()
Gaudi Service Interface method implementations:
virtual Muon::CscPrepDataContainer * createTransient()
Muon::CscPrepDataContainerCnv_p2 m_converter_p2
virtual TL_PERS * createPersistent(const TRANS *transObj, MsgStream &log)
Create persistent representation of transObj.
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 CscPrepDataContainer_PERS * createPersistent(Muon::CscPrepDataContainer *transCont)