![]() |
ATLAS Offline Software
|
#include <CompactBinnedArray2D.h>
Public Member Functions | |
CompactBinnedArray2D (const std::vector< T * > &tclassvector, const std::vector< std::vector< size_t >> &indexarray, const BinUtility &bingen, const std::vector< Trk::BinUtility > &bVec) | |
Constructor with arguments. More... | |
CompactBinnedArray2D (const std::vector< T * > &tclassvector, std::vector< std::vector< size_t >> &&indexarray, BinUtility &&bingen, std::vector< Trk::BinUtility > &&bVec) | |
CompactBinnedArray2D * | clone () const |
Implicit Constructor. More... | |
CompactBinnedArray2D * | 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. 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 &pos) const |
Return the BinUtility. More... | |
size_t | layerBin (const Amg::Vector3D &pos) const |
Return the layer bin. More... | |
Private Attributes | |
std::vector< std::vector< size_t > > | m_array {} |
vector of indices to objects More... | |
std::vector< T * > | m_arrayObjects {} |
objects More... | |
BinUtility | m_binUtility {} |
binUtility More... | |
std::vector< BinUtility > | m_buVec {} |
vector of bin utilities for 2nd dim More... | |
2-dimensional binned array
Definition at line 31 of file CompactBinnedArray2D.h.
|
inline |
Constructor with arguments.
Note that we do not take ownership of the pointers
Definition at line 39 of file CompactBinnedArray2D.h.
|
inline |
Definition at line 49 of file CompactBinnedArray2D.h.
|
inlinevirtual |
Return all objects of the Array.
Implements Trk::BinnedArray< T >.
Definition at line 129 of file CompactBinnedArray2D.h.
|
inlinevirtual |
Return all objects of the Array const T.
Implements Trk::BinnedArray< T >.
Definition at line 136 of file CompactBinnedArray2D.h.
|
inlinevirtual |
Number of Entries in the Array.
Implements Trk::BinnedArray< T >.
Definition at line 142 of file CompactBinnedArray2D.h.
|
inlinevirtual |
Return the BinUtility.
Implements Trk::BinnedArray< T >.
Definition at line 145 of file CompactBinnedArray2D.h.
|
inlinevirtual |
Implicit Constructor.
Implements Trk::CompactBinnedArray< T >.
Definition at line 60 of file CompactBinnedArray2D.h.
|
inlinevirtual |
|
inlinevirtual |
Returns the pointer to the templated class object from the BinnedArray - entry point.
Implements Trk::BinnedArray< T >.
Definition at line 96 of file CompactBinnedArray2D.h.
|
inlinevirtual |
Return the layer bin.
Implements Trk::CompactBinnedArray< T >.
Definition at line 154 of file CompactBinnedArray2D.h.
|
inlinevirtual |
Return the BinUtility.
Implements Trk::CompactBinnedArray< T >.
Definition at line 148 of file CompactBinnedArray2D.h.
|
inlinevirtual |
Returns the pointer to the templated class object from the BinnedArray.
Implements Trk::BinnedArray< T >.
Definition at line 105 of file CompactBinnedArray2D.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 74 of file CompactBinnedArray2D.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 87 of file CompactBinnedArray2D.h.
|
private |
vector of indices to objects
Definition at line 160 of file CompactBinnedArray2D.h.
|
private |
objects
Definition at line 161 of file CompactBinnedArray2D.h.
|
private |
binUtility
Definition at line 162 of file CompactBinnedArray2D.h.
|
private |
vector of bin utilities for 2nd dim
Definition at line 163 of file CompactBinnedArray2D.h.