Project
Loading...
Searching...
No Matches
o2::itsmft::tracking::TimeFrame Struct Reference

#include <TimeFrame.h>

Public Member Functions

 TimeFrame ()=default
 
 TimeFrame (const TimeFrame &)=delete
 
TimeFrame & operator= (const TimeFrame &)=delete
 
virtual ~TimeFrame ()=default
 
const Vertex & getPrimaryVertex (const int ivtx) const
 
auto & getPrimaryVertices ()
 
auto getPrimaryVerticesNum ()
 
const auto & getPrimaryVertices () const
 
auto & getPrimaryVerticesLabels ()
 
void addPrimaryVertex (const Vertex &vertex)
 
void addPrimaryVertexLabel (const VertexLabel &label)
 
void resetBeamXY (const float x, const float y, const float w=0)
 
void setBeamPosition (const float x, const float y, const float s2, const float base=50.f, const float systematic=0.f)
 
float getBeamX () const
 
float getBeamY () const
 
float getBeamPositionVariance () const
 
std::array< float, 2 > & getBeamXY ()
 
void setBz (float bz)
 
float getBz () const
 
gsl::span< const GlobalMeasurement > getGlobalMeasurements (LayerId surface) const
 
gsl::span< GlobalMeasurement > getGlobalMeasurements (LayerId surface)
 
void addMeasurement (LayerId surface, GlobalMeasurement global, const SurfaceMeasurement &measurement)
 
void addMeasurement (LayerId surface, GlobalMeasurement global, const SurfaceMeasurement &measurement, gsl::span< const o2::MCCompLabel > labels)
 
void setHasMCInformation (bool value) noexcept
 
const SurfaceMeasurement * getSurfaceMeasurement (LayerId layer, uint32_t clusterId) const noexcept
 
gsl::span< const o2::MCCompLabel > getLabels (LayerId layer, uint32_t clusterId) const
 
uint32_t getNMeasurementSurfaces () const noexcept
 
std::size_t getTotalMeasurements () const noexcept
 
int getTotalClusters () const
 
bool empty () const
 
int getSortedIndex (int rofId, int layer, int idx) const
 
int getSortedStartIndex (int rofId, int layer) const
 
int getNrof (int layer) const
 
gsl::span< GlobalMeasurement > getClustersOnLayer (int rofId, int layer)
 
gsl::span< const GlobalMeasurement > getClustersOnLayer (int rofId, int layer) const
 
auto & getClusters () noexcept
 
const auto & getClusters () const noexcept
 
gsl::span< const GlobalMeasurement > getClustersPerROFrange (int rofMin, int range, int layer) const
 
gsl::span< const int > getROFramesClustersPerROFrange (int rofMin, int range, int layer) const
 
gsl::span< const int > getROFrameClusters (int layer) const
 
gsl::span< int > getIndexTable (int rofId, int layer)
 
int getClusterROF (int layer, int cluster) const
 
int getTotalClustersPerROFrange (int rofMin, int range, int layer) const
 
bool isClusterUsed (int layer, uint32_t clusterId) const
 
void markUsedCluster (int layer, uint32_t clusterId)
 
gsl::span< unsigned char > getUsedClusters (int layer)
 
std::size_t getNumberOfClusters () const
 
std::size_t getNumberOfUsedClusters () const
 
float getMinR (int layer) const
 
float getMaxR (int layer) const
 
float getMinZ (int layer) const
 
float getMaxZ (int layer) const
 
const auto & getIndexTableUtils () const
 
const auto & getIndexTableUtils (int layer) const
 
void setROFViews (RuntimeROFViews views) noexcept
 
void setROFViews (std::size_t position, RuntimeROFViews views, uint16_t localLayer)
 
void setROFClusters (std::size_t position, gsl::span< const int > boundaries)
 
const RuntimeROFViews & getROFViews () const noexcept
 
const RuntimeROFViews & getROFViews (int layer) const noexcept
 
int getROFLocalLayer (int layer) const noexcept
 
const ROFTimingLayer & getROFTiming (int layer) const noexcept
 
