ATLAS Offline Software
|
#include <BinnedArray1D.h>
Public Member Functions | |
BinnedArray1D () | |
Default Constructor - needed for inherited classes. More... | |
BinnedArray1D (const std::vector< std::pair< SharedObject< T >, Amg::Vector3D >> &tclassvector, BinUtility *bingen) | |
Constructor with std::vector and a BinUtility. More... | |
BinnedArray1D (const BinnedArray1D &barr) | |
Copy Constructor - copies only pointers ! More... | |
BinnedArray1D & | operator= (const BinnedArray1D &barr) |
Assignment operator. More... | |
BinnedArray1D * | clone () const |
Implicit Constructor. More... | |
~BinnedArray1D () | |
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... | |
Private Member Functions | |
void | createArrayCache () const |
vector of pointers to the class T More... | |
Private Attributes | |
std::vector< SharedObject< T > > | m_array |
forced 1D vector of pointers to class T More... | |
CxxUtils::CachedUniquePtr< std::vector< T * > > | m_arrayObjects |
binUtility for retrieving and filling the Array More... | |
BinUtility * | m_binUtility |
1-dimensional binned arry based on a sorting given by the BinUtitlity.
Definition at line 35 of file BinnedArray1D.h.
|
inline |
Default Constructor - needed for inherited classes.
Definition at line 40 of file BinnedArray1D.h.
|
inline |
|
inline |
|
inline |
|
inlinevirtual |
Return all objects of the Array non-const T.
Implements Trk::BinnedArray< T >.
Definition at line 151 of file BinnedArray1D.h.
|
inlinevirtual |
Return all objects of the Array const T.
Implements Trk::BinnedArray< T >.
Definition at line 158 of file BinnedArray1D.h.
|
inlinevirtual |
Number of Entries in the Array.
Implements Trk::BinnedArray< T >.
Definition at line 165 of file BinnedArray1D.h.
|
inlinevirtual |
Return the BinUtility.
Implements Trk::BinnedArray< T >.
Definition at line 168 of file BinnedArray1D.h.
|
inlinevirtual |
Implicit Constructor.
Implements Trk::BinnedArray< T >.
Definition at line 107 of file BinnedArray1D.h.
|
inlineprivate |
vector of pointers to the class T
Definition at line 171 of file BinnedArray1D.h.
|
inlinevirtual |
Returns the pointer to the templated class object from the BinnedArray - entry point.
Implements Trk::BinnedArray< T >.
Definition at line 133 of file BinnedArray1D.h.
|
inlinevirtual |
Returns the pointer to the templated class object from the BinnedArray.
Implements Trk::BinnedArray< T >.
Definition at line 140 of file BinnedArray1D.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 115 of file BinnedArray1D.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 126 of file BinnedArray1D.h.
|
inline |
|
private |
forced 1D vector of pointers to class T
Definition at line 186 of file BinnedArray1D.h.
|
private |
binUtility for retrieving and filling the Array
Definition at line 188 of file BinnedArray1D.h.
|
private |
Definition at line 190 of file BinnedArray1D.h.