|
ATLAS Offline Software
|
Go to the documentation of this file.
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]"
std::vector< ElementLinkInt_p2 > ElemLinkVect_t
ElementLinkContNames_p2 m_contNames
container names
object_iterator beginObject() const
begin iterator for objects
void transToPers(State &state, const Link_t &trans, PersLink_t &pers, const SG::ThinningCache *cache, MsgStream &log) const
INav4MomAssocs::object_link INav4MomLink_t
IAssocStoresCnv_t m_assocStoresCnv
converter for DataLink to INav4MomAssocs
INav4MomCnv_t m_inav4MomLinkCnv
converter for ElementLink to INavigable4MomentumCollection
object iterator for association maps (internal use only!)
virtual void transToPers(const DLink_t *trans, PersDLink_t *pers, MsgStream &log) const override
object_iterator endObject() const
end iterator for objects
CalibratedSpacePoint::State State
virtual void persToTrans(const PersDLink_t *pers, DLink_t *trans, MsgStream &log) const override
Helpers to retrieve the current thinning cache from the event context.
const SG::ThinningCache * getThinningCache(const EventContext &ctx)
Retrieve the current thinning cache from the event context.
void persToTrans(State &state, const PersLink_t &pers, Link_t &trans, MsgStream &log) const
ElementLink implementation for ROOT usage.
void addAssocStore(const DataLink< INav4MomAssocs > &assocStore)
Retrieve all the associated-to objects which have been associated to the given.
std::pair< ElementLinkInt_p2, ElemLinkVect_t > AssocElem_t
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...
INav4MomStores_t m_assocStores
std::vector< DataLink< INav4MomAssocs > > getAssocStores() const
Return links to all other association stores.
void addAssociation(const object_container_type *objectContainer, const object_index_type &objectIndex, const asso_container_type *assoContainer, const asso_index_type &assoIndex)
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...
size_t size()
get number of associations
AssociationVectorIterator asso_iterator
association iterator type
Cache thinning decisions for converters.