 |
ATLAS Offline Software
|
Go to the documentation of this file.
45 bool contained =
false;
49 if ( itr->second->assocs(
object, associatedElems) ) {
58 associatedElems.reserve( associatedElems.size() +
83 object = (*objectLink);
105 bool contained =
false;
110 if ( itr->second->getAssociations(
object, associatedElementLinks ) )
123 store_type::const_iterator foundIter = mapEnd;
130 if ( &*(*(iMap->first)) == &*(
object) )
142 associatedElementLinks.reserve( associatedElementLinks.size() +
146 for ( ; assoItr != assoItrEnd; ++assoItr )
149 associatedElementLinks.push_back( assoLink );
163 const std::string&
id = assocStore.
dataID();
164 const std::map<std::string, DataLink<INav4MomAssocs> >::const_iterator itr =
m_assocStores.find(
id);
173 std::vector<DataLink<INav4MomAssocs> > ret;
176 ret.push_back (
p.second);
188 template <
class T> DataVector_detail::RegisterDVLEltBaseInit<T> DataVector_detail::DVLEltBaseInit<T>::s_regbase;
189 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.
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.
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: