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

Binned Array for avoiding map searches/. More...

#include <BinnedArray.h>

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

Public Member Functions

 BinnedArray ()=default
 BinnedArray (const BinnedArray &)=default
 BinnedArray (BinnedArray &&)=default
BinnedArrayoperator= (const BinnedArray &)=default
BinnedArrayoperator= (BinnedArray &&)=default
virtual ~BinnedArray ()=default
virtual BinnedArrayclone () const =0
 Implicit constructor.
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::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 35 of file BinnedArray.h.

Constructor & Destructor Documentation

◆ BinnedArray() [1/3]

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

◆ BinnedArray() [2/3]

template<class T>
Trk::BinnedArray< T >::BinnedArray ( const BinnedArray< T > & )
default

◆ BinnedArray() [3/3]

template<class T>
Trk::BinnedArray< T >::BinnedArray ( BinnedArray< T > && )
default

◆ ~BinnedArray()

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

Member Function Documentation

◆ arrayObjects() [1/2]

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

◆ arrayObjects() [2/2]

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

◆ arrayObjectsNumber()

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

◆ binUtility()

◆ clone()

◆ 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

◆ object() [2/2]

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

◆ operator=() [1/2]

template<class T>
BinnedArray & Trk::BinnedArray< T >::operator= ( BinnedArray< T > && )
default

◆ operator=() [2/2]

template<class T>
BinnedArray & Trk::BinnedArray< T >::operator= ( const BinnedArray< T > & )
default

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