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) {
static const std::vector< std::string > bins
A generic symmetric BinUtility, for fully symmetric binning in terms of binning grid and binning type...
Avoiding a map search, the templated BinnedArray class can help ordereing geometrical objects by prov...
T * object(const Amg::Vector2D &lp) const
Returns the pointer to the templated class object from the BinnedArray, it returns nullptr if not def...
virtual std::span< T *const > arrayObjects() override final
Return all objects of the Array non-const T.
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...
BinnedArrayArray2D(std::vector< std::pair< BinnedArray2D< T >, Amg::Vector3D > > &&tbas, const BinUtility &bUtility)
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 BinnedArrayArray2D * clone() const override
Implicit constructor.
std::vector< T * > m_arrayObjects
virtual T * object(const Amg::Vector2D &lp) const override
Returns the pointer to the templated class object from the BinnedArrayArray2D.
virtual unsigned int arrayObjectsNumber() const override final
Number of Entries in the Array.
virtual std::span< T const *const > arrayObjects() const override final
Return all objects of the Array const T.
virtual const BinUtility * binUtility() const override
Return the BinUtility.
std::vector< BinnedArray2D< T > > m_binnedArrays
virtual T * entryObject(const Amg::Vector3D &gp) const override
Returns the pointer to the templated class object from the BinnedArrayArray2D - entry point.
Eigen::Matrix< double, 2, 1 > Vector2D
Eigen::Matrix< double, 3, 1 > Vector3D
Ensure that the ATLAS eigen extensions are properly loaded.