ATLAS Offline Software
|
#include <BinnedArray1D1D.h>
Public Member Functions | |
BinnedArray1D1D () | |
Default Constructor - needed for inherited classes. More... | |
BinnedArray1D1D (const std::vector< std::pair< SharedObject< T >, Amg::Vector3D >> &tclassvector, BinUtility *steeringBinGen1D, std::vector< BinUtility * > *singleBinGen) | |
Constructor with std::vector and a BinUtility. More... | |
BinnedArray1D1D (const BinnedArray1D1D &barr) | |
Copy Constructor - copies only pointers! More... | |
BinnedArray1D1D & | operator= (const BinnedArray1D1D &barr) |
Assignment operator. More... | |
BinnedArray1D1D * | clone () const |
Implicit Constructor. More... | |
virtual | ~BinnedArray1D1D () |
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 &, const Amg::Vector3D &, bool) 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 - returns the steering binUtility in this case. More... | |
Private Member Functions | |
void | createArrayCache () const |
vector of pointers to the class T More... | |
Private Attributes | |
std::vector< 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_steeringBinUtility |
std::vector< BinUtility * > * | m_singleBinUtilities |
single bin utilities More... | |
2D dimensional binned array, where the binning grid is not symmetric. One steering bin utility finds the associated array of the other.
Definition at line 35 of file BinnedArray1D1D.h.
|
inline |
Default Constructor - needed for inherited classes.
Definition at line 40 of file BinnedArray1D1D.h.
|
inline |
|
inline |
|
inlinevirtual |
|
inlinevirtual |
Return all objects of the Array non-const T.
Implements Trk::BinnedArray< T >.
Definition at line 227 of file BinnedArray1D1D.h.
|
inlinevirtual |
Return all objects of the Array const T.
Implements Trk::BinnedArray< T >.
Definition at line 234 of file BinnedArray1D1D.h.
|
inlinevirtual |
Number of Entries in the Array.
Implements Trk::BinnedArray< T >.
Definition at line 241 of file BinnedArray1D1D.h.
|
inlinevirtual |
Return the BinUtility - returns the steering binUtility in this case.
Implements Trk::BinnedArray< T >.
Definition at line 244 of file BinnedArray1D1D.h.
|
inlinevirtual |
Implicit Constructor.
Implements Trk::BinnedArray< T >.
Definition at line 175 of file BinnedArray1D1D.h.
|
inlineprivate |
vector of pointers to the class T
Definition at line 247 of file BinnedArray1D1D.h.
|
inlinevirtual |
Returns the pointer to the templated class object from the BinnedArray - entry point.
Implements Trk::BinnedArray< T >.
Definition at line 213 of file BinnedArray1D1D.h.
|
inlinevirtual |
Returns the pointer to the templated class object from the BinnedArray.
Implements Trk::BinnedArray< T >.
Definition at line 221 of file BinnedArray1D1D.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 194 of file BinnedArray1D1D.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 204 of file BinnedArray1D1D.h.
|
inline |
|
private |
forced 1D vector of pointers to class T
Definition at line 263 of file BinnedArray1D1D.h.
|
private |
binUtility for retrieving and filling the Array
Definition at line 265 of file BinnedArray1D1D.h.
|
private |
single bin utilities
Definition at line 268 of file BinnedArray1D1D.h.
|
private |
Definition at line 267 of file BinnedArray1D1D.h.