  | 
  
    ATLAS Offline Software
    
   | 
 
 
 
 
Go to the documentation of this file.
    9 #ifndef TRKDETDESCRUTILS_COMPACTBINNEDARRAY1D_H 
   10 #define TRKDETDESCRUTILS_COMPACTBINNEDARRAY1D_H 
   41                       const std::vector<size_t>& indexvector,
 
   49                       std::vector<size_t>&& indexvector,
 
   52        m_array(std::move(indexvector)),
 
   98                 bool associatedResult = 
true)
 const 
  144 #endif // TRKDETDESCRUTILS_COMPACTBINNEDARRAY1D_H 
  
size_t entry(const Amg::Vector3D &position, size_t ba=0) const
Bin from a 3D vector (already in binning frame)
 
const BinUtility * binUtility() const
Return the BinUtility.
 
Eigen::Matrix< double, 2, 1 > Vector2D
 
T * object(const Amg::Vector2D &lp) const
Returns the pointer to the templated class object from the BinnedArray, it returns nullptr if not def...
 
CompactBinnedArray1D(const std::vector< T * > &tclassvector, std::vector< size_t > &&indexvector, BinUtility &&bingen)
 
unsigned int arrayObjectsNumber() const
Number of Entries in the Array.
 
size_t layerBin(const Amg::Vector3D &pos) const
Return the layer bin.
 
CompactBinnedArray1D(const std::vector< T * > &tclassvector, const std::vector< size_t > &indexvector, const BinUtility &bingen)
Constructor with arguents.
 
std::vector< T * > m_arrayObjects
not owning pointers to objects
 
BinUtility m_binUtility
binUtility
 
std::span< T *const  > arrayObjects()
Return all objects of the Array non const T.
 
T * nextObject(const Amg::Vector3D &gp, const Amg::Vector3D &mom, bool associatedResult=true) const
Returns the pointer to the templated class object from the BinnedArray.
 
Ensure that the ATLAS eigen extensions are properly loaded.
 
bool inside(const Amg::Vector3D &position) const
Check if bin is inside from Vector3D.
 
std::vector< size_t > m_array
vector of indices to objects
 
T * object(const Amg::Vector3D &gp) const
Returns the pointer to the templated class object from the BinnedArray it returns nullptr if not defi...
 
Eigen::Matrix< double, 3, 1 > Vector3D
 
CompactBinnedArray1D * clone(const std::vector< T * > &ptrs) const
 
CompactBinnedArray1D * clone() const
Implicit Constructor.
 
std::span< T const *const  > arrayObjects() const
Return all objects of the Array const T.
 
size_t bin(const Amg::Vector3D &position, size_t ba=0) const
Bin from a 3D vector (already in binning frame)
 
const BinUtility * layerBinUtility(const Amg::Vector3D &) const
Return the BinUtility.
 
T * entryObject(const Amg::Vector3D &gp) const
Returns the pointer to the templated class object from the BinnedArray - entry point.
 
size_t next(const Amg::Vector3D &position, const Amg::Vector3D &direction, size_t ba=0) const
Bin from a 3D vector (already in binning frame)