10#include "GaudiKernel/MsgStream.h"
16 if (cablingSvc.retrieve().isFailure()) {
22 MsgStream mlog(msgSvc(),
"TileDigitsContainerConverter" );
29 MsgStream mlog(msgSvc(),
"TileDigitsContainerConverter" );
36 static const pool::Guid p3_guid(
"8CC01C7A-B330-413E-BEF9-DFA18F15B1FA");
37 static const pool::Guid p2_guid(
"2F82DE4C-65FA-4F01-BCB5-15330224E357");
38 static const pool::Guid p1_guid(
"F9386A42-43A7-4482-8A5B-F33EDE586FB2");
39 static const pool::Guid p0_guid(
"EB51ED70-5EC0-4F31-97D3-14453F77C88B");
57 if (mlog.level()<=MSG::DEBUG)
58 mlog << MSG::DEBUG <<
"Read IDC, size " << rdoV->
size() <<
endmsg;
68 for (; it != last; ++it) {
77 mlog << MSG::ERROR <<
"Can't add collection " << id_coll <<
" to container " <<
endmsg;
82 throw std::runtime_error(
"Unsupported persistent version of Data container");
TileDigitsContainer_p3 TileDigitsContainer_PERS
T_TilePoolContainerCnv< TileDigitsContainer, TileDigitsContainer_p1, TileDigitsCnv_p1 > TileDigitsContainerCnv_p1
T_TilePoolContainerCnv< TileDigitsContainer, TileDigitsContainer_p2, TileDigitsCnv_p2 > TileDigitsContainerCnv_p2
T_TilePoolContainerCnv< TileDigitsContainer, TileDigitsContainer_p3, TileDigitsCnv_p3 > TileDigitsContainerCnv_p3
Athena::TPCnvVers::Old Athena::TPCnvVers::Old Athena::TPCnvVers::Current TileDigitsContainer
DataModel_detail::iterator< DataVector > iterator
const_iterator end() const noexcept
Return a const_iterator pointing past the end of the collection.
const_iterator begin() const noexcept
Return a const_iterator pointing at the beginning of the collection.
size_type size() const noexcept
Returns the number of elements in the collection.
virtual StatusCode addCollection(const T *coll, IdentifierHash hashId) override final
insert collection into container with id hash if IDC should not take ownership of collection,...
virtual PERS * createPersistent(const TRANS *transObj, MsgStream &log)
virtual TRANS * createTransient(const PERS *persObj, MsgStream &log)
virtual bool compareClassGuid(const Guid &clid) const
Compatibility for old converter classes that don't get passed the key.
TileDigitsContainer * createTransient()
TileDigitsContainerCnv(ISvcLocator *svcloc)
TileDigitsContainer_PERS * createPersistent(TileDigitsContainer *transCont)
void setOwnership(SG::OwnershipPolicy ownPolicy)
const TileFragHash & hashFunc() const
@ OWN_ELEMENTS
this data object owns its elements