Project
Loading...
Searching...
No Matches
o2::its::ROframe Class Referencefinal

#include <ROframe.h>

Public Member Functions

 ROframe (int ROframeId, int nLayers)
 
int getROFrameId () const
 
const float3getPrimaryVertex (const int) const
 
int getPrimaryVerticesNum () const
 
void addPrimaryVertex (const float, const float, const float)
 
void addPrimaryVertices (std::vector< Vertex > vertices)
 
void addPrimaryReconstructedVertex (const float, const float, const float)
 
void printPrimaryVertices () const
 
int getTotalClusters () const
 
bool empty () const
 
const auto & getClusters () const
 
const std::vector< Cluster > & getClustersOnLayer (int layerId) const
 
const std::vector< TrackingFrameInfo > & getTrackingFrameInfoOnLayer (int layerId) const
 
const auto & getTrackingFrameInfo () const
 
const TrackingFrameInfo & getClusterTrackingFrameInfo (int layerId, const Cluster &cl) const
 
const MCCompLabelgetClusterFirstLabel (int layerId, const Cluster &cl) const
 
const MCCompLabelgetClusterFirstLabel (int layerId, const int clId) const
 
const gsl::span< const o2::MCCompLabelgetClusterLabels (int layerId, const int clId) const
 
const gsl::span< const o2::MCCompLabelgetClusterLabels (int layerId, const Cluster &cl) const
 
int getClusterExternalIndex (int layerId, const int clId) const
 
std::vector< intgetTracksId (const int layerId, const std::vector< Cluster > &cl)
 
template<typename... T>
void addClusterToLayer (int layer, T &&... args)
 
template<typename... T>
void addTrackingFrameInfoToLayer (int layer, T &&... args)
 
void setMClabelsContainer (const dataformats::MCTruthContainer< MCCompLabel > *ptr)
 
void addClusterExternalIndexToLayer (int layer, const int idx)
 
bool hasMCinformation () const
 
void clear ()
 

Detailed Description

Definition at line 39 of file ROframe.h.

Constructor & Destructor Documentation

◆ ROframe()

o2::its::ROframe::ROframe ( int  ROframeId,
int  nLayers 
)

Definition at line 25 of file ROframe.cxx.

Member Function Documentation

◆ addClusterExternalIndexToLayer()

void o2::its::ROframe::addClusterExternalIndexToLayer ( int  layer,
const int  idx 
)
inline

Definition at line 159 of file ROframe.h.

◆ addClusterToLayer()

template<typename... T>
void o2::its::ROframe::addClusterToLayer ( int  layer,
T &&...  args 
)

Definition at line 143 of file ROframe.h.

◆ addPrimaryReconstructedVertex()

void o2::its::ROframe::addPrimaryReconstructedVertex ( const float  ,
const float  ,
const float   
)

◆ addPrimaryVertex()

void o2::its::ROframe::addPrimaryVertex ( const float  xCoordinate,
const float  yCoordinate,
const float  zCoordinate 
)

Definition at line 33 of file ROframe.cxx.

◆ addPrimaryVertices()

void o2::its::ROframe::addPrimaryVertices ( std::vector< Vertex vertices)

Definition at line 38 of file ROframe.cxx.

◆ addTrackingFrameInfoToLayer()

template<typename... T>
void o2::its::ROframe::addTrackingFrameInfoToLayer ( int  layer,
T &&...  args 
)

Definition at line 149 of file ROframe.h.

◆ clear()

void o2::its::ROframe::clear ( )
inline

Definition at line 164 of file ROframe.h.

◆ empty()

bool o2::its::ROframe::empty ( ) const
inline

Definition at line 91 of file ROframe.h.

◆ getClusterExternalIndex()

int o2::its::ROframe::getClusterExternalIndex ( int  layerId,
const int  clId 
) const
inline

Definition at line 128 of file ROframe.h.

◆ getClusterFirstLabel() [1/2]

const MCCompLabel & o2::its::ROframe::getClusterFirstLabel ( int  layerId,
const Cluster cl 
) const
inline

Definition at line 108 of file ROframe.h.

◆ getClusterFirstLabel() [2/2]

const MCCompLabel & o2::its::ROframe::getClusterFirstLabel ( int  layerId,
const int  clId 
) const
inline

Definition at line 113 of file ROframe.h.

◆ getClusterLabels() [1/2]

const gsl::span< const o2::MCCompLabel > o2::its::ROframe::getClusterLabels ( int  layerId,
const Cluster cl 
) const
inline

Definition at line 123 of file ROframe.h.

◆ getClusterLabels() [2/2]

const gsl::span< const o2::MCCompLabel > o2::its::ROframe::getClusterLabels ( int  layerId,
const int  clId 
) const
inline

Definition at line 118 of file ROframe.h.

◆ getClusters()

const auto & o2::its::ROframe::getClusters ( ) const
inline

Definition at line 53 of file ROframe.h.

◆ getClustersOnLayer()

const std::vector< Cluster > & o2::its::ROframe::getClustersOnLayer ( int  layerId) const
inline

Definition at line 93 of file ROframe.h.

◆ getClusterTrackingFrameInfo()

const TrackingFrameInfo & o2::its::ROframe::getClusterTrackingFrameInfo ( int  layerId,
const Cluster cl 
) const
inline

Definition at line 103 of file ROframe.h.

◆ getPrimaryVertex()

const float3 & o2::its::ROframe::getPrimaryVertex ( const int  vertexIndex) const
inline

Definition at line 87 of file ROframe.h.

◆ getPrimaryVerticesNum()

int o2::its::ROframe::getPrimaryVerticesNum ( ) const
inline

Definition at line 89 of file ROframe.h.

◆ getROFrameId()

int o2::its::ROframe::getROFrameId ( ) const
inline

Definition at line 85 of file ROframe.h.

◆ getTotalClusters()

int o2::its::ROframe::getTotalClusters ( ) const

Definition at line 56 of file ROframe.cxx.

◆ getTrackingFrameInfo()

const auto & o2::its::ROframe::getTrackingFrameInfo ( ) const
inline

Definition at line 56 of file ROframe.h.

◆ getTrackingFrameInfoOnLayer()

const std::vector< TrackingFrameInfo > & o2::its::ROframe::getTrackingFrameInfoOnLayer ( int  layerId) const
inline

Definition at line 98 of file ROframe.h.

◆ getTracksId()

std::vector< int > o2::its::ROframe::getTracksId ( const int  layerId,
const std::vector< Cluster > &  cl 
)
inline

Definition at line 133 of file ROframe.h.

◆ hasMCinformation()

bool o2::its::ROframe::hasMCinformation ( ) const
inline

Definition at line 176 of file ROframe.h.

◆ printPrimaryVertices()

void o2::its::ROframe::printPrimaryVertices ( ) const

Definition at line 45 of file ROframe.cxx.

◆ setMClabelsContainer()

void o2::its::ROframe::setMClabelsContainer ( const dataformats::MCTruthContainer< MCCompLabel > *  ptr)
inline

Definition at line 154 of file ROframe.h.


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