const RuntimeROFTableEntry & getROFOverlap (int fromLayer, int toLayer, int rof) const noexcept
 
bool isROFEnabled (int layer, int rof) const noexcept
 
bool isVertexCompatible (int layer, int rof, const Vertex &vertex) const noexcept
 
o2::its::TimeEstBC getROFTimeStamp (int fromLayer, int fromROF, int toLayer, int toROF) const noexcept
 
int getMaxVerticesPerROF () const noexcept
 
const RuntimeROFOverlapView & getROFOverlapView () const noexcept
 
const RuntimeROFVertexLookupView & getROFVertexLookupView () const noexcept
 
const RuntimeROFMaskView & getROFMaskView () const noexcept
 
void useUPCMask () noexcept
 
gsl::span< const Vertex > getPrimaryVertices (int layer, int rofId) const
 
bool hasMCinformation () const noexcept
 
gsl::span< const MCCompLabel > getClusterLabels (int layer, int cluster) const
 
void resetTimeFrame () noexcept
 
TimeFrameScratch & getScratch ()
 
const TimeFrameScratch & getScratch () const
 
CapacityEstimator & getCapacityEstimator () noexcept
 
const CapacityEstimator & getCapacityEstimator () const noexcept
 
bool configure (DetectorConfiguration &&layout, std::size_t maxEdges, std::size_t maxCells, std::shared_ptr< BoundedMemoryResource > memoryPool)
 
bool isConfigured () const noexcept
 
const DetectorConfiguration & getDetectorConfiguration () const noexcept
 
auto & getGenericTracks ()
 
const auto & getGenericTracks () const
 
auto & getTrackLabels ()
 
const auto & getTrackLabels () const
 
auto & getTrackClusterIndices ()
 
const auto & getTrackClusterIndices () const
 
void setMemoryPool (std::shared_ptr< BoundedMemoryResource > pool)
 memory management
 
auto & getMemoryPool () const noexcept
 

Friends

class Tracker
 

Detailed Description

Definition at line 50 of file TimeFrame.h.

Constructor & Destructor Documentation

◆ TimeFrame() [1/2]

o2::itsmft::tracking::TimeFrame::TimeFrame ( )
default

◆ TimeFrame() [2/2]

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

◆ ~TimeFrame()

virtual o2::itsmft::tracking::TimeFrame::~TimeFrame ( )
virtualdefault

Member Function Documentation

◆ addMeasurement() [1/2]

void o2::itsmft::tracking::TimeFrame::addMeasurement ( LayerId  surface,
GlobalMeasurement  global,
const SurfaceMeasurement &  measurement 
)

Definition at line 56 of file TimeFrame.cxx.

◆ addMeasurement() [2/2]

void o2::itsmft::tracking::TimeFrame::addMeasurement ( LayerId  surface,
GlobalMeasurement  global,
const SurfaceMeasurement &  measurement,
gsl::span< const o2::MCCompLabel >  labels 
)

Definition at line 70 of file TimeFrame.cxx.

◆ addPrimaryVertex()

void o2::itsmft::tracking::TimeFrame::addPrimaryVertex ( const Vertex &  vertex)

Definition at line 28 of file TimeFrame.cxx.

◆ addPrimaryVertexLabel()

void o2::itsmft::tracking::TimeFrame::addPrimaryVertexLabel ( const VertexLabel &  label)
inline

Definition at line 62 of file TimeFrame.h.

◆ configure()

bool o2::itsmft::tracking::TimeFrame::configure ( DetectorConfiguration &&  layout,
std::size_t  maxEdges,
std::size_t  maxCells,
std::shared_ptr< BoundedMemoryResource >  memoryPool 
)

Definition at line 290 of file TimeFrame.cxx.

◆ empty()

bool o2::itsmft::tracking::TimeFrame::empty ( ) const
inline

Definition at line 94 of file TimeFrame.h.

◆ getBeamPositionVariance()

float o2::itsmft::tracking::TimeFrame::getBeamPositionVariance ( ) const
inline

Definition at line 74 of file TimeFrame.h.

◆ getBeamX()

float o2::itsmft::tracking::TimeFrame::getBeamX ( ) const
inline

Definition at line 72 of file TimeFrame.h.

◆ getBeamXY()

std::array< float, 2 > & o2::itsmft::tracking::TimeFrame::getBeamXY ( )
inline

Definition at line 75 of file TimeFrame.h.

◆ getBeamY()

float o2::itsmft::tracking::TimeFrame::getBeamY ( ) const
inline

Definition at line 73 of file TimeFrame.h.

◆ getBz()

float o2::itsmft::tracking::TimeFrame::getBz ( ) const
inline

Definition at line 78 of file TimeFrame.h.

◆ getCapacityEstimator() [1/2]

const CapacityEstimator & o2::itsmft::tracking::TimeFrame::getCapacityEstimator ( ) const
inlinenoexcept

Definition at line 152 of file TimeFrame.h.

◆ getCapacityEstimator() [2/2]

CapacityEstimator & o2::itsmft::tracking::TimeFrame::getCapacityEstimator ( )
inlinenoexcept

Definition at line 151 of file TimeFrame.h.

◆ getClusterLabels()

gsl::span< const MCCompLabel > o2::itsmft::tracking::TimeFrame::getClusterLabels ( int  layer,
int  cluster 
) const

Definition at line 282 of file TimeFrame.cxx.

◆ getClusterROF()

int o2::itsmft::tracking::TimeFrame::getClusterROF ( int  layer,
int  cluster 
) const

Definition at line 155 of file TimeFrame.cxx.

◆ getClusters() [1/2]

const auto & o2::itsmft::tracking::TimeFrame::getClusters ( ) const
inlinenoexcept

Definition at line 104 of file TimeFrame.h.

◆ getClusters() [2/2]

auto & o2::itsmft::tracking::TimeFrame::getClusters ( )
inlinenoexcept

Definition at line 103 of file TimeFrame.h.

◆ getClustersOnLayer() [1/2]

gsl::span< GlobalMeasurement > o2::itsmft::tracking::TimeFrame::getClustersOnLayer ( int  rofId,
int  layer 
)

Definition at line 105 of file TimeFrame.cxx.

◆ getClustersOnLayer() [2/2]

gsl::span< const GlobalMeasurement > o2::itsmft::tracking::TimeFrame::getClustersOnLayer ( int  rofId,
int  layer 
) const

Definition at line 115 of file TimeFrame.cxx.

◆ getClustersPerROFrange()

gsl::span< const GlobalMeasurement > o2::itsmft::tracking::TimeFrame::getClustersPerROFrange ( int  rofMin,
int  range,
int  layer 
) const

Definition at line 125 of file TimeFrame.cxx.

◆ getDetectorConfiguration()

const DetectorConfiguration & o2::itsmft::tracking::TimeFrame::getDetectorConfiguration ( ) const
inlinenoexcept

Definition at line 157 of file TimeFrame.h.

◆ getGenericTracks() [1/2]

auto & o2::itsmft::tracking::TimeFrame::getGenericTracks ( )
inline

Definition at line 160 of file TimeFrame.h.

◆ getGenericTracks() [2/2]

const auto & o2::itsmft::tracking::TimeFrame::getGenericTracks ( ) const
inline

Definition at line 161 of file TimeFrame.h.

◆ getGlobalMeasurements() [1/2]

gsl::span< GlobalMeasurement > o2::itsmft::tracking::TimeFrame::getGlobalMeasurements ( LayerId  surface)

Definition at line 51 of file TimeFrame.cxx.

◆ getGlobalMeasurements() [2/2]

gsl::span< const GlobalMeasurement > o2::itsmft::tracking::TimeFrame::getGlobalMeasurements ( LayerId  surface) const

Definition at line 46 of file TimeFrame.cxx.

◆ getIndexTable()

gsl::span< int > o2::itsmft::tracking::TimeFrame::getIndexTable ( int  rofId,
int  layer 
)

Definition at line 146 of file TimeFrame.cxx.

◆ getIndexTableUtils() [1/2]

