ATLAS Offline Software
|
#include <NavBinnedArray1D.h>
Public Member Functions | |
NavBinnedArray1D () | |
Default Constructor - needed for inherited classes. More... | |
NavBinnedArray1D (const std::vector< SharedObject< T >> &tclassvector, BinUtility *bingen, Amg::Transform3D *transform) | |
Constructor with std::vector and a BinUtility - reference counted, will delete objects at the end, if this deletion should be turned off, the boolean deletion should be switched to false the global position is given by pointer and then deleted! More... | |
NavBinnedArray1D (const NavBinnedArray1D &barr, std::vector< SharedObject< T >> &&vec, Amg::Transform3D &shift) | |
Copy Constructor with shift. More... | |
NavBinnedArray1D (const NavBinnedArray1D &barr) | |
Copy Constructor - copies only pointers ! More... | |
NavBinnedArray1D & | operator= (const NavBinnedArray1D &barr) |
Assignment operator. More... | |
NavBinnedArray1D * | clone () const |
Implicit Constructor. More... | |
~NavBinnedArray1D () | |
Virtual Destructor. More... | |
T * | object (const Amg::Vector2D &lp) const |
Returns the pointer to the templated class object from the BinnedArray, it returns 0 if not defined;. More... | |
T * | object (const Amg::Vector3D &gp) const |
Returns the pointer to the templated class object from the BinnedArray it returns 0 if not defined;. More... | |
T * | entryObject (const Amg::Vector3D &) const |
Returns the pointer to the templated class object from the BinnedArray - entry point. More... | |
T * | nextObject (const Amg::Vector3D &gp, const Amg::Vector3D &mom, bool associatedResult=true) const |
Returns the pointer to the templated class object from the BinnedArray. More... | |
BinnedArraySpan< T *const > | arrayObjects () |
Return all objects of the Array non-const T. More... | |
BinnedArraySpan< T const *const > | arrayObjects () const |
Return all objects of the Array const T. More... | |
unsigned int | arrayObjectsNumber () const |
Number of Entries in the Array. More... | |
const BinUtility * | binUtility () const |
Return the BinUtility. More... | |
Amg::Transform3D * | transform () const |
Return the transform. More... | |
void | updateTransform (Amg::Transform3D &transform) |
Reposition. More... | |
Private Member Functions | |
void | createArrayCache () const |
vector of pointers to the class T More... | |
Private Attributes | |
std::vector< SharedObject< T > > | m_array |
forced 1D vector of pointers to class T More... | |
CxxUtils::CachedUniquePtr< std::vector< T * > > | m_arrayObjects |
binUtility for retrieving and filling the Array More... | |
SharedObject< BinUtility > | m_binUtility |
Amg::Transform3D * | m_transf |
Avoiding a map search, the templated BinnedArray class can help ordereing geometrical objects by providing a dedicated BinUtility.
For use within navigation objects, global coordinates/transform refer to the position within mother navigation object
Definition at line 35 of file NavBinnedArray1D.h.
|
inline |
Default Constructor - needed for inherited classes.
Definition at line 40 of file NavBinnedArray1D.h.
|
inline |
Constructor with std::vector and a BinUtility - reference counted, will delete objects at the end, if this deletion should be turned off, the boolean deletion should be switched to false the global position is given by pointer and then deleted!
Definition at line 52 of file NavBinnedArray1D.h.
|
inline |
|
inline |
|
inline |
|
inlinevirtual |
Return all objects of the Array non-const T.
Implements Trk::BinnedArray< T >.
Definition at line 178 of file NavBinnedArray1D.h.
|
inlinevirtual |
Return all objects of the Array const T.
Implements Trk::BinnedArray< T >.
Definition at line 185 of file NavBinnedArray1D.h.
|
inlinevirtual |
Number of Entries in the Array.
Implements Trk::BinnedArray< T >.
Definition at line 192 of file NavBinnedArray1D.h.
|
inlinevirtual |
Return the BinUtility.
Implements Trk::BinnedArray< T >.
Definition at line 195 of file NavBinnedArray1D.h.
|
inlinevirtual |
Implicit Constructor.
Implements Trk::BinnedArray< T >.
Definition at line 118 of file NavBinnedArray1D.h.
|
inlineprivate |
vector of pointers to the class T
Definition at line 209 of file NavBinnedArray1D.h.
|
inlinevirtual |
Returns the pointer to the templated class object from the BinnedArray - entry point.
Implements Trk::BinnedArray< T >.
Definition at line 149 of file NavBinnedArray1D.h.
|
inlinevirtual |
Returns the pointer to the templated class object from the BinnedArray.
Implements Trk::BinnedArray< T >.
Definition at line 153 of file NavBinnedArray1D.h.
|
inlinevirtual |
Returns the pointer to the templated class object from the BinnedArray, it returns 0 if not defined;.
Implements Trk::BinnedArray< T >.
Definition at line 126 of file NavBinnedArray1D.h.
|
inlinevirtual |
Returns the pointer to the templated class object from the BinnedArray it returns 0 if not defined;.
Implements Trk::BinnedArray< T >.
Definition at line 137 of file NavBinnedArray1D.h.
|
inline |
|
inline |
|
inline |
|
private |
forced 1D vector of pointers to class T
Definition at line 222 of file NavBinnedArray1D.h.
|
private |
binUtility for retrieving and filling the Array
Definition at line 224 of file NavBinnedArray1D.h.
|
private |
Definition at line 226 of file NavBinnedArray1D.h.
|
private |
Definition at line 228 of file NavBinnedArray1D.h.