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

#include <BinnedArray.h>

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

Public Member Functions

 BinnedArray ()
 Default Constructor - needed for inherited classes. More...
 
virtual ~BinnedArray ()
 Virtual Destructor. More...
 
virtual BinnedArrayclone () const =0
 Implicit constructor. 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::BinnedArray< T >

Binned Array for avoiding map searches/

Author
Andre.nosp@m.as.S.nosp@m.alzbu.nosp@m.rger.nosp@m.@cern.nosp@m..ch
Christos Anastopoulos (AthenaMT)

Definition at line 37 of file BinnedArray.h.

Constructor & Destructor Documentation

◆ BinnedArray()

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

Default Constructor - needed for inherited classes.

Definition at line 42 of file BinnedArray.h.

42 {}

◆ ~BinnedArray()

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

Virtual Destructor.

Definition at line 45 of file BinnedArray.h.

45 {}

Member Function Documentation

◆ arrayObjects() [1/2]

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

◆ arrayObjects() [2/2]

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

◆ arrayObjectsNumber()

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

◆ binUtility()

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

◆ clone()

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

◆ entryObject()

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

◆ nextObject()

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

◆ object() [1/2]

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

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 virtual

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: