 |
ATLAS Offline Software
|
Go to the documentation of this file.
9 #ifndef TRKDETDESCRUTILS_BINNEDARRAYARRAY2D_H
10 #define TRKDETDESCRUTILS_BINNEDARRAYARRAY2D_H
15 #include "GaudiKernel/GaudiException.h"
41 for (
auto& barray : tbas) {
123 for (
auto& o : aObjects) {
137 #endif // TRKDETDESCRUTILS_BINNEDARRAYARRAY_H
T * object(const Amg::Vector2D &lp) const
Returns the pointer to the templated class object from the BinnedArray, it returns nullptr if not def...
Eigen::Matrix< double, 2, 1 > Vector2D
BinnedArrayArray2D(std::vector< std::pair< BinnedArray2D< T >, Amg::Vector3D > > &&tbas, const BinUtility &bUtility)
std::vector< BinnedArray2D< T > > m_binnedArrays
virtual unsigned int arrayObjectsNumber() const override final
Number of Entries in the Array.
bool const RAWDATA *ch2 const
virtual T * entryObject(const Amg::Vector3D &gp) const override
Returns the pointer to the templated class object from the BinnedArrayArray2D - entry point.
size_t bins(size_t ba=0) const
Number of bins.
virtual BinnedArrayArray2D * clone() const override
Implicit constructor.
virtual std::span< T *const > arrayObjects() override final
Return all objects of the Array non-const T.
std::vector< T * > m_arrayObjects
virtual std::span< T const *const > arrayObjects() const override final
Return all objects of the Array const T.
virtual T * object(const Amg::Vector2D &lp) const override
Returns the pointer to the templated class object from the BinnedArrayArray2D.
Ensure that the ATLAS eigen extensions are properly loaded.
bool inside(const Amg::Vector3D &position) const
Check if bin is inside from Vector3D.
Eigen::Matrix< double, 3, 1 > Vector3D
virtual const BinUtility * binUtility() const override
Return the BinUtility.
size_t bin(const Amg::Vector3D &position, size_t ba=0) const
Bin from a 3D vector (already in binning frame)
virtual T * nextObject(const Amg::Vector3D &gp, const Amg::Vector3D &, bool) const override
Returns the pointer to the templated class object from the BinnedArrayArray2D, takes 3D position & di...
virtual T * object(const Amg::Vector3D &gp) const override
Returns the pointer to the templated class object from the BinnedArrayArray2D it returns nullptr if n...