ATLAS Offline Software
Loading...
Searching...
No Matches
Trk::CompactBinnedArray< T > Class Template Referenceabstract

defines common utilities needed for implementation of binned material More...

#include <CompactBinnedArray.h>

Inheritance diagram for Trk::CompactBinnedArray< T >:
Collaboration diagram for Trk::CompactBinnedArray< T >:

Public Member Functions

virtual CompactBinnedArrayclone () const =0
 Implicit constructor.
virtual CompactBinnedArrayclone (const std::vector< T * > &ptrs) const =0
virtual const Trk::BinUtilitylayerBinUtility (const Amg::Vector3D &gp) const =0
 layer bin utility
virtual size_t layerBin (const Amg::Vector3D &gp) const =0
 layer bin
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, takes local position.
virtual T * object (const Amg::Vector3D &gp) const =0
 Returns the pointer to the templated class object from the BinnedArray it returns 0 if not defined, takes global position.
virtual T * entryObject (const Amg::Vector3D &) const =0
 Returns the pointer to the templated class object from the BinnedArray - entry point.
virtual T * nextObject (const Amg::Vector3D &gp, const Amg::Vector3D &mom, bool associatedResult=true) const =0
 Returns the pointer to the templated class object from the BinnedArray, takes 3D position & direction.
virtual std::span< T *const > arrayObjects ()=0
 Return all objects of the Array non-const we can still modify the T.
virtual std::span< T const *const > arrayObjects () const =0
 Return all objects of the Array const.
virtual unsigned int arrayObjectsNumber () const =0
 Number of Entries in the Array.
virtual const BinUtilitybinUtility () const =0
 Return the BinUtility.

Detailed Description

template<class T>
class Trk::CompactBinnedArray< T >

defines common utilities needed for implementation of binned material

Author
sarka.nosp@m..tod.nosp@m.orova.nosp@m.@cer.nosp@m.n.ch

Definition at line 30 of file CompactBinnedArray.h.

Member Function Documentation

◆ arrayObjects() [1/2]

template<class T>
virtual std::span< T const *const > Trk::BinnedArray< T >::arrayObjects ( ) const
pure virtualinherited

◆ arrayObjects() [2/2]

template<class T>
virtual std::span< T *const > Trk::BinnedArray< T >::arrayObjects ( )
pure virtualinherited

◆ arrayObjectsNumber()

template<class T>
virtual unsigned int Trk::BinnedArray< T >::arrayObjectsNumber ( ) const
pure virtualinherited

◆ binUtility()

◆ clone() [1/2]

template<class T>
virtual CompactBinnedArray * Trk::CompactBinnedArray< T >::clone ( ) const
pure virtual

Implicit constructor.

Implements Trk::BinnedArray< T >.

Implemented in Trk::CompactBinnedArray1D< T >, and Trk::CompactBinnedArray2D< T >.

◆ clone() [2/2]

template<class T>
virtual CompactBinnedArray * Trk::CompactBinnedArray< T >::clone ( const std::vector< T * > & ptrs) const
pure virtual

◆ entryObject()

template<class T>
virtual T * Trk::BinnedArray< T >::entryObject ( const Amg::Vector3D & ) const
pure virtualinherited

◆ layerBin()

template<class T>
virtual size_t Trk::CompactBinnedArray< T >::layerBin ( const Amg::Vector3D & gp) const
pure virtual

◆ layerBinUtility()

template<class T>
virtual const Trk::BinUtility * Trk::CompactBinnedArray< T >::layerBinUtility ( const Amg::Vector3D & gp) const
pure virtual

layer bin utility

Implemented in Trk::CompactBinnedArray1D< T >, and Trk::CompactBinnedArray2D< T >.

◆ nextObject()

template<class T>
virtual T * Trk::BinnedArray< T >::nextObject ( const Amg::Vector3D & gp,
const Amg::Vector3D & mom,
bool associatedResult = true ) const
pure virtualinherited

◆ object() [1/2]

template<class T>
virtual T * Trk::BinnedArray< T >::object ( const Amg::Vector2D & lp) const
pure virtualinherited

◆ object() [2/2]

template<class T>
virtual T * Trk::BinnedArray< T >::object ( const Amg::Vector3D & gp) const
pure virtualinherited

The documentation for this class was generated from the following file: