ATLAS Offline Software
|
#include <CompactBinnedArray2D.h>
Public Member Functions | |
CompactBinnedArray2D () | |
Default Constructor - needed for inherited classes. More... | |
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 std::vector and a BinUtility. More... | |
CompactBinnedArray2D (const CompactBinnedArray2D &barr) | |
Copy Constructor - copies only pointers ! More... | |
CompactBinnedArray2D & | operator= (const CompactBinnedArray2D &barr) |
Assignment operator. More... | |
CompactBinnedArray2D * | clone () const |
Implicit Constructor. More... | |
CompactBinnedArray2D * | clone (const std::vector< T * > &ptrs) const |
~CompactBinnedArray2D () | |
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 &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... | |
BinnedArraySpan< T *const > | arrayObjects () |
Return all objects of the Array. 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... | |
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... | |
const 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 |
Default Constructor - needed for inherited classes.
Definition at line 36 of file CompactBinnedArray2D.h.
|
inline |
Constructor with std::vector and a BinUtility.
Definition at line 42 of file CompactBinnedArray2D.h.
|
inline |
|
inline |
Virtual Destructor.
Definition at line 119 of file CompactBinnedArray2D.h.
|
inlinevirtual |
Return all objects of the Array.
Implements Trk::BinnedArray< T >.
Definition at line 192 of file CompactBinnedArray2D.h.
|
inlinevirtual |
Return all objects of the Array const T.
Implements Trk::BinnedArray< T >.
Definition at line 200 of file CompactBinnedArray2D.h.
|
inlinevirtual |
Number of Entries in the Array.
Implements Trk::BinnedArray< T >.
Definition at line 207 of file CompactBinnedArray2D.h.
|
inlinevirtual |
Return the BinUtility.
Implements Trk::BinnedArray< T >.
Definition at line 210 of file CompactBinnedArray2D.h.
|
inlinevirtual |
Implicit Constructor.
Implements Trk::CompactBinnedArray< T >.
Definition at line 105 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 154 of file CompactBinnedArray2D.h.
|
inlinevirtual |
Return the layer bin.
Implements Trk::CompactBinnedArray< T >.
Definition at line 219 of file CompactBinnedArray2D.h.
|
inlinevirtual |
Return the BinUtility.
Implements Trk::CompactBinnedArray< T >.
Definition at line 213 of file CompactBinnedArray2D.h.
|
inlinevirtual |
Returns the pointer to the templated class object from the BinnedArray.
Implements Trk::BinnedArray< T >.
Definition at line 166 of file CompactBinnedArray2D.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 129 of file CompactBinnedArray2D.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 142 of file CompactBinnedArray2D.h.
|
inline |
|
private |
vector of indices to objects
Definition at line 225 of file CompactBinnedArray2D.h.
|
private |
objects
Definition at line 226 of file CompactBinnedArray2D.h.
|
private |
binUtility
Definition at line 227 of file CompactBinnedArray2D.h.
|
private |
vector of bin utilities for 2nd dim
Definition at line 228 of file CompactBinnedArray2D.h.