Project
Loading...
Searching...
No Matches
o2::its::ROFVertexLookupTable< NLayers > Class Template Reference

#include <ROFLookupTables.h>

Inherits o2::its::LayerTimingBase< NLayers >.

Public Types

using T = LayerTimingBase< NLayers >::T
 
using BCType = LayerTiming::BCType
 
using TableEntry = dataformats::RangeReference< T, T >
 
using TableIndex = dataformats::RangeReference< T, T >
 
using View = ROFVertexLookupTableView< NLayers, TableEntry, TableIndex >
 
- Public Types inherited from o2::its::LayerTimingBase< NLayers >
using T = LayerTiming::BCType
 

Public Member Functions

 ROFVertexLookupTable ()=default
 
 GPUh () size_t getFlatTableSize() const noexcept
 
 GPUh () void init(const Vertex *vertices
 
 for (int32_t layer{0};layer< NLayers;++layer)
 
 flatten (table)
 
 GPUh () void init()
 
 GPUh () void update(const Vertex *vertices
 
 for (int32_t layer{0};layer< NLayers;++layer)
 
 GPUh () View getView() const
 
 GPUh () View getDeviceView(const TableEntry *deviceFlatTablePtr
 
- Public Member Functions inherited from o2::its::LayerTimingBase< NLayers >
 LayerTimingBase ()=default
 
 GPUh () void defineLayer(int32_t layer
 
 GPUh () void defineLayer(int32_t layer
 
 GPUhdi () const LayerTiming &getLayer(int32_t layer) const
 
 GPUhdi () const expr int32_t getEntries() noexcept
 
 GPUh () void print() const
 

Static Public Member Functions

static GPUh () const expr size_t getIndicesSize()
 

Public Attributes

size_t nVertices
 
const TableIndexdeviceIndicesPtr
 
const TableIndex const LayerTiming *deviceLayerTimingPtr const
 
view mFlatTable = deviceFlatTablePtr
 
view mIndices = deviceIndicesPtr
 
view mLayers = deviceLayerTimingPtr
 
return view
 
- Public Attributes inherited from o2::its::LayerTimingBase< NLayers >
T nROFsTF
 
T T rofLength
 
T T T rofDelay
 
T T T T rofBias
 
T T T T T rofTE
 
 mLayers [layer] = {nROFsTF, rofLength, rofDelay, rofBias, rofTE}
 
const LayerTimingtiming
 

Additional Inherited Members

- Protected Attributes inherited from o2::its::LayerTimingBase< NLayers >
LayerTiming mLayers [NLayers]
 

Detailed Description

template<int32_t NLayers>
class o2::its::ROFVertexLookupTable< NLayers >

Definition at line 526 of file ROFLookupTables.h.

Member Typedef Documentation

◆ BCType

template<int32_t NLayers>
using o2::its::ROFVertexLookupTable< NLayers >::BCType = LayerTiming::BCType

Definition at line 530 of file ROFLookupTables.h.

◆ T

template<int32_t NLayers>
using o2::its::ROFVertexLookupTable< NLayers >::T = LayerTimingBase<NLayers>::T

Definition at line 529 of file ROFLookupTables.h.

◆ TableEntry

template<int32_t NLayers>
using o2::its::ROFVertexLookupTable< NLayers >::TableEntry = dataformats::RangeReference<T, T>

Definition at line 531 of file ROFLookupTables.h.

◆ TableIndex

template<int32_t NLayers>
using o2::its::ROFVertexLookupTable< NLayers >::TableIndex = dataformats::RangeReference<T, T>

Definition at line 532 of file ROFLookupTables.h.

◆ View

template<int32_t NLayers>
using o2::its::ROFVertexLookupTable< NLayers >::View = ROFVertexLookupTableView<NLayers, TableEntry, TableIndex>

Definition at line 533 of file ROFLookupTables.h.

Constructor & Destructor Documentation

◆ ROFVertexLookupTable()

template<int32_t NLayers>
o2::its::ROFVertexLookupTable< NLayers >::ROFVertexLookupTable ( )
default

Member Function Documentation

◆ flatten()

template<int32_t NLayers>
o2::its::ROFVertexLookupTable< NLayers >::flatten ( table  )

◆ for() [1/2]

template<int32_t NLayers>
o2::its::ROFVertexLookupTable< NLayers >::for ( )
inline

Definition at line 549 of file ROFLookupTables.h.

◆ for() [2/2]

template<int32_t NLayers>
o2::its::ROFVertexLookupTable< NLayers >::for ( )
inline

Definition at line 576 of file ROFLookupTables.h.

◆ GPUh() [1/7]

template<int32_t NLayers>
static o2::its::ROFVertexLookupTable< NLayers >::GPUh ( ) const
inlinestatic

Definition at line 538 of file ROFLookupTables.h.

◆ GPUh() [2/7]

template<int32_t NLayers>
o2::its::ROFVertexLookupTable< NLayers >::GPUh ( ) const
inlinenoexcept

Definition at line 537 of file ROFLookupTables.h.

◆ GPUh() [3/7]

template<int32_t NLayers>
o2::its::ROFVertexLookupTable< NLayers >::GPUh ( ) const

◆ GPUh() [4/7]

template<int32_t NLayers>
o2::its::ROFVertexLookupTable< NLayers >::GPUh ( ) const
inline

Definition at line 586 of file ROFLookupTables.h.

◆ GPUh() [5/7]

template<int32_t NLayers>
o2::its::ROFVertexLookupTable< NLayers >::GPUh ( )
inline

Definition at line 556 of file ROFLookupTables.h.

◆ GPUh() [6/7]

template<int32_t NLayers>
o2::its::ROFVertexLookupTable< NLayers >::GPUh ( ) const

◆ GPUh() [7/7]

template<int32_t NLayers>
o2::its::ROFVertexLookupTable< NLayers >::GPUh ( ) const

Member Data Documentation

◆ const

template<int32_t NLayers>
const TableIndex const LayerTiming* deviceLayerTimingPtr o2::its::ROFVertexLookupTable< NLayers >::const
Initial value:
{
ROFVertexLookupTableView< NLayers, TableEntry, TableIndex > View

Definition at line 595 of file ROFLookupTables.h.

◆ deviceIndicesPtr

template<int32_t NLayers>
const TableIndex* o2::its::ROFVertexLookupTable< NLayers >::deviceIndicesPtr

Definition at line 595 of file ROFLookupTables.h.

◆ mFlatTable

template<int32_t NLayers>
view o2::its::ROFVertexLookupTable< NLayers >::mFlatTable = deviceFlatTablePtr

Definition at line 598 of file ROFLookupTables.h.

◆ mIndices

template<int32_t NLayers>
view o2::its::ROFVertexLookupTable< NLayers >::mIndices = deviceIndicesPtr

Definition at line 599 of file ROFLookupTables.h.

◆ mLayers

template<int32_t NLayers>
view o2::its::ROFVertexLookupTable< NLayers >::mLayers = deviceLayerTimingPtr

Definition at line 600 of file ROFLookupTables.h.

◆ nVertices

template<int32_t NLayers>
size_t o2::its::ROFVertexLookupTable< NLayers >::nVertices
Initial value:
{
if (nVertices > std::numeric_limits<T>::max()) {
LOGF(fatal, "too many vertices %zu, max supported is %u", nVertices, std::numeric_limits<T>::max());
}
std::vector<TableEntry> table[NLayers]

Definition at line 542 of file ROFLookupTables.h.

◆ view

template<int32_t NLayers>
return o2::its::ROFVertexLookupTable< NLayers >::view

Definition at line 601 of file ROFLookupTables.h.


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