|
ATLAS Offline Software
|
Go to the documentation of this file.
8 #include "GaudiKernel/StatusCode.h"
9 #include "GaudiKernel/MsgStream.h"
29 return StatusCode::FAILURE;
34 MsgStream
log(
msgSvc(),
"TgcPrepDataContainerCnv");
35 if (
log.level() <= MSG::INFO)
log << MSG::INFO <<
"TgcPrepDataContainerCnv::initialize()" <<
endmsg;
37 return StatusCode::SUCCESS;
41 MsgStream
log(
msgSvc(),
"TgcPrepDataContainerCnv" );
48 MsgStream
log(
msgSvc(),
"TgcPrepDataContainerCnv" );
49 static const pool::Guid p0_guid(
"04E7158E-416B-8E31-D370-616631B8617E");
50 static const pool::Guid p1_guid(
"8C563637-620B-43A0-9A5D-E0BC09496745");
51 static const pool::Guid p2_guid(
"EBB4DCEC-CE23-4A30-BEF7-F3150E4060CB");
52 static const pool::Guid p3_guid(
"215726D6-15F4-41D2-B808-1B9E9FD84166");
59 std::unique_ptr< Muon::TgcPrepDataContainer_p3 > p_coll( poolReadObject< Muon::TgcPrepDataContainer_p3 >() );
63 std::unique_ptr< Muon::TgcPrepDataContainer_p2 > p_coll( poolReadObject< Muon::TgcPrepDataContainer_p2 >() );
67 std::unique_ptr< Muon::TgcPrepDataContainer_tlp1 > col_vect( poolReadObject< Muon::TgcPrepDataContainer_tlp1 >() );
74 throw std::runtime_error(
"Not currently supporting reading non TP-split PRDs");
79 throw std::runtime_error(
"Unsupported persistent version of TgcPrepDataContainer");
Template for Muon PRD containers (which are basically collections of MuonPrepDataCollections).
Muon::TgcPrepDataContainerCnv_p2 m_converter_p2
TgcPrepDataContainerCnv(ISvcLocator *svcloc)
virtual PERS * createPersistent(const TRANS *transObj, MsgStream &log)
Create persistent representation of a transient object.
TgcPrepDataContainerCnv_tlp1 m_TPConverter
Muon::TgcPrepDataContainerCnv_p3 m_converter_p3
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 ~TgcPrepDataContainerCnv()
Class to contain the Muon Prep Raw Data.
virtual Muon::TgcPrepDataContainer * createTransient()
virtual Muon::TgcPrepDataContainer * createTransient(const Muon::TgcPrepDataContainer_p3 *persObj, MsgStream &log)
virtual Muon::TgcPrepDataContainer * createTransient(const Muon::TgcPrepDataContainer_p2 *persObj, MsgStream &log)
virtual TgcPrepDataContainer_PERS * createPersistent(Muon::TgcPrepDataContainer *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 StatusCode initialize()
Gaudi Service Interface method implementations: