|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #include "GaudiKernel/MsgStream.h"
28 MsgStream
msg(
msgSvc(),
"MuonCaloEnergyContainerCnv" );
39 MsgStream
msg(
msgSvc(),
"MuonCaloEnergyContainerConverter" );
42 static const pool::Guid p1_guid(
"DB3DC5CD-FF0F-01FE-4550-7BCE8DBB9968");
43 static const pool::Guid tlp1_guid(
"E60630E0-FAA1-4658-9BDD-8BB977C4200B");
48 std::unique_ptr<MuonCaloEnergyContainer_tlp1> persObj( poolReadObject<MuonCaloEnergyContainer_tlp1>() );
55 std::unique_ptr<MuonCaloEnergyContainer_p1> persObj( poolReadObject<MuonCaloEnergyContainer_p1>() );
60 throw std::runtime_error(
"Unsupported persistent version of MuonCaloEnergyContainer");
static void registerStreamerConverter()
Register a streamer converter for backwards compatibility for the vector<DepositInCalo_p1> -> vector<...
MuonCaloEnergyContainerCnv(ISvcLocator *svcloc)
virtual TRANS * createTransient(const PERS *persObj, MsgStream &log)
Create transient representation of a persistent object.
virtual MuonCaloEnergyContainer * createTransient()
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.
Compatibility for old converter classes that don't get passed the key.
Data object for a StoreGate container holding a vector of CaloEnergy, the detailed energy loss descri...
MsgStream & msg() const
The standard message stream.
virtual MuonCaloEnergyContainer_PERS * createPersistent(MuonCaloEnergyContainer *transCont)
virtual bool compareClassGuid(const Guid &clid) const
Compare POOL class GUID with the one of the object being read.