![]() |
ATLAS Offline Software
|
#include <NavBinnedArray1D.h>
Public Member Functions | |
| NavBinnedArray1D ()=default | |
| NavBinnedArray1D (NavBinnedArray1D &&)=default | |
| NavBinnedArray1D & | operator= (NavBinnedArray1D &&)=default |
| ~NavBinnedArray1D ()=default | |
| NavBinnedArray1D (const std::vector< std::shared_ptr< T >> &tclassvector, const BinUtility &bingen, const 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< std::shared_ptr< T >> &&vec, const Amg::Transform3D &shift) | |
| Copy Constructor with shift. More... | |
| NavBinnedArray1D (const NavBinnedArray1D &barr) | |
| Copy Constructor. More... | |
| NavBinnedArray1D & | operator= (const NavBinnedArray1D &barr) |
| Assignment operator. More... | |
| NavBinnedArray1D * | clone () const |
| Implicit Constructor. More... | |
| T * | object (const Amg::Vector2D &lp) const |
| Returns the pointer to the templated class object from the BinnedArray, it returns nullptr if not defined;. More... | |
| T * | object (const Amg::Vector3D &gp) const |
| Returns the pointer to the templated class object from the BinnedArray it returns nullptr 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... | |
| std::span< T *const > | arrayObjects () |
| Return all objects of the Array non-const T. More... | |
| std::span< 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... | |
| const 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< std::shared_ptr< T > > | m_array |
| 1D vector of cached not owning pointers to class T More... | |
| CxxUtils::CachedUniquePtr< std::vector< T * > > | m_arrayObjects |
| binUtility for retrieving and filling the Array More... | |
| 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.
|
default |
|
default |
|
default |
|
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 49 of file NavBinnedArray1D.h.
|
inline |
|
inline |
|
inlinevirtual |
Return all objects of the Array non-const T.
Implements Trk::BinnedArray< T >.
Definition at line 148 of file NavBinnedArray1D.h.
|
inlinevirtual |
Return all objects of the Array const T.
Implements Trk::BinnedArray< T >.
Definition at line 155 of file NavBinnedArray1D.h.
|
inlinevirtual |
Number of Entries in the Array.
Implements Trk::BinnedArray< T >.
Definition at line 162 of file NavBinnedArray1D.h.
|
inlinevirtual |
Return the BinUtility.
Implements Trk::BinnedArray< T >.
Definition at line 165 of file NavBinnedArray1D.h.
|
inlinevirtual |
Implicit Constructor.
Implements Trk::BinnedArray< T >.
Definition at line 92 of file NavBinnedArray1D.h.
|
inlineprivate |
vector of pointers to the class T
Definition at line 177 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 119 of file NavBinnedArray1D.h.
|
inlinevirtual |
Returns the pointer to the templated class object from the BinnedArray.
Implements Trk::BinnedArray< T >.
Definition at line 123 of file NavBinnedArray1D.h.
|
inlinevirtual |
Returns the pointer to the templated class object from the BinnedArray, it returns nullptr if not defined;.
Implements Trk::BinnedArray< T >.
Definition at line 97 of file NavBinnedArray1D.h.
|
inlinevirtual |
Returns the pointer to the templated class object from the BinnedArray it returns nullptr if not defined;.
Implements Trk::BinnedArray< T >.
Definition at line 107 of file NavBinnedArray1D.h.
|
inline |
|
default |
|
inline |
|
inline |
Reposition.
Definition at line 171 of file NavBinnedArray1D.h.
|
private |
1D vector of cached not owning pointers to class T
Definition at line 189 of file NavBinnedArray1D.h.
|
private |
binUtility for retrieving and filling the Array
Definition at line 191 of file NavBinnedArray1D.h.
|
private |
Definition at line 193 of file NavBinnedArray1D.h.
|
private |
Definition at line 195 of file NavBinnedArray1D.h.
1.8.18