ATLAS Offline Software
|
#include <BinnedArray1D1D1D.h>
Public Member Functions | |
BinnedArray1D1D1D () | |
Default Constructor - needed for inherited classes. More... | |
BinnedArray1D1D1D (const std::vector< std::pair< SharedObject< T >, Amg::Vector3D >> &tclassvector, BinUtility *binUtil1, BinUtility *binUtil2, std::vector< std::vector< BinUtility * >> *binUtilVec) | |
Constructor with std::vector and a BinUtility. More... | |
BinnedArray1D1D1D (const BinnedArray1D1D1D &barr) | |
Copy Constructor - copies only pointers! More... | |
BinnedArray1D1D1D & | operator= (const BinnedArray1D1D1D &barr) |
Assignment operator. More... | |
BinnedArray1D1D1D * | clone () const |
Implicit Constructor. More... | |
~BinnedArray1D1D1D () | |
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 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 |
forced 1D vector of pointers to class T More... | |
CxxUtils::CachedUniquePtr< std::vector< T * > > | m_arrayObjects |
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 38 of file BinnedArray1D1D1D.h.
|
inline |
Default Constructor - needed for inherited classes.
Definition at line 43 of file BinnedArray1D1D1D.h.
|
inline |
|
inline |
|
inline |
|
inlinevirtual |
Return all objects of the Array const T.
Implements Trk::BinnedArray< T >.
Definition at line 281 of file BinnedArray1D1D1D.h.
|
inlinevirtual |
Return all objects of the Array const T.
Implements Trk::BinnedArray< T >.
Definition at line 288 of file BinnedArray1D1D1D.h.
|
inlinevirtual |
Number of Entries in the Array.
Implements Trk::BinnedArray< T >.
Definition at line 295 of file BinnedArray1D1D1D.h.
|
inlinevirtual |
Return the BinUtility - returns the first binUtility in this case.
Implements Trk::BinnedArray< T >.
Definition at line 298 of file BinnedArray1D1D1D.h.
|
inlinevirtual |
Implicit Constructor.
Implements Trk::BinnedArray< T >.
Definition at line 210 of file BinnedArray1D1D1D.h.
|
inlineprivate |
vector of pointers to the class T
Definition at line 301 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 264 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 275 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 230 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 246 of file BinnedArray1D1D1D.h.
|
inline |
|
private |
forced 1D vector of pointers to class T
Definition at line 319 of file BinnedArray1D1D1D.h.
|
private |
Definition at line 321 of file BinnedArray1D1D1D.h.
|
private |
binUtility for retrieving and filling the Array
Definition at line 322 of file BinnedArray1D1D1D.h.
|
private |
binUtility for retrieving and filling the Array
binUtility for retrieving and filling the Array
Definition at line 323 of file BinnedArray1D1D1D.h.
|
private |
Definition at line 325 of file BinnedArray1D1D1D.h.