Avoiding a map search, the templated BinnedArray class can help ordereing geometrical objects by providing a dedicated BinUtility.
More...
#include <NavBinnedArray1D.h>
|
| | 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!
|
| | NavBinnedArray1D (const NavBinnedArray1D &barr, std::vector< std::shared_ptr< T > > &&vec, const Amg::Transform3D &shift) |
| | Copy Constructor with shift.
|
| | NavBinnedArray1D (const NavBinnedArray1D &barr) |
| | Copy Constructor.
|
| NavBinnedArray1D & | operator= (const NavBinnedArray1D &barr) |
| | Assignment operator.
|
| NavBinnedArray1D * | clone () const |
| | Implicit Constructor.
|
| T * | object (const Amg::Vector2D &lp) const |
| | Returns the pointer to the templated class object from the BinnedArray, it returns nullptr if not defined;.
|
| T * | object (const Amg::Vector3D &gp) const |
| | Returns the pointer to the templated class object from the BinnedArray it returns nullptr if not defined;.
|
| T * | entryObject (const Amg::Vector3D &) const |
| | Returns the pointer to the templated class object from the BinnedArray - entry point.
|
| 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.
|
| std::span< T *const > | arrayObjects () |
| | Return all objects of the Array non-const T.
|
| std::span< T const *const > | arrayObjects () const |
| | Return all objects of the Array const T.
|
| unsigned int | arrayObjectsNumber () const |
| | Number of Entries in the Array.
|
| const BinUtility * | binUtility () const |
| | Return the BinUtility.
|
| const Amg::Transform3D * | transform () const |
| | Return the transform.
|
| void | updateTransform (Amg::Transform3D &transform) |
| | Reposition.
|
template<class T>
class Trk::NavBinnedArray1D< T >
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
- Author
- Andre.nosp@m.as.S.nosp@m.alzbu.nosp@m.rger.nosp@m.@cern.nosp@m..ch, Sarka.nosp@m..Tod.nosp@m.orova.nosp@m.@cer.nosp@m.n.ch
-
Christos Anastopoulos (Athena MT modifications)
Definition at line 35 of file NavBinnedArray1D.h.
◆ NavBinnedArray1D() [1/5]
◆ NavBinnedArray1D() [2/5]
◆ ~NavBinnedArray1D()
◆ NavBinnedArray1D() [3/5]
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.
Avoiding a map search, the templated BinnedArray class can help ordereing geometrical objects by prov...
Amg::Transform3D m_transf
std::vector< std::shared_ptr< T > > m_array
1D vector of cached not owning pointers to class T
const Amg::Transform3D * transform() const
Return the transform.
CxxUtils::CachedUniquePtr< std::vector< T * > > m_arrayObjects
binUtility for retrieving and filling the Array
◆ NavBinnedArray1D() [4/5]
◆ NavBinnedArray1D() [5/5]
◆ arrayObjects() [1/2]
◆ arrayObjects() [2/2]
◆ arrayObjectsNumber()
◆ binUtility()
◆ clone()
◆ createArrayCache()
◆ entryObject()
◆ nextObject()
◆ object() [1/2]
◆ object() [2/2]
◆ operator=() [1/2]
Assignment operator.
Definition at line 79 of file NavBinnedArray1D.h.
80 {
84
87 }
88 return *this;
89 }
◆ operator=() [2/2]
◆ transform()
◆ updateTransform()
◆ m_array
◆ m_arrayObjects
◆ m_binUtility
◆ m_transf
The documentation for this class was generated from the following file: