Project
Loading...
Searching...
No Matches
o2::iotof::Clusterer Class Reference

#include <Clusterer.h>

Classes

struct  ClustererThread
 

Public Types

using Digit = o2::iotof::Digit
 
using DigROFRecord = o2::itsmft::ROFRecord
 
using DigMC2ROFRecord = o2::itsmft::MC2ROFRecord
 
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< o2::iotof::Cluster > &clusters, std::vector< unsigned char > &patterns, std::vector< o2::itsmft::ROFRecord > &clusterROFs, const ConstDigitTruth *digitLabels=nullptr, ClusterTruth *clusterLabels=nullptr, gsl::span< const DigMC2ROFRecord > digMC2ROFs={}, std::vector< o2::itsmft::MC2ROFRecord > *clusterMC2ROFs=nullptr)
 

Static Public Attributes

static constexpr int MaxLabels = 10
 

Protected Attributes

std::unique_ptr< ClustererThreadmThread
 
std::vector< intmSortIdx
 reusable per-ROF sort buffer
 

Detailed Description

Definition at line 36 of file Clusterer.h.

Member Typedef Documentation

◆ ClusterTruth

◆ ConstDigitTruth

◆ Digit

Definition at line 41 of file Clusterer.h.

◆ DigMC2ROFRecord

◆ DigROFRecord

◆ Label

Definition at line 46 of file Clusterer.h.

Member Function Documentation

◆ process()

void o2::iotof::Clusterer::process ( gsl::span< const Digit digits,
gsl::span< const DigROFRecord digitROFs,
std::vector< o2::iotof::Cluster > &  clusters,
std::vector< unsigned char > &  patterns,
std::vector< o2::itsmft::ROFRecord > &  clusterROFs,
const ConstDigitTruth digitLabels = nullptr,
ClusterTruth clusterLabels = nullptr,
gsl::span< const DigMC2ROFRecord digMC2ROFs = {},
std::vector< o2::itsmft::MC2ROFRecord > *  clusterMC2ROFs = nullptr 
)
virtual

Definition at line 26 of file Clusterer.cxx.

Member Data Documentation

◆ MaxLabels

constexpr int o2::iotof::Clusterer::MaxLabels = 10
staticconstexpr

Definition at line 39 of file Clusterer.h.

◆ mSortIdx

std::vector<int> o2::iotof::Clusterer::mSortIdx
protected

reusable per-ROF sort buffer

Definition at line 89 of file Clusterer.h.

◆ mThread

std::unique_ptr<ClustererThread> o2::iotof::Clusterer::mThread
protected

Definition at line 88 of file Clusterer.h.


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