Project
Loading...
Searching...
No Matches
o2::itsmft::tracking::TimeFrameScratch Class Reference

#include <TimeFrameScratch.h>

Public Member Functions

 TimeFrameScratch ()=default
 
 ~TimeFrameScratch ()=default
 
 TimeFrameScratch (const TimeFrameScratch &)=delete
 
TimeFrameScratch & operator= (const TimeFrameScratch &)=delete
 
 TimeFrameScratch (TimeFrameScratch &&)=delete
 
TimeFrameScratch & operator= (TimeFrameScratch &&)=delete
 
void configureStorage (std::size_t nEdges, std::size_t nCells)
 Size reusable edge and cell storage; setMemoryPool() comes first.
 
void beginIteration (std::size_t nEdges, std::size_t nCells, gsl::span< const std::size_t > trackletLookupSizes)
 
std::size_t getNEdges () const noexcept
 
std::size_t getNCells () const noexcept
 
void reset ()
 Clear iteration state without changing plan sizes.
 
void clearStorage () noexcept
 Release plan-sized storage while preserving this object's identity.
 
void setMemoryPool (std::shared_ptr< BoundedMemoryResource > pool)
 Reseat allocator-backed containers.
 
auto & getMemoryPool () const noexcept
 
float getEdgePhiCut (int edgeId) const
 
float getEdgeMSAngle (int edgeId) const
 
auto & getEdgePhiCuts ()
 
auto & getEdgeMSAngles ()
 
auto & getTrackletsLabel (int layer)
 
auto & getCellsLabel (int layer)
 
auto & getTracklets ()
 
auto & getTrackletsLookupTable ()
 
auto & getCells ()
 
const auto & getCells () const
 
auto & getCellsLookupTable ()
 
auto & getCellsNeighbours ()
 
auto & getCellsNeighboursTopology ()
 
auto & getCellsNeighboursLUT ()
 
size_t getNumberOfCells () const
 
size_t getNumberOfTracklets () const
 
size_t getNumberOfNeighbours () const
 

Public Attributes

std::vector< bounded_vector< Tracklet > > mTracklets
 
std::vector< bounded_vector< int > > mTrackletsLookupTable
 
std::vector< bounded_vector< o2::MCCompLabel > > mTrackletLabels
 
bounded_vector< float > mEdgePhiCuts
 
bounded_vector< float > mEdgeMSAngles
 
std::vector< bounded_vector< Triplet > > mCells
 
std::vector< bounded_vector< int > > mCellsLookupTable
 
std::vector< bounded_vector< int > > mCellsNeighbours
 
std::vector< bounded_vector< int > > mCellsNeighboursTopology
 
std::vector< bounded_vector< int > > mCellsNeighboursLUT
 
std::vector< bounded_vector< o2::MCCompLabel > > mCellLabels
 

Detailed Description

Detector-neutral CA state rebuilt for each tracking iteration. Operations receive scalar sizes and spans; this type never depends on TimeFrame.

Definition at line 40 of file TimeFrameScratch.h.

Constructor & Destructor Documentation

◆ TimeFrameScratch() [1/3]

o2::itsmft::tracking::TimeFrameScratch::TimeFrameScratch ( )
default

◆ ~TimeFrameScratch()

o2::itsmft::tracking::TimeFrameScratch::~TimeFrameScratch ( )
default

◆ TimeFrameScratch() [2/3]

o2::itsmft::tracking::TimeFrameScratch::TimeFrameScratch ( const TimeFrameScratch &  )
delete

◆ TimeFrameScratch() [3/3]

o2::itsmft::tracking::TimeFrameScratch::TimeFrameScratch ( TimeFrameScratch &&  )
delete

Member Function Documentation

◆ beginIteration()

void o2::itsmft::tracking::TimeFrameScratch::beginIteration ( std::size_t  nEdges,
std::size_t  nCells,
gsl::span< const std::size_t >  trackletLookupSizes 
)

Definition at line 110 of file TimeFrameScratch.cxx.

◆ clearStorage()

void o2::itsmft::tracking::TimeFrameScratch::clearStorage ( )
noexcept

Release plan-sized storage while preserving this object's identity.

Definition at line 62 of file TimeFrameScratch.cxx.

◆ configureStorage()

void o2::itsmft::tracking::TimeFrameScratch::configureStorage ( std::size_t  nEdges,
std::size_t  nCells 
)

Size reusable edge and cell storage; setMemoryPool() comes first.

Definition at line 46 of file TimeFrameScratch.cxx.

◆ getCells() [1/2]

auto & o2::itsmft::tracking::TimeFrameScratch::getCells ( )
inline

Definition at line 80 of file TimeFrameScratch.h.

◆ getCells() [2/2]

const auto & o2::itsmft::tracking::TimeFrameScratch::getCells ( ) const
inline

Definition at line 81 of file TimeFrameScratch.h.

◆ getCellsLabel()

auto & o2::itsmft::tracking::TimeFrameScratch::getCellsLabel ( int  layer)
inline

Definition at line 75 of file TimeFrameScratch.h.

◆ getCellsLookupTable()

auto & o2::itsmft::tracking::TimeFrameScratch::getCellsLookupTable ( )
inline

Definition at line 83 of file TimeFrameScratch.h.

◆ getCellsNeighbours()

auto & o2::itsmft::tracking::TimeFrameScratch::getCellsNeighbours ( )
inline

Definition at line 84 of file TimeFrameScratch.h.

◆ getCellsNeighboursLUT()

auto & o2::itsmft::tracking::TimeFrameScratch::getCellsNeighboursLUT ( )
inline

Definition at line 86 of file TimeFrameScratch.h.

◆ getCellsNeighboursTopology()

auto & o2::itsmft::tracking::TimeFrameScratch::getCellsNeighboursTopology ( )
inline

Definition at line 85 of file TimeFrameScratch.h.

◆ getEdgeMSAngle()

float o2::itsmft::tracking::TimeFrameScratch::getEdgeMSAngle ( int  edgeId) const
inline

Definition at line 71 of file TimeFrameScratch.h.

◆ getEdgeMSAngles()

auto & o2::itsmft::tracking::TimeFrameScratch::getEdgeMSAngles ( )
inline

Definition at line 73 of file TimeFrameScratch.h.

◆ getEdgePhiCut()

float o2::itsmft::tracking::TimeFrameScratch::getEdgePhiCut ( int  edgeId) const
inline

Definition at line 70 of file TimeFrameScratch.h.

◆ getEdgePhiCuts()

auto & o2::itsmft::tracking::TimeFrameScratch::getEdgePhiCuts ( )
inline

Definition at line 72 of file TimeFrameScratch.h.

◆ getMemoryPool()

auto & o2::itsmft::tracking::TimeFrameScratch::getMemoryPool ( ) const
inlinenoexcept

Definition at line 69 of file TimeFrameScratch.h.

◆ getNCells()

std::size_t o2::itsmft::tracking::TimeFrameScratch::getNCells ( ) const
inlinenoexcept

Definition at line 59 of file TimeFrameScratch.h.

◆ getNEdges()

std::size_t o2::itsmft::tracking::TimeFrameScratch::getNEdges ( ) const
inlinenoexcept

Definition at line 58 of file TimeFrameScratch.h.

◆ getNumberOfCells()

std::size_t o2::itsmft::tracking::TimeFrameScratch::getNumberOfCells ( ) const

Definition at line 83 of file TimeFrameScratch.cxx.

◆ getNumberOfNeighbours()

std::size_t o2::itsmft::tracking::TimeFrameScratch::getNumberOfNeighbours ( ) const

Definition at line 101 of file TimeFrameScratch.cxx.

◆ getNumberOfTracklets()

std::size_t o2::itsmft::tracking::TimeFrameScratch::getNumberOfTracklets ( ) const

Definition at line 92 of file TimeFrameScratch.cxx.

◆ getTracklets()

auto & o2::itsmft::tracking::TimeFrameScratch::getTracklets ( )
inline

Definition at line 77 of file TimeFrameScratch.h.

◆ getTrackletsLabel()

auto & o2::itsmft::tracking::TimeFrameScratch::getTrackletsLabel ( int  layer)
inline

Definition at line 74 of file TimeFrameScratch.h.

◆ getTrackletsLookupTable()

auto & o2::itsmft::tracking::TimeFrameScratch::getTrackletsLookupTable ( )
inline

Definition at line 78 of file TimeFrameScratch.h.

◆ operator=() [1/2]

TimeFrameScratch & o2::itsmft::tracking::TimeFrameScratch::operator= ( const TimeFrameScratch &  )
delete

◆ operator=() [2/2]

TimeFrameScratch & o2::itsmft::tracking::TimeFrameScratch::operator= ( TimeFrameScratch &&  )
delete

◆ reset()

void o2::itsmft::tracking::TimeFrameScratch::reset ( )

Clear iteration state without changing plan sizes.

Definition at line 54 of file TimeFrameScratch.cxx.

◆ setMemoryPool()

void o2::itsmft::tracking::TimeFrameScratch::setMemoryPool ( std::shared_ptr< BoundedMemoryResource >  pool)

Reseat allocator-backed containers.

Definition at line 74 of file TimeFrameScratch.cxx.

Member Data Documentation

◆ mCellLabels

std::vector<bounded_vector<o2::MCCompLabel> > o2::itsmft::tracking::TimeFrameScratch::mCellLabels

Definition at line 102 of file TimeFrameScratch.h.

◆ mCells

std::vector<bounded_vector<Triplet> > o2::itsmft::tracking::TimeFrameScratch::mCells

Definition at line 97 of file TimeFrameScratch.h.

◆ mCellsLookupTable

std::vector<bounded_vector<int> > o2::itsmft::tracking::TimeFrameScratch::mCellsLookupTable

Definition at line 98 of file TimeFrameScratch.h.

◆ mCellsNeighbours

std::vector<bounded_vector<int> > o2::itsmft::tracking::TimeFrameScratch::mCellsNeighbours

Definition at line 99 of file TimeFrameScratch.h.

◆ mCellsNeighboursLUT

std::vector<bounded_vector<int> > o2::itsmft::tracking::TimeFrameScratch::mCellsNeighboursLUT

Definition at line 101 of file TimeFrameScratch.h.

◆ mCellsNeighboursTopology

std::vector<bounded_vector<int> > o2::itsmft::tracking::TimeFrameScratch::mCellsNeighboursTopology

Definition at line 100 of file TimeFrameScratch.h.

◆ mEdgeMSAngles

bounded_vector<float> o2::itsmft::tracking::TimeFrameScratch::mEdgeMSAngles

Definition at line 96 of file TimeFrameScratch.h.

◆ mEdgePhiCuts

bounded_vector<float> o2::itsmft::tracking::TimeFrameScratch::mEdgePhiCuts

Definition at line 95 of file TimeFrameScratch.h.

◆ mTrackletLabels

std::vector<bounded_vector<o2::MCCompLabel> > o2::itsmft::tracking::TimeFrameScratch::mTrackletLabels

Definition at line 94 of file TimeFrameScratch.h.

◆ mTracklets

std::vector<bounded_vector<Tracklet> > o2::itsmft::tracking::TimeFrameScratch::mTracklets

Definition at line 92 of file TimeFrameScratch.h.

◆ mTrackletsLookupTable

std::vector<bounded_vector<int> > o2::itsmft::tracking::TimeFrameScratch::mTrackletsLookupTable

Definition at line 93 of file TimeFrameScratch.h.


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