Avoiding a map search, the templated BinnedArray class can help ordereing geometrical objects by providing a dedicated BinUtility.
More...
|
| | BinnedArrayXD (const BinnedArrayXD< T > &barr)=delete |
| | Copy constructor.
|
| | BinnedArrayXD (const std::vector< std::vector< std::vector< T > > > &grid, std::unique_ptr< const BinUtility > bu) |
| | Constructor with a grid and a BinUtility.
|
| | BinnedArrayXD (const std::vector< TAP > &tapvector, std::unique_ptr< const BinUtility > bu) |
| | Constructor with std::vector and a BinUtility.
|
| | BinnedArrayXD (const T &object) |
| | Constructor for single object.
|
|
| ~BinnedArrayXD () override=default |
| | Destructor.
|
| const std::vector< T > & | arrayObjects () const final |
| | Return all unique object.
|
| const BinUtility * | binUtility () const final |
| | Return the BinUtility.
|
| T | object (const Vector2 &lposition) const override |
| | Same method without bins for backward compatibility.
|
| T | object (const Vector2 &lposition, std::array< std::size_t, 3 > &bins) const final |
| | Returns the object in the array from a local position.
|
| T | object (const Vector3 &position) const override |
| | Same method without bins for backward compatibility.
|
| T | object (const Vector3 &position, std::array< std::size_t, 3 > &bins) const final |
| | Returns the object in the array from a global position.
|
| const std::vector< std::vector< std::vector< T > > > & | objectGrid () const final |
| | Return the object grid multiple entries are allowed and wanted.
|
| BinnedArrayXD & | operator= (const BinnedArrayXD< T > &barr)=delete |
| | Assignment operator.
|
|
| BinnedArray ()=default |
| | Default Constructor - needed for inherited classes.
|
|
virtual | ~BinnedArray ()=default |
| | Virtual Destructor.
|
template<class T>
class Acts::BinnedArrayXD< T >
Avoiding a map search, the templated BinnedArray class can help ordereing geometrical objects by providing a dedicated BinUtility.
This can be 0D, 1D, 2D, and 3D in regular binning
the type of Binning is given defined through the BinUtility