const auto & o2::itsmft::tracking::TimeFrame::getIndexTableUtils ( ) const
inline

Definition at line 122 of file TimeFrame.h.

◆ getIndexTableUtils() [2/2]

const auto & o2::itsmft::tracking::TimeFrame::getIndexTableUtils ( int  layer) const
inline

Definition at line 123 of file TimeFrame.h.

◆ getLabels()

gsl::span< const o2::MCCompLabel > o2::itsmft::tracking::TimeFrame::getLabels ( LayerId  layer,
uint32_t  clusterId 
) const

Definition at line 88 of file TimeFrame.cxx.

◆ getMaxR()

float o2::itsmft::tracking::TimeFrame::getMaxR ( int  layer) const
inline

Definition at line 119 of file TimeFrame.h.

◆ getMaxVerticesPerROF()

int o2::itsmft::tracking::TimeFrame::getMaxVerticesPerROF ( ) const
noexcept

Definition at line 246 of file TimeFrame.cxx.

◆ getMaxZ()

float o2::itsmft::tracking::TimeFrame::getMaxZ ( int  layer) const
inline

Definition at line 121 of file TimeFrame.h.

◆ getMemoryPool()

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

Definition at line 171 of file TimeFrame.h.

◆ getMinR()

float o2::itsmft::tracking::TimeFrame::getMinR ( int  layer) const
inline

Definition at line 118 of file TimeFrame.h.

◆ getMinZ()

float o2::itsmft::tracking::TimeFrame::getMinZ ( int  layer) const
inline

Definition at line 120 of file TimeFrame.h.

◆ getNMeasurementSurfaces()

uint32_t o2::itsmft::tracking::TimeFrame::getNMeasurementSurfaces ( ) const
inlinenoexcept

Definition at line 90 of file TimeFrame.h.

◆ getNrof()

int o2::itsmft::tracking::TimeFrame::getNrof ( int  layer) const
inline

Definition at line 97 of file TimeFrame.h.

◆ getNumberOfClusters()

std::size_t o2::itsmft::tracking::TimeFrame::getNumberOfClusters ( ) const

Definition at line 184 of file TimeFrame.cxx.

◆ getNumberOfUsedClusters()

std::size_t o2::itsmft::tracking::TimeFrame::getNumberOfUsedClusters ( ) const

Definition at line 190 of file TimeFrame.cxx.

◆ getPrimaryVertex()

const Vertex & o2::itsmft::tracking::TimeFrame::getPrimaryVertex ( const int  ivtx) const
inline

Definition at line 56 of file TimeFrame.h.

◆ getPrimaryVertices() [1/3]

auto & o2::itsmft::tracking::TimeFrame::getPrimaryVertices ( )
inline

Definition at line 57 of file TimeFrame.h.

◆ getPrimaryVertices() [2/3]

const auto & o2::itsmft::tracking::TimeFrame::getPrimaryVertices ( ) const
inline

Definition at line 59 of file TimeFrame.h.

◆ getPrimaryVertices() [3/3]

gsl::span< const Vertex > o2::itsmft::tracking::TimeFrame::getPrimaryVertices ( int  layer,
int  rofId 
) const

Definition at line 267 of file TimeFrame.cxx.

◆ getPrimaryVerticesLabels()

auto & o2::itsmft::tracking::TimeFrame::getPrimaryVerticesLabels ( )
inline

Definition at line 60 of file TimeFrame.h.

◆ getPrimaryVerticesNum()

auto o2::itsmft::tracking::TimeFrame::getPrimaryVerticesNum ( )
inline

Definition at line 58 of file TimeFrame.h.

◆ getROFLocalLayer()

int o2::itsmft::tracking::TimeFrame::getROFLocalLayer ( int  layer) const
inlinenoexcept

Definition at line 130 of file TimeFrame.h.

◆ getROFMaskView()

const RuntimeROFMaskView & o2::itsmft::tracking::TimeFrame::getROFMaskView ( ) const
inlinenoexcept

Definition at line 139 of file TimeFrame.h.

◆ getROFOverlap()

const RuntimeROFTableEntry & o2::itsmft::tracking::TimeFrame::getROFOverlap ( int  fromLayer,
int  toLayer,
int  rof 
) const
noexcept

Definition at line 224 of file TimeFrame.cxx.

◆ getROFOverlapView()

const RuntimeROFOverlapView & o2::itsmft::tracking::TimeFrame::getROFOverlapView ( ) const
inlinenoexcept

Definition at line 137 of file TimeFrame.h.

◆ getROFrameClusters()

gsl::span< const int > o2::itsmft::tracking::TimeFrame::getROFrameClusters ( int  layer) const

Definition at line 141 of file TimeFrame.cxx.

◆ getROFramesClustersPerROFrange()

gsl::span< const int > o2::itsmft::tracking::TimeFrame::getROFramesClustersPerROFrange ( int  rofMin,
int  range,
int  layer 
) const

Definition at line 135 of file TimeFrame.cxx.

◆ getROFTimeStamp()

o2::its::TimeEstBC o2::itsmft::tracking::TimeFrame::getROFTimeStamp ( int  fromLayer,
int  fromROF,
int  toLayer,
int  toROF 
) const
noexcept

Definition at line 240 of file TimeFrame.cxx.

◆ getROFTiming()

const ROFTimingLayer & o2::itsmft::tracking::TimeFrame::getROFTiming ( int  layer) const
inlinenoexcept

Definition at line 131 of file TimeFrame.h.

◆ getROFVertexLookupView()

const RuntimeROFVertexLookupView & o2::itsmft::tracking::TimeFrame::getROFVertexLookupView ( ) const
inlinenoexcept

Definition at line 138 of file TimeFrame.h.

◆ getROFViews() [1/2]

const RuntimeROFViews & o2::itsmft::tracking::TimeFrame::getROFViews ( ) const
inlinenoexcept

Definition at line 128 of file TimeFrame.h.

◆ getROFViews() [2/2]

const RuntimeROFViews & o2::itsmft::tracking::TimeFrame::getROFViews ( int  layer) const
inlinenoexcept

Definition at line 129 of file TimeFrame.h.

◆ getScratch() [1/2]

TimeFrameScratch & o2::itsmft::tracking::TimeFrame::getScratch ( )

Definition at line 339 of file TimeFrame.cxx.

◆ getScratch() [2/2]

const TimeFrameScratch & o2::itsmft::tracking::TimeFrame::getScratch ( ) const

Definition at line 344 of file TimeFrame.cxx.

◆ getSortedIndex()

int o2::itsmft::tracking::TimeFrame::getSortedIndex ( int  rofId,
int  layer,
int  idx 
) const
inline

Definition at line 95 of file TimeFrame.h.

◆ getSortedStartIndex()

int o2::itsmft::tracking::TimeFrame::getSortedStartIndex ( int  rofId,
int  layer 
) const
inline

Definition at line 96 of file TimeFrame.h.

◆ getSurfaceMeasurement()

const SurfaceMeasurement * o2::itsmft::tracking::TimeFrame::getSurfaceMeasurement ( LayerId  layer,
uint32_t  clusterId 
) const
noexcept

Definition at line 79 of file TimeFrame.cxx.

◆ getTotalClusters()

int o2::itsmft::tracking::TimeFrame::getTotalClusters ( ) const
inline

Definition at line 93 of file TimeFrame.h.

◆ getTotalClustersPerROFrange()

int o2::itsmft::tracking::TimeFrame::getTotalClustersPerROFrange ( int  rofMin,
int  range,
int  layer 
) const

Definition at line 161 of file TimeFrame.cxx.

◆ getTotalMeasurements()

std::size_t o2::itsmft::tracking::TimeFrame::getTotalMeasurements ( ) const
noexcept

Definition at line 96 of file TimeFrame.cxx.

◆ getTrackClusterIndices() [1/2]

auto & o2::itsmft::tracking::TimeFrame::getTrackClusterIndices ( )
inline

Definition at line 166 of file TimeFrame.h.

◆ getTrackClusterIndices() [2/2]

