![]() |
ATLAS Offline Software
|
#include <INav4MomToTrackParticleAssocs.h>
Public Types | |
Store Iterator Types | |
typedef AssociationVectorIterator | asso_iterator |
association iterator type More... | |
typedef AssociationObjectIterator | object_iterator |
object iterator type More... | |
Store Iterator Types | |
typedef AssociationVectorIterator | asso_iterator |
association iterator type More... | |
typedef AssociationObjectIterator | object_iterator |
object iterator type More... | |
Public Member Functions | |||||||||||||
INav4MomToTrackParticleAssocs () | |||||||||||||
Default constructor: More... | |||||||||||||
INav4MomToTrackParticleAssocs (const INav4MomToTrackParticleAssocs &rhs) | |||||||||||||
Copy constructor: More... | |||||||||||||
INav4MomToTrackParticleAssocs & | operator= (const INav4MomToTrackParticleAssocs &rhs) | ||||||||||||
Assignment operator: More... | |||||||||||||
~INav4MomToTrackParticleAssocs () | |||||||||||||
Constructor with parameters: More... | |||||||||||||
bool | assocs (const INavigable4Momentum *object, ConstDataVector< Rec::TrackParticleContainer > &associatedElems) const | ||||||||||||
Retrieve all the associated-to objects which have been associated to the given. More... | |||||||||||||
bool | getAssociations (const INav4MomLink &objectLink, std::vector< AssociationMap< INavigable4MomentumCollection, Rec::TrackParticleContainer >::asso_link > &associatedElementLinks) const | ||||||||||||
Retrieve all the associated-to ElementLinks_to_objects which have been associated to the given. More... | |||||||||||||
bool | getAssociations (const INavigable4Momentum *object, std::vector< AssociationMap< INavigable4MomentumCollection, Rec::TrackParticleContainer >::asso_link > &associatedElementLinks) const | ||||||||||||
Retrieve all the associated-to ElementLinks_to_objects which have been associated to the given. More... | |||||||||||||
bool | getAssociations (const AssociationMap< INavigable4MomentumCollection, Rec::TrackParticleContainer >::object_type *objPointer, AssociationMap< INavigable4MomentumCollection, Rec::TrackParticleContainer >::asso_list &assocs) const | ||||||||||||
Reimplement the method from the base class to not shaddow it. More... | |||||||||||||
bool | getAssociations (const AssociationMap< INavigable4MomentumCollection, Rec::TrackParticleContainer >::object_iterator &objIter, AssociationMap< INavigable4MomentumCollection, Rec::TrackParticleContainer >::asso_list &assocs) const | ||||||||||||
Reimplement the method from the base class to not shaddow it. More... | |||||||||||||
void | addAssocStore (const DataLink< INav4MomToTrackParticleAssocs > &assocStore) | ||||||||||||
DataLink< INav4MomToTrackParticleAssocs > | assocStore (const std::string &name) const | ||||||||||||
Look up an associated store. For testing. More... | |||||||||||||
size_t | nAssocStores () const | ||||||||||||
Number of associated stores. More... | |||||||||||||
std::vector< DataLink< INav4MomToTrackParticleAssocs > > | getAssocStores () const | ||||||||||||
Return links to all other association stores. More... | |||||||||||||
Add Associations | |||||||||||||
| |||||||||||||
void | addAssociation (const object_container_type *objectContainer, const object_index_type &objectIndex, const asso_container_type *assoContainer, const asso_index_type &assoIndex) | ||||||||||||
void | addAssociation (const object_container_type *objectContainer, const object_type *objectPointer, const asso_container_type *assoContainer, const asso_type *assoPointer) | ||||||||||||
void | addAssociation (const object_link &objectLink, const asso_link &assoLink) | ||||||||||||
Add Associations | |||||||||||||
| |||||||||||||
void | addAssociation (const object_container_type *objectContainer, const object_index_type &objectIndex, const asso_container_type *assoContainer, const asso_index_type &assoIndex) | ||||||||||||
void | addAssociation (const object_container_type *objectContainer, const object_type *objectPointer, const asso_container_type *assoContainer, const asso_type *assoPointer) | ||||||||||||
void | addAssociation (const object_link &objectLink, const asso_link &assoLink) | ||||||||||||
Protected Types | |
typedef DataLink< INav4MomToTrackParticleAssocs > | INav4MomToTrackParticleAssocsLink_t |
Protected Attributes | |
std::map< std::string, INav4MomToTrackParticleAssocsLink_t > | m_assocStores |
Argument and Internal Store Types | |
typedef INavigable4MomentumCollection | 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 |
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 More... | |||||
object_iterator | beginObject () const | ||||
begin iterator for objects More... | |||||
object_iterator | endObject () const | ||||
end iterator for objects More... | |||||
asso_iterator | beginAssociation (const object_type *objectPointer) const | ||||
begin iterator for associations More... | |||||
asso_iterator | beginAssociation (const object_iterator &objectIter) const | ||||
asso_iterator | endAssociation (const object_type *objectPointer) const | ||||
end iterator for associations More... | |||||
asso_iterator | endAssociation (const object_iterator &objectIter) const | ||||
const object_type * | getObject (const object_iterator &objectIter) const | ||||
get association iterators by object iterator More... | |||||
object_iterator | findObject (const object_type *theObject) const | ||||
finding an object with allocation More... | |||||
bool | containsObject (const object_type *theObject) const | ||||
testing if object is in store More... | |||||
size_t | getNumberOfObjects () const | ||||
retrieve number of objects in store More... | |||||
const asso_type * | getAssociation (asso_iterator assoIter) const | ||||
associations iterator access More... | |||||
asso_iterator | findAssociation (const object_iterator &objectIter, const asso_type *assoPointer) const | ||||
find association More... | |||||
asso_iterator | findAssociation (const object_type *objectPointer, const asso_type *assoPointer) const | ||||
bool | containsAssociation (const object_iterator &objectIter, const asso_type *assoPointer) const | ||||
containment check More... | |||||
bool | containsAssociation (const object_type *objectPointer, const asso_type *assoPointer) const | ||||
bool | containsAssociation (const asso_type *assoPointer) const | ||||
bool | getObjects (const asso_type *assoPointer, object_list &theObjects) const | ||||
get all objects for a given association More... | |||||
bool | getObjects (const asso_iterator &assoIter, object_list &theObjects) const | ||||
get all objects for a given association More... | |||||
bool | getAssociations (const object_type *objPointer, asso_list &assocs) const | ||||
get all associations for a given object More... | |||||
bool | getAssociations (const object_iterator &objIter, asso_list &assocs) const | ||||
get all associations for a given object More... | |||||
size_t | size () | ||||
get number of associations More... | |||||
size_t | size () const | ||||
get number of associations More... | |||||
size_t | size (const object_type *objectPointer) const | ||||
size_t | size (const object_iterator &objectIter) const | ||||
size_t | getNumberOfAssociations (const object_type *objectPointer) const | ||||
size_t | getNumberOfAssociations (const object_iterator &objectIter) const | ||||
store_iterator_type | internalFind (const object_link &objectLink, const asso_link &assoLink) | ||||
internally used find method More... | |||||
bool | addToStore (const object_link &objectLink, const asso_link &assoLink) | ||||
internally used function to add links to store More... | |||||
Definition at line 33 of file INav4MomToTrackParticleAssocs.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.
|
protected |
Definition at line 115 of file INav4MomToTrackParticleAssocs.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.
INav4MomToTrackParticleAssocs::INav4MomToTrackParticleAssocs | ( | ) |
INav4MomToTrackParticleAssocs::INav4MomToTrackParticleAssocs | ( | const INav4MomToTrackParticleAssocs & | rhs | ) |
|
inline |
Constructor with parameters:
Destructor:
Definition at line 123 of file INav4MomToTrackParticleAssocs.h.
|
inherited |
|
inherited |
|
inherited |
void INav4MomToTrackParticleAssocs::addAssocStore | ( | const DataLink< INav4MomToTrackParticleAssocs > & | assocStore | ) |
Definition at line 176 of file INav4MomToTrackParticleAssocs.cxx.
|
protectedinherited |
internally used function to add links to store
bool INav4MomToTrackParticleAssocs::assocs | ( | const INavigable4Momentum * | object, |
ConstDataVector< Rec::TrackParticleContainer > & | associatedElems | ||
) | const |
Retrieve all the associated-to objects which have been associated to the given.
object |
Definition at line 49 of file INav4MomToTrackParticleAssocs.cxx.
DataLink< INav4MomToTrackParticleAssocs > INav4MomToTrackParticleAssocs::assocStore | ( | const std::string & | name | ) | const |
Look up an associated store. For testing.
Definition at line 187 of file INav4MomToTrackParticleAssocs.cxx.
|
inherited |
|
inherited |
begin iterator for associations
|
inherited |
begin iterator for objects
|
inherited |
|
inlineinherited |
containment check
Definition at line 165 of file AssociationMap.h.
|
inherited |
|
inlineinherited |
|
inherited |
|
inherited |
end iterator for associations
|
inherited |
end iterator for objects
|
inlineinherited |
find association
Definition at line 158 of file AssociationMap.h.
|
inherited |
|
inlineinherited |
|
inlineinherited |
associations iterator access
The associations are accessed as function of the row key (the object).
Definition at line 154 of file AssociationMap.h.
|
inline |
Reimplement the method from the base class to not shaddow it.
Definition at line 90 of file INav4MomToTrackParticleAssocs.h.
|
inline |
Reimplement the method from the base class to not shaddow it.
Definition at line 80 of file INav4MomToTrackParticleAssocs.h.
bool INav4MomToTrackParticleAssocs::getAssociations | ( | const INav4MomLink & | objectLink, |
std::vector< AssociationMap< INavigable4MomentumCollection, Rec::TrackParticleContainer >::asso_link > & | associatedElementLinks | ||
) | const |
Retrieve all the associated-to ElementLinks_to_objects which have been associated to the given.
objectLink |
Definition at line 87 of file INav4MomToTrackParticleAssocs.cxx.
bool INav4MomToTrackParticleAssocs::getAssociations | ( | const INavigable4Momentum * | object, |
std::vector< AssociationMap< INavigable4MomentumCollection, Rec::TrackParticleContainer >::asso_link > & | associatedElementLinks | ||
) | const |
Retrieve all the associated-to ElementLinks_to_objects which have been associated to the given.
object |
Definition at line 110 of file INav4MomToTrackParticleAssocs.cxx.
|
inlineinherited |
|
inherited |
get all associations for a given object
std::vector< DataLink< INav4MomToTrackParticleAssocs > > INav4MomToTrackParticleAssocs::getAssocStores | ( | ) | const |
Return links to all other association stores.
Definition at line 203 of file INav4MomToTrackParticleAssocs.cxx.
|
inlineinherited |
Definition at line 201 of file AssociationMap.h.
|
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.
|
inlineinherited |
|
inherited |
get all objects for a given association
|
inlineprotectedinherited |
size_t INav4MomToTrackParticleAssocs::nAssocStores | ( | ) | const |
Number of associated stores.
Definition at line 197 of file INav4MomToTrackParticleAssocs.cxx.
INav4MomToTrackParticleAssocs & INav4MomToTrackParticleAssocs::operator= | ( | const INav4MomToTrackParticleAssocs & | rhs | ) |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
Definition at line 198 of file AssociationMap.h.
|
inherited |
|
protectedinherited |
internal store
Definition at line 207 of file AssociationMap.h.
|
protected |
Definition at line 116 of file INav4MomToTrackParticleAssocs.h.
|
staticinherited |
Definition at line 68 of file AssociationMap.h.