16#include "GaudiKernel/MsgStream.h"
34 MsgStream&
msg )
const
37 <<
"Loading INav4MomAssocs from persistent state..."
43 for ( INav4MomAssocs_p2::INav4MomStores_t::const_iterator
57 for ( std::size_t i = 0, iEnd = pers->
m_assocs.size(); i != iEnd; ++i ) {
64 for ( std::size_t j = 0, jEnd = val.size(); j != jEnd; ++j ) {
72 <<
"Loaded INav4MomAssocs from persistent state [OK]"
80 MsgStream&
msg )
const
83 <<
"Creating persistent state of INav4MomAssocs..."
87 std::vector<DataLink<INav4MomAssocs> > assocStores = trans->
getAssocStores();
103 for (; begObj != endObj; ++begObj)
108 persAssoc.second.resize( begObj.getNumberOfAssociations() );
113 for (; begAsso != endAsso; ++begAsso) {
123 <<
"Created persistent state of INav4MomAssocs [OK]"
ElementLink_p2< uint32_t > ElementLinkInt_p2
INav4MomAssocs::object_link INav4MomLink_t
AssociationObjectIterator object_iterator
ElementLink< asso_container_type > asso_link
size_t size()
get number of associations
object_iterator endObject() const
end iterator for objects
AssociationVectorIterator asso_iterator
ElementLink< object_container_type > object_link
void addAssociation(const object_container_type *objectContainer, const object_index_type &objectIndex, const asso_container_type *assoContainer, const asso_index_type &assoIndex)
object_iterator beginObject() const
begin iterator for objects
DataLink< INav4MomAssocs > DLink_t
Object reference supporting deferred reading from StoreGate.
virtual void transToPers(const INav4MomAssocs *trans, INav4MomAssocs_p2 *pers, MsgStream &msg) const override
Method creating the persistent representation INav4MomAssocs_p2 from its transient representation INa...
virtual void persToTrans(const INav4MomAssocs_p2 *pers, INav4MomAssocs *trans, MsgStream &msg) const override
Method creating the transient representation of INav4MomAssocs from its persistent representation INa...
INav4MomCnv_t m_inav4MomLinkCnv
converter for ElementLink to INavigable4MomentumCollection
IAssocStoresCnv_t m_assocStoresCnv
converter for DataLink to INav4MomAssocs
ElementLinkContNames_p2 m_contNames
container names
std::pair< ElementLinkInt_p2, ElemLinkVect_t > AssocElem_t
INav4MomStores_t m_assocStores
std::vector< ElementLinkInt_p2 > ElemLinkVect_t
void addAssocStore(const DataLink< INav4MomAssocs > &assocStore)
Retrieve all the associated-to objects which have been associated to the given.
std::vector< DataLink< INav4MomAssocs > > getAssocStores() const
Return links to all other association stores.
Cache thinning decisions for converters.
Helpers to retrieve the current thinning cache from the event context.
const SG::ThinningCache * getThinningCache()
Retrieve the current thinning cache from the current event context.