Loading [MathJax]/extensions/tex2jax.js
ATLAS Offline Software
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
Public Member Functions | Protected Types | Protected Attributes | List of all members
INav4MomToTrackParticleAssocs Class Reference

#include <INav4MomToTrackParticleAssocs.h>

Inheritance diagram for INav4MomToTrackParticleAssocs:
Collaboration diagram for INav4MomToTrackParticleAssocs:

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...
 
INav4MomToTrackParticleAssocsoperator= (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< INav4MomToTrackParticleAssocsassocStore (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
Parameters
objectContainer- pointer to the object container
objectIndex- index of object in container
objectPointer- pointer to object
assoContainer- container of potentially associated objects
assoIndex- index of associated object in container
assoPointer- pointer to associated object
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
Parameters
objectContainer- pointer to the object container
objectIndex- index of object in container
objectPointer- pointer to object
assoContainer- container of potentially associated objects
assoIndex- index of associated object in container
assoPointer- pointer to associated object
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< INav4MomToTrackParticleAssocsINav4MomToTrackParticleAssocsLink_t
 

Protected Attributes

std::map< std::string, INav4MomToTrackParticleAssocsLink_tm_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_typeobject_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_typeasso_link
 
typedef ElementLinkVector< asso_container_typeasso_store
 
typedef asso_store::const_iterator asso_store_iterator
 
typedef std::map< object_link, asso_storestore_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.

Parameters
objectPointer- pointer to a given object
objectIter- iterator to a given object
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_typegetObject (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_typegetAssociation (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...
 

Detailed Description

Definition at line 33 of file INav4MomToTrackParticleAssocs.h.

Member Typedef Documentation

◆ asso_container_type

Definition at line 53 of file AssociationMap.h.

◆ asso_index_type

Definition at line 58 of file AssociationMap.h.

◆ asso_iterator

association iterator type

Definition at line 81 of file AssociationMap.h.

◆ asso_link

Definition at line 60 of file AssociationMap.h.

◆ asso_list

Definition at line 59 of file AssociationMap.h.

◆ asso_store

Definition at line 61 of file AssociationMap.h.

◆ asso_store_iterator

Definition at line 62 of file AssociationMap.h.

◆ asso_type

Definition at line 54 of file AssociationMap.h.

◆ INav4MomToTrackParticleAssocsLink_t

Definition at line 115 of file INav4MomToTrackParticleAssocs.h.

◆ object_container_type

Definition at line 44 of file AssociationMap.h.

◆ object_index_type

Definition at line 49 of file AssociationMap.h.

◆ object_iterator

object iterator type

Definition at line 84 of file AssociationMap.h.

◆ object_link

Definition at line 50 of file AssociationMap.h.

◆ object_list

Definition at line 51 of file AssociationMap.h.

◆ object_type

Definition at line 45 of file AssociationMap.h.

◆ store_iterator_type

Definition at line 64 of file AssociationMap.h.

◆ store_type

Definition at line 63 of file AssociationMap.h.

Constructor & Destructor Documentation

◆ INav4MomToTrackParticleAssocs() [1/2]

INav4MomToTrackParticleAssocs::INav4MomToTrackParticleAssocs ( )

◆ INav4MomToTrackParticleAssocs() [2/2]

INav4MomToTrackParticleAssocs::INav4MomToTrackParticleAssocs ( const INav4MomToTrackParticleAssocs rhs)

◆ ~INav4MomToTrackParticleAssocs()

INav4MomToTrackParticleAssocs::~INav4MomToTrackParticleAssocs ( )
inline

Constructor with parameters:

Destructor:

Definition at line 123 of file INav4MomToTrackParticleAssocs.h.

124 {}

Member Function Documentation

◆ addAssociation() [1/3]

void AssociationMap< INavigable4MomentumCollection , Rec::TrackParticleContainer >::addAssociation ( const object_container_type objectContainer,
const object_index_type objectIndex,
const asso_container_type assoContainer,
const asso_index_type assoIndex 
)
inherited

◆ addAssociation() [2/3]

void AssociationMap< INavigable4MomentumCollection , Rec::TrackParticleContainer >::addAssociation ( const object_container_type objectContainer,
const object_type objectPointer,
const asso_container_type assoContainer,
const asso_type assoPointer 
)
inherited

◆ addAssociation() [3/3]

void AssociationMap< INavigable4MomentumCollection , Rec::TrackParticleContainer >::addAssociation ( const object_link objectLink,
const asso_link assoLink 
)
inherited

◆ addAssocStore()

void INav4MomToTrackParticleAssocs::addAssocStore ( const DataLink< INav4MomToTrackParticleAssocs > &  assocStore)

Definition at line 176 of file INav4MomToTrackParticleAssocs.cxx.

177 {
178  const std::string& id = assocStore.dataID();
179  const std::map<std::string, DataLink<INav4MomToTrackParticleAssocs> >::const_iterator itr = m_assocStores.find(id);
180  if ( itr == m_assocStores.end() )
181  {
183  }
184 }

◆ addToStore()

bool AssociationMap< INavigable4MomentumCollection , Rec::TrackParticleContainer >::addToStore ( const object_link objectLink,
const asso_link assoLink 
)
protectedinherited

internally used function to add links to store

◆ assocs()

bool INav4MomToTrackParticleAssocs::assocs ( const INavigable4Momentum object,
ConstDataVector< Rec::TrackParticleContainer > &  associatedElems 
) const

Retrieve all the associated-to objects which have been associated to the given.

Parameters
object

Definition at line 49 of file INav4MomToTrackParticleAssocs.cxx.

51 {
52  // Make a sanity check against a null pointer
53  if ( 0 == object ) { return false; }
54 
55  // do the underlying stores contain this object ?
56  bool contained = false;
57  for ( std::map<std::string, DataLink<INav4MomToTrackParticleAssocs> >::const_iterator itr(m_assocStores.begin()), itrEnd(m_assocStores.end());
58  itr != itrEnd;
59  ++itr )
60  {
61  if ( itr->second->assocs(object, associatedElems) )
62  {
63  contained = true;
64  }
65  }
66 
67  if ( !contained && !containsObject( object ) )
68  {
69  return false;
70  }
71 
72  associatedElems.reserve( associatedElems.size() + getNumberOfAssociations(object) );
75  itr != endAssocs;
76  ++itr )
77  {
78  associatedElems.push_back(*itr);
79  }
80 
81  return true;
82 }

◆ assocStore()

DataLink< INav4MomToTrackParticleAssocs > INav4MomToTrackParticleAssocs::assocStore ( const std::string &  name) const

Look up an associated store. For testing.

Definition at line 187 of file INav4MomToTrackParticleAssocs.cxx.

188 {
189  std::map<std::string, INav4MomToTrackParticleAssocsLink_t>::const_iterator i =
190  m_assocStores.find (name);
191  if (i != m_assocStores.end())
192  return i->second;
194 }

◆ beginAssociation() [1/2]

◆ beginAssociation() [2/2]

asso_iterator AssociationMap< INavigable4MomentumCollection , Rec::TrackParticleContainer >::beginAssociation ( const object_type objectPointer) const
inherited

begin iterator for associations

◆ beginObject()

begin iterator for objects

◆ containsAssociation() [1/3]

bool AssociationMap< INavigable4MomentumCollection , Rec::TrackParticleContainer >::containsAssociation ( const asso_type assoPointer) const
inherited

◆ containsAssociation() [2/3]

bool AssociationMap< INavigable4MomentumCollection , Rec::TrackParticleContainer >::containsAssociation ( const object_iterator objectIter,
const asso_type assoPointer 
) const
inlineinherited

containment check

Definition at line 165 of file AssociationMap.h.

167  { return objectIter.containsAssociation(assoPointer); }

◆ containsAssociation() [3/3]

bool AssociationMap< INavigable4MomentumCollection , Rec::TrackParticleContainer >::containsAssociation ( const object_type objectPointer,
const asso_type assoPointer 
) const
inherited

◆ containsObject()

bool AssociationMap< INavigable4MomentumCollection , Rec::TrackParticleContainer >::containsObject ( const object_type theObject) const
inlineinherited

testing if object is in store

Definition at line 143 of file AssociationMap.h.

144  { return this->findObject(theObject) != this->endObject(); }

◆ endAssociation() [1/2]

◆ endAssociation() [2/2]

end iterator for associations

◆ endObject()

end iterator for objects

◆ findAssociation() [1/2]

asso_iterator AssociationMap< INavigable4MomentumCollection , Rec::TrackParticleContainer >::findAssociation ( const object_iterator objectIter,
const asso_type assoPointer 
) const
inlineinherited

find association

Definition at line 158 of file AssociationMap.h.

160  { return objectIter.findAssociation(assoPointer); }

◆ findAssociation() [2/2]

asso_iterator AssociationMap< INavigable4MomentumCollection , Rec::TrackParticleContainer >::findAssociation ( const object_type objectPointer,
const asso_type assoPointer 
) const
inherited

◆ findObject()

finding an object with allocation

Definition at line 139 of file AssociationMap.h.

140  { return object_iterator(m_associationMap).find(theObject); }

◆ getAssociation()

const asso_type* AssociationMap< INavigable4MomentumCollection , Rec::TrackParticleContainer >::getAssociation ( asso_iterator  assoIter) const
inlineinherited

associations iterator access

The associations are accessed as function of the row key (the object).

Definition at line 154 of file AssociationMap.h.

155  { return *assoIter; }

◆ getAssociations() [1/6]

bool INav4MomToTrackParticleAssocs::getAssociations ( const AssociationMap< INavigable4MomentumCollection, Rec::TrackParticleContainer >::object_iterator objIter,
AssociationMap< INavigable4MomentumCollection, Rec::TrackParticleContainer >::asso_list assocs 
) const
inline

Reimplement the method from the base class to not shaddow it.

Definition at line 90 of file INav4MomToTrackParticleAssocs.h.

◆ getAssociations() [2/6]

bool INav4MomToTrackParticleAssocs::getAssociations ( const AssociationMap< INavigable4MomentumCollection, Rec::TrackParticleContainer >::object_type objPointer,
AssociationMap< INavigable4MomentumCollection, Rec::TrackParticleContainer >::asso_list assocs 
) const
inline

Reimplement the method from the base class to not shaddow it.

Definition at line 80 of file INav4MomToTrackParticleAssocs.h.

◆ getAssociations() [3/6]

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.

Parameters
objectLink

Definition at line 87 of file INav4MomToTrackParticleAssocs.cxx.

90 {
91  if ( !objectLink.isValid() )
92  {
93  return false;
94  }
95 
96  // Get the object
97  const INavigable4Momentum* object(NULL);
98  object = (*objectLink);
99  if ( object == NULL )
100  {
101  return false;
102  }
103 
104  return getAssociations( object, associatedElementLinks );
105 }

◆ getAssociations() [4/6]

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.

Parameters
object

Definition at line 110 of file INav4MomToTrackParticleAssocs.cxx.

113 {
114  if ( 0 == object )
115  {
116  return false;
117  }
118 
119  // do the underlying stores contain this object ?
120  bool contained = false;
121  for ( std::map<std::string, DataLink<INav4MomToTrackParticleAssocs> >::const_iterator itr = m_assocStores.begin();
122  itr != m_assocStores.end();
123  ++itr )
124  {
125  if ( itr->second->getAssociations( object, associatedElementLinks ) )
126  {
127  contained = true;
128  }
129  }
130 
131  if ( !contained && !containsObject( object ) )
132  {
133  return false;
134  }
135 
136  // check key
137  store_type::const_iterator mapEnd = m_associationMap.end();
138  store_type::const_iterator foundIter = mapEnd;
139  for ( store_type::const_iterator iMap = m_associationMap.begin();
140  iMap != mapEnd;
141  ++iMap )
142  {
143  // look for the address of the pointed-at object
144  // must dereference the ElementLink pointer
145  if ( &*(*(iMap->first)) == &*(object) )
146  {
147  foundIter = iMap;
148  break;
149  }
150  }
151  if ( foundIter == m_associationMap.end() )
152  {
153  return false;
154  }
155 
156  // Now, loop over all associations and fill the vector of associations
157  associatedElementLinks.reserve( associatedElementLinks.size() +
158  getNumberOfAssociations(object) );
160  ElementLinkVector<Rec::TrackParticleContainer>::const_iterator assoItrEnd = (foundIter->second).end();
161  for ( ; assoItr != assoItrEnd; ++assoItr )
162  {
164  associatedElementLinks.push_back( assoLink );
165  }
166 
167  return true;
168 }

◆ getAssociations() [5/6]

bool AssociationMap< INavigable4MomentumCollection , Rec::TrackParticleContainer >::getAssociations ( const object_iterator objIter,
asso_list assocs 
) const
inlineinherited

get all associations for a given object

Definition at line 184 of file AssociationMap.h.

185  { return this->getAssociations(objIter.getObject(),assocs); }

◆ getAssociations() [6/6]

bool AssociationMap< INavigable4MomentumCollection , Rec::TrackParticleContainer >::getAssociations ( const object_type objPointer,
asso_list assocs 
) const
inherited

get all associations for a given object

◆ getAssocStores()

std::vector< DataLink< INav4MomToTrackParticleAssocs > > INav4MomToTrackParticleAssocs::getAssocStores ( ) const

Return links to all other association stores.

Definition at line 203 of file INav4MomToTrackParticleAssocs.cxx.

204 {
205  std::vector<DataLink<INav4MomToTrackParticleAssocs> > ret;
206  ret.reserve (m_assocStores.size());
207  for (const auto& p : m_assocStores) {
208  ret.push_back (p.second);
209  }
210  return ret;
211 }

◆ getNumberOfAssociations() [1/2]

size_t AssociationMap< INavigable4MomentumCollection , Rec::TrackParticleContainer >::getNumberOfAssociations ( const object_iterator objectIter) const
inlineinherited

Definition at line 201 of file AssociationMap.h.

202  { return this->size(objectIter); }

◆ getNumberOfAssociations() [2/2]

size_t AssociationMap< INavigable4MomentumCollection , Rec::TrackParticleContainer >::getNumberOfAssociations ( const object_type objectPointer) const
inlineinherited

Definition at line 195 of file AssociationMap.h.

196  { return this->size(objectPointer); }

◆ getNumberOfObjects()

size_t AssociationMap< INavigable4MomentumCollection , Rec::TrackParticleContainer >::getNumberOfObjects
inlineinherited

retrieve number of objects in store

Definition at line 147 of file AssociationMap.h.

147 { return this->size(); }

◆ getObject()

get association iterators by object iterator

type-safe retrieval of object pointer from iterator

Definition at line 135 of file AssociationMap.h.

136  { return (*objectIter).getObject(); }

◆ getObjects() [1/2]

bool AssociationMap< INavigable4MomentumCollection , Rec::TrackParticleContainer >::getObjects ( const asso_iterator assoIter,
object_list theObjects 
) const
inlineinherited

get all objects for a given association

Definition at line 177 of file AssociationMap.h.

178  { return this->getObjects(*assoIter,theObjects); }

◆ getObjects() [2/2]

bool AssociationMap< INavigable4MomentumCollection , Rec::TrackParticleContainer >::getObjects ( const asso_type assoPointer,
object_list theObjects 
) const
inherited

get all objects for a given association

◆ internalFind()

store_iterator_type AssociationMap< INavigable4MomentumCollection , Rec::TrackParticleContainer >::internalFind ( const object_link objectLink,
const asso_link assoLink 
)
inlineprotectedinherited

internally used find method

Definition at line 210 of file AssociationMap.h.

212  {
213  // check key
214  store_iterator_type mapEnd = m_associationMap.end();
215  store_iterator_type foundIter = mapEnd;
216  for ( store_iterator_type iMap = m_associationMap.begin();
217  iMap != mapEnd;
218  ++iMap ) {
219  // look for the address of the pointed-at object
220  // must dereference the ElementLink pointer
221  if ( iMap->first.cptr() == objectLink.cptr() ) {
222  foundIter = iMap;
223  break;
224  }
225  }
226 
227  if ( foundIter == m_associationMap.end() ) { return foundIter; }
228  // check data
229  if ( std::find((foundIter->second).begin(),
230  (foundIter->second).end(),
231  assoLink) !=
232  (foundIter->second).end() )
233  { return foundIter; }
234  // not found at all
235  return m_associationMap.end();
236  }

◆ nAssocStores()

size_t INav4MomToTrackParticleAssocs::nAssocStores ( ) const

Number of associated stores.

Definition at line 197 of file INav4MomToTrackParticleAssocs.cxx.

198 {
199  return m_assocStores.size();
200 }

◆ operator=()

INav4MomToTrackParticleAssocs & INav4MomToTrackParticleAssocs::operator= ( const INav4MomToTrackParticleAssocs rhs)

Assignment operator:

Definition at line 36 of file INav4MomToTrackParticleAssocs.cxx.

37 {
38  if ( this != &rhs ) {
41  }
42  return *this;
43 }

◆ size() [1/4]

get number of associations

Definition at line 188 of file AssociationMap.h.

188 { return m_associationMap.size(); }

◆ size() [2/4]

get number of associations

Definition at line 191 of file AssociationMap.h.

191 { return m_associationMap.size(); }

◆ size() [3/4]

size_t AssociationMap< INavigable4MomentumCollection , Rec::TrackParticleContainer >::size ( const object_iterator objectIter) const
inlineinherited

Definition at line 198 of file AssociationMap.h.

199  { return objectIter.getNumberOfAssociations(); }

◆ size() [4/4]

size_t AssociationMap< INavigable4MomentumCollection , Rec::TrackParticleContainer >::size ( const object_type objectPointer) const
inherited

Member Data Documentation

◆ m_associationMap

internal store

Definition at line 207 of file AssociationMap.h.

◆ m_assocStores

std::map<std::string, INav4MomToTrackParticleAssocsLink_t> INav4MomToTrackParticleAssocs::m_assocStores
protected

Definition at line 116 of file INav4MomToTrackParticleAssocs.h.

◆ s_dum_asso_store

Definition at line 68 of file AssociationMap.h.


The documentation for this class was generated from the following files:
AssociationMap< INavigable4MomentumCollection, Rec::TrackParticleContainer >::store_iterator_type
store_type::iterator store_iterator_type
Definition: AssociationMap.h:64
AssociationMap< INavigable4MomentumCollection, Rec::TrackParticleContainer >::containsObject
bool containsObject(const object_type *theObject) const
testing if object is in store
Definition: AssociationMap.h:143
AssociationMap< INavigable4MomentumCollection, Rec::TrackParticleContainer >::getAssociations
bool getAssociations(const object_type *objPointer, asso_list &assocs) const
get all associations for a given object
AssociationMap< INavigable4MomentumCollection, Rec::TrackParticleContainer >::endAssociation
asso_iterator endAssociation(const object_type *objectPointer) const
end iterator for associations
AssociationMap< INavigable4MomentumCollection, Rec::TrackParticleContainer >::getNumberOfAssociations
size_t getNumberOfAssociations(const object_type *objectPointer) const
Definition: AssociationMap.h:195
find
std::string find(const std::string &s)
return a remapped string
Definition: hcg.cxx:135
AssociationMap< INavigable4MomentumCollection, Rec::TrackParticleContainer >::beginAssociation
asso_iterator beginAssociation(const object_type *objectPointer) const
begin iterator for associations
columnar::operator=
AccessorTemplate & operator=(AccessorTemplate &&that)
Definition: VectorColumn.h:88
PlotCalibFromCool.begin
begin
Definition: PlotCalibFromCool.py:94
ElementLinkVector
ElementLinkVector implementation for standalone ROOT.
Definition: AthLinks/ElementLinkVector.h:65
AssociationMap< INavigable4MomentumCollection, Rec::TrackParticleContainer >
mergePhysValFiles.end
end
Definition: DataQuality/DataQualityUtils/scripts/mergePhysValFiles.py:93
python.utils.AtlRunQueryDQUtils.p
p
Definition: AtlRunQueryDQUtils.py:210
INavigable4MomentumCollection
DataVector< INavigable4Momentum > INavigable4MomentumCollection
Definition: INavigable4MomentumCollection.h:22
lumiFormat.i
int i
Definition: lumiFormat.py:85
AssociationMap< INavigable4MomentumCollection, Rec::TrackParticleContainer >::object_iterator
AssociationObjectIterator object_iterator
object iterator type
Definition: AssociationMap.h:84
AssociationMap< INavigable4MomentumCollection, Rec::TrackParticleContainer >::endObject
object_iterator endObject() const
end iterator for objects
INav4MomToTrackParticleAssocs::m_assocStores
std::map< std::string, INav4MomToTrackParticleAssocsLink_t > m_assocStores
Definition: INav4MomToTrackParticleAssocs.h:116
id
SG::auxid_t id
Definition: Control/AthContainers/Root/debug.cxx:239
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:240
Rec::TrackParticleContainer
Definition: Reconstruction/Particle/Particle/TrackParticleContainer.h:33
ConstDataVector::push_back
value_type push_back(value_type pElem)
Add an element to the end of the collection.
INav4MomToTrackParticleAssocs::assocs
bool assocs(const INavigable4Momentum *object, ConstDataVector< Rec::TrackParticleContainer > &associatedElems) const
Retrieve all the associated-to objects which have been associated to the given.
Definition: INav4MomToTrackParticleAssocs.cxx:49
AssociationMap< INavigable4MomentumCollection, Rec::TrackParticleContainer >::size
size_t size()
get number of associations
Definition: AssociationMap.h:188
INavigable4Momentum
Definition: INavigable4Momentum.h:21
AssociationMap< INavigable4MomentumCollection, Rec::TrackParticleContainer >::findObject
object_iterator findObject(const object_type *theObject) const
finding an object with allocation
Definition: AssociationMap.h:139
AssociationMap< INavigable4MomentumCollection, Rec::TrackParticleContainer >::getObjects
bool getObjects(const asso_type *assoPointer, object_list &theObjects) const
get all objects for a given association
pickleTool.object
object
Definition: pickleTool.py:30
AssociationMap< INavigable4MomentumCollection, Rec::TrackParticleContainer >::asso_iterator
AssociationVectorIterator asso_iterator
association iterator type
Definition: AssociationMap.h:81
AssociationMap< INavigable4MomentumCollection, Rec::TrackParticleContainer >::m_associationMap
store_type m_associationMap
internal store
Definition: AssociationMap.h:207
INav4MomToTrackParticleAssocs::getAssociations
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.
Definition: INav4MomToTrackParticleAssocs.cxx:87
INav4MomToTrackParticleAssocs::assocStore
DataLink< INav4MomToTrackParticleAssocs > assocStore(const std::string &name) const
Look up an associated store. For testing.
Definition: INav4MomToTrackParticleAssocs.cxx:187