|  | ATLAS Offline Software
    | 
 
 
 
Go to the documentation of this file.
   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");
 
   42         std::unique_ptr< TileDigitsContainer_p3 >   cont( this->poolReadObject< TileDigitsContainer_p3 >() );
 
   46         std::unique_ptr< TileDigitsContainer_p2 >   cont( this->poolReadObject< TileDigitsContainer_p2 >() );
 
   50         std::unique_ptr< TileDigitsContainer_p1 >   cont( this->poolReadObject< TileDigitsContainer_p1 >() );
 
   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");
 
  
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 TRANS * createTransient(const PERS *persObj, MsgStream &log)
Create transient representation of a persistent object.
virtual PERS * createPersistent(const TRANS *transObj, MsgStream &log)
Create persistent representation of a transient object.
TileDigitsContainerCnv(ISvcLocator *svcloc)
msgSvc
Provide convenience handles for various services.
(Non-const) Iterator class for DataVector/DataList.
Compatibility for old converter classes that don't get passed the key.
@ OWN_ELEMENTS
this data object owns its elements
Athena::TPCnvVers::Old Athena::TPCnvVers::Old Athena::TPCnvVers::Current TileDigitsContainer
::StatusCode StatusCode
StatusCode definition for legacy code.
TileDigitsContainer_PERS * createPersistent(TileDigitsContainer *transCont)
TileDigitsContainer * createTransient()
void setOwnership(SG::OwnershipPolicy ownPolicy)
const TileFragHash & hashFunc() const
const_iterator end() const noexcept
Return a const_iterator pointing past the end of the collection.
virtual bool compareClassGuid(const Guid &clid) const
Compare POOL class GUID with the one of the object being read.
size_type size() const noexcept
Returns the number of elements in the collection.
const_iterator begin() const noexcept
Return a const_iterator pointing at the beginning of the collection.