|
ATLAS Offline Software
|
Go to the documentation of this file.
35 m_assocStores( rhs.m_assocStores )
62 bool contained =
false;
66 if ( itr->second->assocs(
object, associatedElems) ) {
75 associatedElems.reserve( associatedElems.size() +
100 object = (*objectLink);
101 if (
object == NULL )
122 bool contained =
false;
127 if ( itr->second->getAssociations(
object, associatedElementLinks ) )
140 store_type::const_iterator foundIter = mapEnd;
147 if ( &*(*(iMap->first)) == &*(
object) )
159 associatedElementLinks.reserve( associatedElementLinks.size() +
163 for ( ; assoItr != assoItrEnd; ++assoItr )
166 associatedElementLinks.push_back( assoLink );
180 const std::string&
id = assocStore.
dataID();
181 const std::map<std::string, DataLink<INav4MomAssocs> >::const_iterator itr =
m_assocStores.find(
id);
190 std::vector<DataLink<INav4MomAssocs> > ret;
193 ret.push_back (
p.second);
205 template <
class T> DataVector_detail::RegisterDVLEltBaseInit<T> DataVector_detail::DVLEltBaseInit<T>::s_regbase;
206 template class DataVector_detail::RegisterDVLEltBaseInit<IParticle> DataVector_detail::DVLEltBaseInit<IParticle>::s_regbase;
bool containsObject(const object_type *theObject) const
testing if object is in store
asso_iterator endAssociation(const object_type *objectPointer) const
end iterator for associations
std::map< std::string, INav4MomAssocsLink_t > m_assocStores
size_t getNumberOfAssociations(const object_type *objectPointer) const
asso_iterator beginAssociation(const object_type *objectPointer) const
begin iterator for associations
const ID_type & dataID() const
Get the key that we reference, as a string.
templated base class for a look-up map for associations
bool isValid() const
Test to see if the link can be dereferenced.
bool assocs(const INavigable4Momentum *object, ConstDataVector< INavigable4MomentumCollection > &assocs) const
Retrieve all the associated-to objects which have been associated to the given.
DataVector< INavigable4Momentum > INavigable4MomentumCollection
void addAssocStore(const DataLink< INav4MomAssocs > &assocStore)
Retrieve all the associated-to objects which have been associated to the given.
value_type push_back(value_type pElem)
Add an element to the end of the collection.
std::vector< DataLink< INav4MomAssocs > > getAssocStores() const
Return links to all other association stores.
An STL vector of pointers that by default owns its pointed-to elements.
DataVector adapter that acts like it holds const pointers.
bool getAssociations(const INav4MomLink &objectLink, INav4MomLinkContainer &associatedElementLinks) const
Retrieve all the associated-to ElementLinks_to_objects which have been associated to the given.
AssociationVectorIterator asso_iterator
association iterator type
store_type m_associationMap
internal store
INav4MomAssocs & operator=(const INav4MomAssocs &rhs)
Assignment operator:
INav4MomAssocs()
Default constructor: