|
ATLAS Offline Software
|
Go to the documentation of this file.
7 #include "GaudiKernel/StatusCode.h"
8 #include "GaudiKernel/MsgStream.h"
22 return StatusCode::FAILURE;
25 MsgStream
log(
msgSvc(),
"sTgcPrepDataContainerCnv");
26 if (
log.level() <= MSG::INFO)
log << MSG::INFO <<
"sTgcPrepDataContainerCnv::initialize()" <<
endmsg;
28 return StatusCode::SUCCESS;
32 MsgStream
log(
msgSvc(),
"sTgcPrepDataContainerCnv" );
39 MsgStream
log(
msgSvc(),
"sTgcPrepDataContainerCnv" );
40 static const pool::Guid p1_guid(
"7AB87DDE-8D7C-11E2-AA7C-001517648C14");
41 static const pool::Guid p2_guid(
"9E1B8028-D22C-4E02-BA82-D0EC79DB4F6C");
42 static const pool::Guid p3_guid(
"F06F048C-878D-11EE-AFB6-5811229BAA38");
48 std::unique_ptr< Muon::sTgcPrepDataContainer_p3 > p_coll( poolReadObject< Muon::sTgcPrepDataContainer_p3 >() );
52 std::unique_ptr< Muon::sTgcPrepDataContainer_p2 > p_coll( poolReadObject< Muon::sTgcPrepDataContainer_p2 >() );
56 std::unique_ptr< Muon::sTgcPrepDataContainer_p1 > p_coll( poolReadObject< Muon::sTgcPrepDataContainer_p1 >() );
59 throw std::runtime_error(
"Unsupported persistent version of sTgcPrepDataContainer");
Muon::sTgcPrepDataContainerCnv_p2 m_converter_p2
Template for Muon PRD containers (which are basically collections of MuonPrepDataCollections).
virtual PERS * createPersistent(const TRANS *transObj, MsgStream &log)
Create persistent representation of a transient object.
Muon::sTgcPrepDataContainerCnv_p3 m_converter_p3
virtual Muon::sTgcPrepDataContainer * createTransient()
msgSvc
Provide convenience handles for various services.
Compatibility for old converter classes that don't get passed the key.
virtual Muon::sTgcPrepDataContainer * createTransient(const Muon::sTgcPrepDataContainer_p3 *persObj, MsgStream &log)
::StatusCode StatusCode
StatusCode definition for legacy code.
virtual sTgcPrepDataContainer_PERS * createPersistent(Muon::sTgcPrepDataContainer *transCont)
virtual ~sTgcPrepDataContainerCnv()
virtual Muon::sTgcPrepDataContainer * createTransient(const Muon::sTgcPrepDataContainer_p1 *persObj, MsgStream &log)
Class to contain the Muon Prep Raw Data.
virtual StatusCode initialize()
Gaudi Service Interface method implementations:
sTgcPrepDataContainerCnv(ISvcLocator *svcloc)
virtual bool compareClassGuid(const Guid &clid) const
Compare POOL class GUID with the one of the object being read.
virtual Muon::sTgcPrepDataContainer * createTransient(const Muon::sTgcPrepDataContainer_p2 *persObj, MsgStream &log)
Muon::sTgcPrepDataContainerCnv_p1 m_converter_p1
virtual StatusCode initialize()
Gaudi Service Interface method implementations: