![]() |
ATLAS Offline Software
|
#include <BinnedArray1D1D1D.h>
Public Member Functions | |
BinnedArray1D1D1D ()=default | |
~BinnedArray1D1D1D ()=default | |
BinnedArray1D1D1D (const std::vector< std::pair< SharedObject< T >, Amg::Vector3D >> &tclassvector, const BinUtility &binUtil1, const BinUtility &binUtil2, const std::vector< std::vector< BinUtility >> &binUtilVec) | |
Constructor with std::vector and a BinUtility. More... | |
BinnedArray1D1D1D (const BinnedArray1D1D1D &barr) | |
Copy Constructor. More... | |
BinnedArray1D1D1D & | operator= (const BinnedArray1D1D1D &barr) |
Assignment operator. More... | |
BinnedArray1D1D1D * | clone () const |
Implicit Constructor. 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 dummy for multidimensional arrays More... | |
BinnedArraySpan< T *const > | arrayObjects () |
Return all objects of the Array 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 first 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< std::vector< SharedObject< T > > > > | m_array {} |
1D cache of non owning pointers to class T More... | |
CxxUtils::CachedUniquePtr< std::vector< T * > > | m_arrayObjects {nullptr} |
BinUtility | m_binUtil1 {} |
binUtility for retrieving and filling the Array More... | |
BinUtility | m_binUtil2 {} |
binUtility for retrieving and filling the Array More... | |
std::vector< std::vector< BinUtility > > | m_binUtilArray {} |
Avoiding a map search, the templated BinnedArray class can help ordering geometrical objects by providing a dedicated BinUtility. dedicated for 3-dim (non-eq) binning ; allows variable binning in 1 coordinate
Definition at line 35 of file BinnedArray1D1D1D.h.
|
default |
|
default |
|
inline |
|
inline |
|
inlinevirtual |
Return all objects of the Array const T.
Implements Trk::BinnedArray< T >.
Definition at line 209 of file BinnedArray1D1D1D.h.
|
inlinevirtual |
Return all objects of the Array const T.
Implements Trk::BinnedArray< T >.
Definition at line 216 of file BinnedArray1D1D1D.h.
|
inlinevirtual |
Number of Entries in the Array.
Implements Trk::BinnedArray< T >.
Definition at line 223 of file BinnedArray1D1D1D.h.
|
inlinevirtual |
Return the BinUtility - returns the first binUtility in this case.
Implements Trk::BinnedArray< T >.
Definition at line 226 of file BinnedArray1D1D1D.h.
|
inlinevirtual |
Implicit Constructor.
Implements Trk::BinnedArray< T >.
Definition at line 151 of file BinnedArray1D1D1D.h.
|
inlineprivate |
vector of pointers to the class T
Definition at line 229 of file BinnedArray1D1D1D.h.
|
inlinevirtual |
Returns the pointer to the templated class object from the BinnedArray - entry point.
Implements Trk::BinnedArray< T >.
Definition at line 193 of file BinnedArray1D1D1D.h.
|
inlinevirtual |
Returns the pointer to the templated class object from the BinnedArray dummy for multidimensional arrays
Implements Trk::BinnedArray< T >.
Definition at line 203 of file BinnedArray1D1D1D.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 156 of file BinnedArray1D1D1D.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 173 of file BinnedArray1D1D1D.h.
|
inline |
|
private |
1D cache of non owning pointers to class T
Definition at line 244 of file BinnedArray1D1D1D.h.
|
private |
Definition at line 246 of file BinnedArray1D1D1D.h.
|
private |
binUtility for retrieving and filling the Array
Definition at line 247 of file BinnedArray1D1D1D.h.
|
private |
binUtility for retrieving and filling the Array
binUtility for retrieving and filling the Array
Definition at line 248 of file BinnedArray1D1D1D.h.
|
private |
Definition at line 250 of file BinnedArray1D1D1D.h.