ATLAS Offline Software
|
#include <CompactBinnedArray1D.h>
Public Member Functions | |
CompactBinnedArray1D () | |
Default Constructor - needed for inherited classes. More... | |
CompactBinnedArray1D (const std::vector< T * > &tclassvector, const std::vector< size_t > &indexvector, BinUtility *bingen) | |
Constructor with std::vector and a BinUtility. More... | |
CompactBinnedArray1D (const CompactBinnedArray1D &barr) | |
Copy Constructor - copies only pointers ! More... | |
CompactBinnedArray1D & | operator= (const CompactBinnedArray1D &barr) |
Assignment operator. More... | |
CompactBinnedArray1D * | clone () const |
Implicit Constructor. More... | |
CompactBinnedArray1D * | clone (const std::vector< T * > &ptrs) const |
~CompactBinnedArray1D () | |
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 non const T. 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 &) 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 |
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 |
Default Constructor - needed for inherited classes.
Definition at line 37 of file CompactBinnedArray1D.h.
|
inline |
Constructor with std::vector and a BinUtility.
Definition at line 43 of file CompactBinnedArray1D.h.
|
inline |
|
inline |
|
inlinevirtual |
Return all objects of the Array non const T.
Implements Trk::BinnedArray< T >.
Definition at line 155 of file CompactBinnedArray1D.h.
|
inlinevirtual |
Return all objects of the Array const T.
Implements Trk::BinnedArray< T >.
Definition at line 162 of file CompactBinnedArray1D.h.
|
inlinevirtual |
Number of Entries in the Array.
Implements Trk::BinnedArray< T >.
Definition at line 169 of file CompactBinnedArray1D.h.
|
inlinevirtual |
Return the BinUtility.
Implements Trk::BinnedArray< T >.
Definition at line 172 of file CompactBinnedArray1D.h.
|
inlinevirtual |
Implicit Constructor.
Implements Trk::CompactBinnedArray< T >.
Definition at line 96 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 133 of file CompactBinnedArray1D.h.
|
inlinevirtual |
Return the layer bin.
Implements Trk::CompactBinnedArray< T >.
Definition at line 181 of file CompactBinnedArray1D.h.
|
inlinevirtual |
Return the BinUtility.
Implements Trk::CompactBinnedArray< T >.
Definition at line 175 of file CompactBinnedArray1D.h.
|
inlinevirtual |
Returns the pointer to the templated class object from the BinnedArray.
Implements Trk::BinnedArray< T >.
Definition at line 142 of file CompactBinnedArray1D.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 114 of file CompactBinnedArray1D.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 124 of file CompactBinnedArray1D.h.
|
inline |
|
private |
vector of indices to objects
Definition at line 187 of file CompactBinnedArray1D.h.
|
private |
objects
Definition at line 188 of file CompactBinnedArray1D.h.
|
private |
binUtility
Definition at line 189 of file CompactBinnedArray1D.h.