8#include "GaudiKernel/MsgStream.h"
11 MsgStream mlog(msgSvc(),
"TileRawChannelContainerConverter" );
18 MsgStream mlog(msgSvc(),
"TileRawChannelContainerConverter" );
23 static const pool::Guid p1_guid(
"BF727F06-9F94-4989-9C1F-9E59023988EA");
24 static const pool::Guid p0_guid(
"E18095F6-01D9-4E8B-AD51-A8628F92E7FF");
33 bool lDebug = (mlog.level()<=MSG::DEBUG);
36 mlog << MSG::DEBUG <<
"Read IDC, size " << rdoV->
size() <<
endmsg;
41 mlog << MSG::DEBUG <<
"fixing units bug in 13.0.20 RDO data: if (type=104) type=4;" <<
endmsg;
45 int hashType = rdoV->
m_type & 0xF;
48 uint32_t bsflags = rdoV->
m_type & 0xFFFFF000;
51 mlog << MSG::DEBUG << MSG::hex <<
"m_type=" << rdoV->
m_type
52 <<
" " << bsflags <<
" " <<
unit <<
" " <<
type <<
" " << hashType << MSG::dec <<
endmsg;
62 for (; it != last; ++it) {
71 mlog << MSG::ERROR <<
"Can't add collection " << id_coll <<
" to container" <<
endmsg;
76 throw std::runtime_error(
"Unsupported persistent version of Data container");
const PlainObject unit() const
This is a plugin that makes Eigen look like CLHEP & defines some convenience methods.
TileRawChannelContainer_p1 TileRawChannelContainer_PERS
T_TilePoolContainerCnv< TileRawChannelContainer, TileRawChannelContainer_p1, TileRawChannelCnv_p1 > TileRawChannelContainerCnv_p1
Athena::TPCnvVers::Old Athena::TPCnvVers::Old Athena::TPCnvVers::Current Athena::TPCnvVers::Old Athena::TPCnvVers::Current TileRawChannelContainer
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
TileRawChannelContainer * createTransient()
TileRawChannelContainer_PERS * createPersistent(TileRawChannelContainer *transCont)
TileFragHash::TYPE m_type
void setOwnership(SG::OwnershipPolicy ownPolicy)
const TileFragHash & hashFunc() const
void set_bsflags(uint32_t bsflags)
@ OWN_ELEMENTS
this data object owns its elements