![]() |
ATLAS Offline Software
|
#include <CompactBinnedArray1D.h>
Public Member Functions | |
CompactBinnedArray1D (const std::vector< T * > &tclassvector, const std::vector< size_t > &indexvector, const BinUtility &bingen) | |
Constructor with arguents. More... | |
CompactBinnedArray1D (const std::vector< T * > &tclassvector, std::vector< size_t > &&indexvector, BinUtility &&bingen) | |
CompactBinnedArray1D * | clone () const |
Implicit Constructor. More... | |
CompactBinnedArray1D * | clone (const std::vector< T * > &ptrs) const |
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 &gp) 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 BinUtility * | layerBinUtility (const Amg::Vector3D &) const |
Return the BinUtility. More... | |
size_t | layerBin (const Amg::Vector3D &pos) const |
Return the layer bin. More... | |
Private Attributes | |
std::vector< size_t > | m_array {} |
vector of indices to objects More... | |
std::vector< T * > | m_arrayObjects {} |
not owning pointers to objects More... | |
BinUtility | m_binUtility {} |
binUtility More... | |
1-dimensional binned arry based on a sorting given by the BinUtitlity.
Definition at line 32 of file CompactBinnedArray1D.h.
|
inline |
Constructor with arguents.
Note that we do not take ownership of pointersy
Definition at line 40 of file CompactBinnedArray1D.h.
|
inline |
Definition at line 48 of file CompactBinnedArray1D.h.
|
inlinevirtual |
Return all objects of the Array non const T.
Implements Trk::BinnedArray< T >.
Definition at line 107 of file CompactBinnedArray1D.h.
|
inlinevirtual |
Return all objects of the Array const T.
Implements Trk::BinnedArray< T >.
Definition at line 113 of file CompactBinnedArray1D.h.
|
inlinevirtual |
Number of Entries in the Array.
Implements Trk::BinnedArray< T >.
Definition at line 119 of file CompactBinnedArray1D.h.
|
inlinevirtual |
Return the BinUtility.
Implements Trk::BinnedArray< T >.
Definition at line 122 of file CompactBinnedArray1D.h.
|
inlinevirtual |
Implicit Constructor.
Implements Trk::CompactBinnedArray< T >.
Definition at line 57 of file CompactBinnedArray1D.h.
|
inlinevirtual |
|
inlinevirtual |
Returns the pointer to the templated class object from the BinnedArray - entry point.
Implements Trk::BinnedArray< T >.
Definition at line 89 of file CompactBinnedArray1D.h.
|
inlinevirtual |
Return the layer bin.
Implements Trk::CompactBinnedArray< T >.
Definition at line 131 of file CompactBinnedArray1D.h.
|
inlinevirtual |
Return the BinUtility.
Implements Trk::CompactBinnedArray< T >.
Definition at line 125 of file CompactBinnedArray1D.h.
|
inlinevirtual |
Returns the pointer to the templated class object from the BinnedArray.
Implements Trk::BinnedArray< T >.
Definition at line 96 of file CompactBinnedArray1D.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 71 of file CompactBinnedArray1D.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 82 of file CompactBinnedArray1D.h.
|
private |
vector of indices to objects
Definition at line 137 of file CompactBinnedArray1D.h.
|
private |
not owning pointers to objects
Definition at line 138 of file CompactBinnedArray1D.h.
|
private |
binUtility
Definition at line 139 of file CompactBinnedArray1D.h.