ATLAS Offline Software
Public Member Functions | List of all members
Trk::CompactBinnedArray< T > Class Template Referenceabstract

#include <CompactBinnedArray.h>

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

Public Member Functions

 CompactBinnedArray ()
 Default Constructor - needed for inherited classes. More...
 
virtual ~CompactBinnedArray ()
 Virtual Destructor. More...
 
virtual CompactBinnedArrayclone () const =0
 Implicit constructor. More...
 
virtual CompactBinnedArrayclone (const std::vector< T * > &ptrs) const =0
 
virtual const Trk::BinUtilitylayerBinUtility (const Amg::Vector3D &gp) const =0
 layer bin utility More...
 
virtual size_t layerBin (const Amg::Vector3D &gp) const =0
 layer bin
More...
 
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. More...
 
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. More...
 
virtual T * entryObject (const Amg::Vector3D &) const =0
 Returns the pointer to the templated class object from the BinnedArray - entry point. More...
 
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. More...
 
virtual BinnedArraySpan< T *constarrayObjects ()=0
 Return all objects of the Array non-const we can still modify the T. More...
 
virtual BinnedArraySpan< T const *constarrayObjects () const =0
 Return all objects of the Array const. More...
 
virtual unsigned int arrayObjectsNumber () const =0
 Number of Entries in the Array. More...
 
virtual const BinUtilitybinUtility () const =0
 Return the BinUtility. More...
 

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.

Constructor & Destructor Documentation

◆ CompactBinnedArray()

template<class T >
Trk::CompactBinnedArray< T >::CompactBinnedArray ( )
inline

Default Constructor - needed for inherited classes.

Definition at line 35 of file CompactBinnedArray.h.

36  : BinnedArray<T>()
37  {}

◆ ~CompactBinnedArray()

template<class T >
virtual Trk::CompactBinnedArray< T >::~CompactBinnedArray ( )
inlinevirtual

Virtual Destructor.

Definition at line 40 of file CompactBinnedArray.h.

40 {}

Member Function Documentation

◆ arrayObjects() [1/2]

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

◆ arrayObjects() [2/2]

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

◆ arrayObjectsNumber()

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

◆ binUtility()

template<class T >
virtual const BinUtility* Trk::BinnedArray< T >::binUtility ( ) const
pure virtualinherited

◆ clone() [1/2]

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

Implicit constructor.

Implements Trk::BinnedArray< T >.

Implemented in Trk::CompactBinnedArray2D< T >, and Trk::CompactBinnedArray1D< 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::CompactBinnedArray2D< T >, and Trk::CompactBinnedArray1D< 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

Returns the pointer to the templated class object from the BinnedArray, it returns 0 if not defined, takes local position.

Implemented in Trk::BinnedArrayArray< T >, Trk::BinnedArray1D1D1D< T >, Trk::BinnedArray1D1D< T >, Trk::CompactBinnedArray2D< T >, Trk::NavBinnedArray1D< T >, Trk::BinnedArray2D< T >, Trk::BinnedArray1D< T >, and Trk::CompactBinnedArray1D< T >.

◆ object() [2/2]

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

Returns the pointer to the templated class object from the BinnedArray it returns 0 if not defined, takes global position.

Implemented in Trk::BinnedArrayArray< T >, Trk::BinnedArray1D1D1D< T >, Trk::BinnedArray1D1D< T >, Trk::CompactBinnedArray2D< T >, Trk::BinnedArray2D< T >, Trk::NavBinnedArray1D< T >, Trk::BinnedArray1D< T >, and Trk::CompactBinnedArray1D< T >.


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