Project
Loading...
Searching...
No Matches
o2::trk::Clusterer< DetID > Class Template Reference

#include <Clusterer.h>

Classes

struct  BBox
 
struct  ClustererThread
 

Public Types

using Digit = o2::trkft3::Digit
 
using DigROFRecord = o2::trkft3::ROFRecord
 
using ClusterType = o2::trkft3::Cluster< DetID >
 
using ClusterTruth = o2::dataformats::MCTruthContainer< o2::MCCompLabel >
 
using ConstDigitTruth = o2::dataformats::ConstMCTruthContainerView< o2::MCCompLabel >
 
using Label = o2::MCCompLabel
 

Public Member Functions

virtual void process (gsl::span< const Digit > digits, gsl::span< const DigROFRecord > digitROFs, std::vector< ClusterType > &clusters, std::vector< unsigned char > &patterns, std::vector< o2::trkft3::ROFRecord > &clusterROFs, const ConstDigitTruth *digitLabels=nullptr, ClusterTruth *clusterLabels=nullptr)
 

Static Public Member Functions

static o2::math_utils::Point3D< float > getClusterLocalCoordinates (const ClusterType &cluster, const uint8_t *patt, float yPlaneMLOT=0.f) noexcept
 

Static Public Attributes

static constexpr int MaxLabels = 10
 
static constexpr int MaxHugeClusWarn = 5
 

Protected Attributes

int mNHugeClus = 0
 
std::unique_ptr< ClustererThreadmThread
 
std::vector< intmSortIdx
 reusable per-ROF sort buffer
 

Detailed Description

template<int DetID>
class o2::trk::Clusterer< DetID >

Definition at line 45 of file Clusterer.h.

Member Typedef Documentation

◆ ClusterTruth

Definition at line 56 of file Clusterer.h.

◆ ClusterType

template<int DetID>
using o2::trk::Clusterer< DetID >::ClusterType = o2::trkft3::Cluster<DetID>

Definition at line 55 of file Clusterer.h.

◆ ConstDigitTruth

Definition at line 57 of file Clusterer.h.

◆ Digit

template<int DetID>
using o2::trk::Clusterer< DetID >::Digit = o2::trkft3::Digit

Definition at line 53 of file Clusterer.h.

◆ DigROFRecord

template<int DetID>
using o2::trk::Clusterer< DetID >::DigROFRecord = o2::trkft3::ROFRecord

Definition at line 54 of file Clusterer.h.

◆ Label

template<int DetID>
using o2::trk::Clusterer< DetID >::Label = o2::MCCompLabel

Definition at line 58 of file Clusterer.h.

Member Function Documentation

◆ getClusterLocalCoordinates()

template<int DetID>
o2::math_utils::Point3D< float > o2::trk::Clusterer< DetID >::getClusterLocalCoordinates ( const ClusterType cluster,
const uint8_t *  patt,
float  yPlaneMLOT = 0.f 
)
staticnoexcept

Definition at line 27 of file Clusterer.cxx.

◆ process()

template<int DetID>
void o2::trk::Clusterer< DetID >::process ( gsl::span< const Digit digits,
gsl::span< const DigROFRecord digitROFs,
std::vector< ClusterType > &  clusters,
std::vector< unsigned char > &  patterns,
std::vector< o2::trkft3::ROFRecord > &  clusterROFs,
const ConstDigitTruth digitLabels = nullptr,
ClusterTruth clusterLabels = nullptr 
)
virtual

Definition at line 73 of file Clusterer.cxx.

Member Data Documentation

◆ MaxHugeClusWarn

template<int DetID>
constexpr int o2::trk::Clusterer< DetID >::MaxHugeClusWarn = 5
staticconstexpr

Definition at line 51 of file Clusterer.h.

◆ MaxLabels

template<int DetID>
constexpr int o2::trk::Clusterer< DetID >::MaxLabels = 10
staticconstexpr

Definition at line 50 of file Clusterer.h.

◆ mNHugeClus

template<int DetID>
int o2::trk::Clusterer< DetID >::mNHugeClus = 0
protected

Definition at line 180 of file Clusterer.h.

◆ mSortIdx

template<int DetID>
std::vector<int> o2::trk::Clusterer< DetID >::mSortIdx
protected

reusable per-ROF sort buffer

Definition at line 182 of file Clusterer.h.

◆ mThread

template<int DetID>
std::unique_ptr<ClustererThread> o2::trk::Clusterer< DetID >::mThread
protected

Definition at line 181 of file Clusterer.h.


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