![]() |
ATLAS Offline Software
|
#include <TrackParticleAssocs.h>
Public Types | |
Store Iterator Types | |
| typedef AssociationVectorIterator | asso_iterator |
| association iterator type | |
| typedef AssociationObjectIterator | object_iterator |
| object iterator type | |
Public Member Functions | |||||||||||||
| TrackParticleAssocs () | |||||||||||||
| Default constructor: | |||||||||||||
| TrackParticleAssocs (const TrackParticleAssocs &rhs) | |||||||||||||
| Copy constructor: | |||||||||||||
| TrackParticleAssocs & | operator= (const TrackParticleAssocs &rhs) | ||||||||||||
| Assignment operator: | |||||||||||||
| ~TrackParticleAssocs () | |||||||||||||
| Constructor with parameters: | |||||||||||||
| bool | assocs (const Rec::TrackParticle *object, ConstDataVector< Rec::TrackParticleContainer > &associatedElems) const | ||||||||||||
| Retrieve all the associated-to objects which have been associated to the given. | |||||||||||||
| bool | getAssociations (const AssociationMap< Rec::TrackParticleContainer, Rec::TrackParticleContainer >::object_type *objPointer, AssociationMap< Rec::TrackParticleContainer, Rec::TrackParticleContainer >::asso_list &assocs) const | ||||||||||||
| Reimplement the method from the base class to not shaddow it. | |||||||||||||
| bool | getAssociations (const AssociationMap< Rec::TrackParticleContainer, Rec::TrackParticleContainer >::object_iterator &objIter, AssociationMap< Rec::TrackParticleContainer, Rec::TrackParticleContainer >::asso_list &assocs) const | ||||||||||||
| Reimplement the method from the base class to not shaddow it. | |||||||||||||
| void | addAssocStore (const DataLink< TrackParticleAssocs > &assocStore) | ||||||||||||
| DataLink< TrackParticleAssocs > | assocStore (const std::string &name) const | ||||||||||||
| Look up an associated store. For testing. | |||||||||||||
| size_t | nAssocStores () const | ||||||||||||
| Number of associated stores. | |||||||||||||
| std::vector< DataLink< TrackParticleAssocs > > | getAssocStores () const | ||||||||||||
| Return links to all other association stores. | |||||||||||||
Add Associations | |||||||||||||
| |||||||||||||
| void | addAssociation (const object_container_type *objectContainer, const object_index_type &objectIndex, const asso_container_type *assoContainer, const asso_index_type &assoIndex) | ||||||||||||
Protected Types | |
| typedef DataLink< TrackParticleAssocs > | TrackParticleAssocsLink_t |
Protected Attributes | |
| std::map< std::string, TrackParticleAssocsLink_t > | m_assocStores |
Object and Association Iterators | |||||
The association iterators are returned for a given object, which can either be referenced by its pointer or its iterator in the internal store.
| |||||
| store_type | m_associationMap | ||||
| internal store | |||||
| object_iterator | beginObject () const | ||||
| begin iterator for objects | |||||
| object_iterator | endObject () const | ||||
| end iterator for objects | |||||
| asso_iterator | beginAssociation (const object_type *objectPointer) const | ||||
| begin iterator for associations | |||||
| asso_iterator | endAssociation (const object_type *objectPointer) const | ||||
| end iterator for associations | |||||
| const object_type * | getObject (const object_iterator &objectIter) const | ||||
| get association iterators by object iterator | |||||
| object_iterator | findObject (const object_type *theObject) const | ||||
| finding an object with allocation | |||||
| bool | containsObject (const object_type *theObject) const | ||||
| testing if object is in store | |||||
| size_t | getNumberOfObjects () const | ||||
| retrieve number of objects in store | |||||
| const asso_type * | getAssociation (asso_iterator assoIter) const | ||||
| associations iterator access | |||||
| asso_iterator | findAssociation (const object_iterator &objectIter, const asso_type *assoPointer) const | ||||
| find association | |||||
| bool | containsAssociation (const object_iterator &objectIter, const asso_type *assoPointer) const | ||||
| containment check | |||||
| bool | getObjects (const asso_type *assoPointer, object_list &theObjects) const | ||||
| get all objects for a given association | |||||
| bool | getAssociations (const object_type *objPointer, asso_list &assocs) const | ||||
| get all associations for a given object | |||||
| size_t | size () | ||||
| get number of associations | |||||
| size_t | getNumberOfAssociations (const object_type *objectPointer) const | ||||
| store_iterator_type | internalFind (const object_link &objectLink, const asso_link &assoLink) | ||||
| internally used find method | |||||
| bool | addToStore (const object_link &objectLink, const asso_link &assoLink) | ||||
| internally used function to add links to store | |||||
Argument and Internal Store Types | |
| typedef Rec::TrackParticleContainer | object_container_type |
| typedef object_container_type::base_value_type | object_type |
| typedef SG::GenerateIndexingPolicy< object_container_type >::type::index_type | object_index_type |
| typedef ElementLink< object_container_type > | object_link |
| typedef std::list< const object_type * > | object_list |
| typedef Rec::TrackParticleContainer | asso_container_type |
| typedef asso_container_type::base_value_type | asso_type |
| typedef SG::GenerateIndexingPolicy< asso_container_type >::type::index_type | asso_index_type |
| typedef std::list< const asso_type * > | asso_list |
| typedef ElementLink< asso_container_type > | asso_link |
| typedef ElementLinkVector< asso_container_type > | asso_store |
| typedef asso_store::const_iterator | asso_store_iterator |
| typedef std::map< object_link, asso_store > | store_type |
| typedef store_type::iterator | store_iterator_type |
| static const asso_store | s_dum_asso_store |
Definition at line 25 of file TrackParticleAssocs.h.
|
inherited |
Definition at line 53 of file AssociationMap.h.
|
inherited |
Definition at line 58 of file AssociationMap.h.
|
inherited |
association iterator type
Definition at line 81 of file AssociationMap.h.
|
inherited |
Definition at line 60 of file AssociationMap.h.
|
inherited |
Definition at line 59 of file AssociationMap.h.
|
inherited |
Definition at line 61 of file AssociationMap.h.
|
inherited |
Definition at line 62 of file AssociationMap.h.
|
inherited |
Definition at line 54 of file AssociationMap.h.
|
inherited |
Definition at line 44 of file AssociationMap.h.
|
inherited |
Definition at line 49 of file AssociationMap.h.
|
inherited |
object iterator type
Definition at line 84 of file AssociationMap.h.
|
inherited |
Definition at line 50 of file AssociationMap.h.
|
inherited |
Definition at line 51 of file AssociationMap.h.
|
inherited |
Definition at line 45 of file AssociationMap.h.
|
inherited |
Definition at line 64 of file AssociationMap.h.
|
inherited |
Definition at line 63 of file AssociationMap.h.
|
protected |
Definition at line 96 of file TrackParticleAssocs.h.
| TrackParticleAssocs::TrackParticleAssocs | ( | ) |
Default constructor:
Definition at line 23 of file TrackParticleAssocs.cxx.
| TrackParticleAssocs::TrackParticleAssocs | ( | const TrackParticleAssocs & | rhs | ) |
|
inline |
Constructor with parameters:
Destructor:
Definition at line 104 of file TrackParticleAssocs.h.
|
inherited |
| void TrackParticleAssocs::addAssocStore | ( | const DataLink< TrackParticleAssocs > & | assocStore | ) |
Definition at line 83 of file TrackParticleAssocs.cxx.
|
protectedinherited |
internally used function to add links to store
| bool TrackParticleAssocs::assocs | ( | const Rec::TrackParticle * | object, |
| ConstDataVector< Rec::TrackParticleContainer > & | associatedElems ) const |
Retrieve all the associated-to objects which have been associated to the given.
| object |
Definition at line 47 of file TrackParticleAssocs.cxx.
| DataLink< TrackParticleAssocs > TrackParticleAssocs::assocStore | ( | const std::string & | name | ) | const |
Look up an associated store. For testing.
Definition at line 94 of file TrackParticleAssocs.cxx.
|
inherited |
begin iterator for associations
|
inherited |
begin iterator for objects
|
inlineinherited |
containment check
Definition at line 165 of file AssociationMap.h.
|
inlineinherited |
testing if object is in store
Definition at line 143 of file AssociationMap.h.
|
inherited |
end iterator for associations
|
inherited |
end iterator for objects
|
inlineinherited |
find association
Definition at line 158 of file AssociationMap.h.
|
inlineinherited |
finding an object with allocation
Definition at line 139 of file AssociationMap.h.
|
inlineinherited |
associations iterator access
The associations are accessed as function of the row key (the object).
Definition at line 154 of file AssociationMap.h.
|
inherited |
get all associations for a given object
|
inline |
Reimplement the method from the base class to not shaddow it.
Definition at line 70 of file TrackParticleAssocs.h.
|
inline |
Reimplement the method from the base class to not shaddow it.
Definition at line 60 of file TrackParticleAssocs.h.
| std::vector< DataLink< TrackParticleAssocs > > TrackParticleAssocs::getAssocStores | ( | ) | const |
Return links to all other association stores.
Definition at line 110 of file TrackParticleAssocs.cxx.
|
inlineinherited |
Definition at line 195 of file AssociationMap.h.
|
inlineinherited |
|
inlineinherited |
get association iterators by object iterator
type-safe retrieval of object pointer from iterator
Definition at line 135 of file AssociationMap.h.
|
inherited |
get all objects for a given association
|
inlineprotectedinherited |
internally used find method
Definition at line 210 of file AssociationMap.h.
| size_t TrackParticleAssocs::nAssocStores | ( | ) | const |
Number of associated stores.
Definition at line 104 of file TrackParticleAssocs.cxx.
| TrackParticleAssocs & TrackParticleAssocs::operator= | ( | const TrackParticleAssocs & | rhs | ) |
Assignment operator:
Definition at line 34 of file TrackParticleAssocs.cxx.
|
inlineinherited |
|
protectedinherited |
internal store
Definition at line 207 of file AssociationMap.h.
|
protected |
Definition at line 97 of file TrackParticleAssocs.h.
|
staticinherited |
Definition at line 68 of file AssociationMap.h.