|
ATLAS Offline Software
|
Go to the documentation of this file.
7 #include "GaudiKernel/StatusCode.h"
8 #include "GaudiKernel/MsgStream.h"
21 MsgStream
log(
msgSvc(),
"LArRawChannelContainerConverter" );
31 MsgStream
log(
msgSvc(),
"LArRawChannelContainerConverter" );
35 static const pool::Guid guid_p4(
"E3B70B7A-0D69-429A-AD43-B68941E879FB");
36 static const pool::Guid guid_p3(
"95401B94-3D69-49BD-B901-C7B71940D746");
37 static const pool::Guid guid_p2(
"AD521521-4043-472B-BF8B-FDFDC1870FD9");
38 static const pool::Guid guid_p1(
"1569AF5C-5F27-4C02-A87B-47FF192F1605");
39 static const pool::Guid guid_p0(
"9D624DCE-B943-4515-B33A-6F6928F8EB90");
43 std::unique_ptr<LArRawChannelContainer_p4> col_vect( poolReadObject<LArRawChannelContainer_p4>() );
48 std::unique_ptr<LArRawChannelContainer_p3> col_vect( poolReadObject<LArRawChannelContainer_p3>() );
54 std::unique_ptr<LArRawChannelContainer_p2> col_vect( poolReadObject<LArRawChannelContainer_p2>() );
62 std::unique_ptr<LArRawChannelContainer_p1> col_vect( poolReadObject<LArRawChannelContainer_p1>() );
68 log << MSG::ERROR <<
"Reading of version 0 of LArRawChannelContainer not supported any more" <<
endmsg;
73 throw std::runtime_error(
"Unsupported persistent version of LArRawChannel container");
virtual TRANS * createTransient(const PERS *persObj, MsgStream &log)
Create transient representation of a persistent object.
virtual P * createPersistent(T *transCont)
virtual PERS * createPersistent(const TRANS *transObj, MsgStream &log)
Create persistent representation of a transient object.
msgSvc
Provide convenience handles for various services.
Persistent LArRawChannelContainer, version p3.
virtual T * createTransient()
virtual bool compareClassGuid(const Guid &clid) const
Compare POOL class GUID with the one of the object being read.
Container for LArRawChannel (IDC using LArRawChannelCollection)