const auto & o2::itsmft::tracking::TimeFrame::getTrackClusterIndices ( ) const
inline

Definition at line 167 of file TimeFrame.h.

◆ getTrackLabels() [1/2]

auto & o2::itsmft::tracking::TimeFrame::getTrackLabels ( )
inline

Definition at line 162 of file TimeFrame.h.

◆ getTrackLabels() [2/2]

const auto & o2::itsmft::tracking::TimeFrame::getTrackLabels ( ) const
inline

Definition at line 163 of file TimeFrame.h.

◆ getUsedClusters()

gsl::span< unsigned char > o2::itsmft::tracking::TimeFrame::getUsedClusters ( int  layer)

Definition at line 167 of file TimeFrame.cxx.

◆ hasMCinformation()

bool o2::itsmft::tracking::TimeFrame::hasMCinformation ( ) const
noexcept

Definition at line 277 of file TimeFrame.cxx.

◆ isClusterUsed()

bool o2::itsmft::tracking::TimeFrame::isClusterUsed ( int  layer,
uint32_t  clusterId 
) const

Definition at line 172 of file TimeFrame.cxx.

◆ isConfigured()

bool o2::itsmft::tracking::TimeFrame::isConfigured ( ) const
inlinenoexcept

Definition at line 156 of file TimeFrame.h.

◆ isROFEnabled()

bool o2::itsmft::tracking::TimeFrame::isROFEnabled ( int  layer,
int  rof 
) const
noexcept

Definition at line 229 of file TimeFrame.cxx.

◆ isVertexCompatible()

bool o2::itsmft::tracking::TimeFrame::isVertexCompatible ( int  layer,
int  rof,
const Vertex &  vertex 
) const
noexcept

Definition at line 235 of file TimeFrame.cxx.

◆ markUsedCluster()

void o2::itsmft::tracking::TimeFrame::markUsedCluster ( int  layer,
uint32_t  clusterId 
)

Definition at line 177 of file TimeFrame.cxx.

◆ operator=()

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

◆ resetBeamXY()

void o2::itsmft::tracking::TimeFrame::resetBeamXY ( const float  x,
const float  y,
const float  w = 0 
)

Definition at line 39 of file TimeFrame.cxx.

◆ resetTimeFrame()

void o2::itsmft::tracking::TimeFrame::resetTimeFrame ( )
noexcept

Definition at line 349 of file TimeFrame.cxx.

◆ setBeamPosition()

void o2::itsmft::tracking::TimeFrame::setBeamPosition ( const float  x,
const float  y,
const float  s2,
const float  base = 50.f,
const float  systematic = 0.f 
)
inline

Definition at line 65 of file TimeFrame.h.

◆ setBz()

void o2::itsmft::tracking::TimeFrame::setBz ( float  bz)
inline

Definition at line 77 of file TimeFrame.h.

◆ setHasMCInformation()

void o2::itsmft::tracking::TimeFrame::setHasMCInformation ( bool  value)
inlinenoexcept

Definition at line 87 of file TimeFrame.h.

◆ setMemoryPool()

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

memory management

Definition at line 386 of file TimeFrame.cxx.

◆ setROFClusters()

void o2::itsmft::tracking::TimeFrame::setROFClusters ( std::size_t  position,
gsl::span< const int >  boundaries 
)

Definition at line 206 of file TimeFrame.cxx.

◆ setROFViews() [1/2]

void o2::itsmft::tracking::TimeFrame::setROFViews ( RuntimeROFViews  views)
noexcept

Definition at line 197 of file TimeFrame.cxx.

◆ setROFViews() [2/2]

void o2::itsmft::tracking::TimeFrame::setROFViews ( std::size_t  position,
RuntimeROFViews  views,
uint16_t  localLayer 
)

Definition at line 214 of file TimeFrame.cxx.

◆ useUPCMask()

void o2::itsmft::tracking::TimeFrame::useUPCMask ( )
inlinenoexcept

Definition at line 140 of file TimeFrame.h.

Friends And Related Symbol Documentation

◆ Tracker

friend class Tracker
friend

Definition at line 217 of file TimeFrame.h.


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