|
ATLAS Offline Software
|
Go to the documentation of this file.
9 #ifndef TRKDETDESCRUTILS_BINNEDARRAYARRAY_H
10 #define TRKDETDESCRUTILS_BINNEDARRAYARRAY_H
16 #include "GaudiKernel/GaudiException.h"
50 for (
auto& barray : tbas) {
55 for (
auto& o : aObjects)
176 for (
const auto& a_binned_array : binned_arrays) {
187 #endif // TRKDETDESCRUTILS_BINNEDARRAYARRAY_H
virtual BinnedArraySpan< T const *const > arrayObjects() const override final
Return all objects of the Array const T.
virtual BinnedArrayArray * clone() const override
Implicit constructor.
BinnedArrayArray(const BinnedArrayArray &baa)
Copy Constructor.
Eigen::Matrix< double, 2, 1 > Vector2D
BinUtility * m_binUtility
virtual T * object(const Amg::Vector2D &lp) const =0
Returns the pointer to the templated class object from the BinnedArray, it returns 0 if not defined,...
void deleteBinnedArrays()
cleanup the array of binned arrays.
BinnedArrayArray(const std::vector< std::pair< BinnedArray< T > *, Amg::Vector3D >> &tbas, BinUtility *bUtility)
Default Constructor
bool const RAWDATA *ch2 const
BinnedArrayArray & operator=(const BinnedArrayArray &baa)
assignment operator matching the copy constructor
size_t bins(size_t ba=0) const
Number of bins.
virtual T * nextObject(const Amg::Vector3D &gp, const Amg::Vector3D &, bool) const override
Returns the pointer to the templated class object from the BinnedArrayArray, takes 3D position & dire...
virtual unsigned int arrayObjectsNumber() const override final
Number of Entries in the Array.
virtual T * entryObject(const Amg::Vector3D &gp) const override
Returns the pointer to the templated class object from the BinnedArrayArray - entry point.
virtual const BinUtility * binUtility() const override
Return the BinUtility.
Ensure that the ATLAS eigen extensions are properly loaded.
bool inside(const Amg::Vector3D &position) const
Check if bin is inside from Vector3D.
virtual BinnedArraySpan< 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 BinnedArrayArray it returns 0 if not defin...
Eigen::Matrix< double, 3, 1 > Vector3D
void copyBinnedArrays(const std::vector< BinnedArray< T > * > &binned_arrays)
Build up binned arrays array from cloned binned arrays.
virtual T * object(const Amg::Vector2D &lp) const override
Returns the pointer to the templated class object from the BinnedArrayArray, it returns 0 if not defi...
BinUtility * clone() const
Implizit Constructor.
std::vector< BinnedArray< T > * > m_binnedArrays
size_t bin(const Amg::Vector3D &position, size_t ba=0) const
Bin from a 3D vector (already in binning frame)
virtual ~BinnedArrayArray()
Virtual Destructor.
std::span< T > BinnedArraySpan
std::vector< T * > m_arrayObjects