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

#include <TrackingTopology.h>

Classes

struct  CellTopology
 
struct  LayerLink
 
struct  View
 

Public Types

using Id = std::conditional_t< MaxCells<=std::numeric_limits< uint8_t >::max(), uint8_t, uint16_t >
 
using Mask = LayerMask
 
using Range = o2::dataformats::RangeReference< Id, Id >
 

Public Member Functions

void init (int maxLayers, int maxHoles, Mask holeLayerMask, Mask seedingLayerMask=0)
 
View getView () const
 
View getDeviceView (const LayerLink *deviceLinks, const CellTopology *deviceCells, const Range *deviceCellsByFirstLinkIndex, const Id *deviceCellsByFirstLink) const
 
const auto & getLinks () const noexcept
 
const auto & getCells () const noexcept
 
const auto & getCellsByFirstLinkIndex () const noexcept
 
const auto & getCellsByFirstLink () const noexcept
 
Id getNLinks () const noexcept
 
Id getNCells () const noexcept
 
Id getNCellsByFirstLink () const noexcept
 

Static Public Attributes

static constexpr int MaxLinks = (NLayers * (NLayers - 1)) / 2
 
static constexpr int MaxCells = (NLayers * (NLayers - 1) * (NLayers - 2)) / 6
 

Detailed Description

template<int NLayers>
class o2::its::TrackingTopology< NLayers >

Definition at line 35 of file TrackingTopology.h.

Member Typedef Documentation

◆ Id

template<int NLayers>
using o2::its::TrackingTopology< NLayers >::Id = std::conditional_t<MaxCells <= std::numeric_limits<uint8_t>::max(), uint8_t, uint16_t>

Definition at line 40 of file TrackingTopology.h.

◆ Mask

template<int NLayers>
using o2::its::TrackingTopology< NLayers >::Mask = LayerMask

Definition at line 41 of file TrackingTopology.h.

◆ Range

template<int NLayers>
using o2::its::TrackingTopology< NLayers >::Range = o2::dataformats::RangeReference<Id, Id>

Definition at line 42 of file TrackingTopology.h.

Member Function Documentation

◆ getCells()

template<int NLayers>
const auto & o2::its::TrackingTopology< NLayers >::getCells ( ) const
inlinenoexcept

Definition at line 176 of file TrackingTopology.h.

◆ getCellsByFirstLink()

template<int NLayers>
const auto & o2::its::TrackingTopology< NLayers >::getCellsByFirstLink ( ) const
inlinenoexcept

Definition at line 178 of file TrackingTopology.h.

◆ getCellsByFirstLinkIndex()

template<int NLayers>
const auto & o2::its::TrackingTopology< NLayers >::getCellsByFirstLinkIndex ( ) const
inlinenoexcept

Definition at line 177 of file TrackingTopology.h.

◆ getDeviceView()

template<int NLayers>
View o2::its::TrackingTopology< NLayers >::getDeviceView ( const LayerLink deviceLinks,
const CellTopology deviceCells,
const Range deviceCellsByFirstLinkIndex,
const Id deviceCellsByFirstLink 
) const
inline

Definition at line 160 of file TrackingTopology.h.

◆ getLinks()

template<int NLayers>
const auto & o2::its::TrackingTopology< NLayers >::getLinks ( ) const
inlinenoexcept

Definition at line 175 of file TrackingTopology.h.

◆ getNCells()

template<int NLayers>
Id o2::its::TrackingTopology< NLayers >::getNCells ( ) const
inlinenoexcept

Definition at line 180 of file TrackingTopology.h.

◆ getNCellsByFirstLink()

template<int NLayers>
Id o2::its::TrackingTopology< NLayers >::getNCellsByFirstLink ( ) const
inlinenoexcept

Definition at line 181 of file TrackingTopology.h.

◆ getNLinks()

template<int NLayers>
Id o2::its::TrackingTopology< NLayers >::getNLinks ( ) const
inlinenoexcept

Definition at line 179 of file TrackingTopology.h.

◆ getView()

template<int NLayers>
View o2::its::TrackingTopology< NLayers >::getView ( ) const
inline

Definition at line 148 of file TrackingTopology.h.

◆ init()

template<int NLayers>
void o2::its::TrackingTopology< NLayers >::init ( int  maxLayers,
int  maxHoles,
Mask  holeLayerMask,
Mask  seedingLayerMask = 0 
)
inline

Definition at line 108 of file TrackingTopology.h.

Member Data Documentation

◆ MaxCells

template<int NLayers>
constexpr int o2::its::TrackingTopology< NLayers >::MaxCells = (NLayers * (NLayers - 1) * (NLayers - 2)) / 6
staticconstexpr

Definition at line 39 of file TrackingTopology.h.

◆ MaxLinks

template<int NLayers>
constexpr int o2::its::TrackingTopology< NLayers >::MaxLinks = (NLayers * (NLayers - 1)) / 2
staticconstexpr

Definition at line 38 of file TrackingTopology.h.


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