Project
Loading...
Searching...
No Matches
o2::iotof::Clusterer::ClustererThread Struct Reference

#include <Clusterer.h>

Public Member Functions

void fetchMCLabels (uint32_t digID, const ConstDigitTruth *labelsDig, int &nFilled)
 Convert the cluster topology to the corresponding entry in the dictionary.
 
void findClustersSingleHit (gsl::span< const Digit > digits, uint32_t digitIdx, const ConstDigitTruth *labelsDigPtr, ClusterTruth *labelsClusPtr)
 
void findClustersMultipleHits (gsl::span< const Digit > digits, gsl::span< const uint32_t > digitIdxs, const ConstDigitTruth *labelsDigPtr, ClusterTruth *labelsClusPtr)
 
std::vector< std::vector< uint32_t > > buildPreclusters (gsl::span< const Digit > digits, gsl::span< const uint32_t > digitIdxs, int maxTimeDiffNSigma, float timeResolution)
 
void processChip (gsl::span< const Digit > digits, int chipFirst, int chipN, std::vector< Cluster > *clustersOut, std::vector< unsigned char > *patternsOut, const ConstDigitTruth *labelsDigPtr, ClusterTruth *labelsClusPtr)
 
void writeTopologiesToFile (const char *filename)
 
 ClustererThread (Clusterer *par=nullptr)
 
 ClustererThread (const ClustererThread &)=delete
 
ClustererThread & operator= (const ClustererThread &)=delete
 

Public Attributes

Clusterer * mParent = nullptr
 
std::array< Label, MaxLabels > mLabelsBuff
 MC label buffer for one cluster.
 
std::vector< Cluster > mClusters
 
std::vector< uint16_t > mPatterns
 
ClusterTruth mLabels
 
TopologyClassifier mClsTopoClassifier
 

Detailed Description

Definition at line 52 of file Clusterer.h.

Constructor & Destructor Documentation

◆ ClustererThread() [1/2]

o2::iotof::Clusterer::ClustererThread::ClustererThread ( Clusterer *  par = nullptr)
inlineexplicit

Definition at line 82 of file Clusterer.h.

◆ ClustererThread() [2/2]

o2::iotof::Clusterer::ClustererThread::ClustererThread ( const ClustererThread &  )
delete

Member Function Documentation

◆ buildPreclusters()

std::vector< std::vector< uint32_t > > o2::iotof::Clusterer::ClustererThread::buildPreclusters ( gsl::span< const Digit >  digits,
gsl::span< const uint32_t >  digitIdxs,
int  maxTimeDiffNSigma,
float  timeResolution 
)

Definition at line 206 of file Clusterer.cxx.

◆ fetchMCLabels()

void o2::iotof::Clusterer::ClustererThread::fetchMCLabels ( uint32_t  digID,
const ConstDigitTruth *  labelsDig,
int &  nFilled 
)

Convert the cluster topology to the corresponding entry in the dictionary.

Definition at line 369 of file Clusterer.cxx.

◆ findClustersMultipleHits()

void o2::iotof::Clusterer::ClustererThread::findClustersMultipleHits ( gsl::span< const Digit >  digits,
gsl::span< const uint32_t >  digitIdxs,
const ConstDigitTruth *  labelsDigPtr,
ClusterTruth *  labelsClusPtr 
)

Definition at line 246 of file Clusterer.cxx.

◆ findClustersSingleHit()

void o2::iotof::Clusterer::ClustererThread::findClustersSingleHit ( gsl::span< const Digit >  digits,
uint32_t  digitIdx,
const ConstDigitTruth *  labelsDigPtr,
ClusterTruth *  labelsClusPtr 
)

Definition at line 168 of file Clusterer.cxx.

◆ operator=()

ClustererThread & o2::iotof::Clusterer::ClustererThread::operator= ( const ClustererThread &  )
delete

◆ processChip()

void o2::iotof::Clusterer::ClustererThread::processChip ( gsl::span< const Digit >  digits,
int  chipFirst,
int  chipN,
std::vector< Cluster > *  clustersOut,
std::vector< unsigned char > *  patternsOut,
const ConstDigitTruth *  labelsDigPtr,
ClusterTruth *  labelsClusPtr 
)

Definition at line 108 of file Clusterer.cxx.

◆ writeTopologiesToFile()

void o2::iotof::Clusterer::ClustererThread::writeTopologiesToFile ( const char *  filename)

Definition at line 398 of file Clusterer.cxx.

Member Data Documentation

◆ mClsTopoClassifier

TopologyClassifier o2::iotof::Clusterer::ClustererThread::mClsTopoClassifier

Definition at line 66 of file Clusterer.h.

◆ mClusters

std::vector<Cluster> o2::iotof::Clusterer::ClustererThread::mClusters

Definition at line 61 of file Clusterer.h.

◆ mLabels

ClusterTruth o2::iotof::Clusterer::ClustererThread::mLabels

Definition at line 63 of file Clusterer.h.

◆ mLabelsBuff

std::array<Label, MaxLabels> o2::iotof::Clusterer::ClustererThread::mLabelsBuff

MC label buffer for one cluster.

Definition at line 58 of file Clusterer.h.

◆ mParent

Clusterer* o2::iotof::Clusterer::ClustererThread::mParent = nullptr

Definition at line 53 of file Clusterer.h.

◆ mPatterns

std::vector<uint16_t> o2::iotof::Clusterer::ClustererThread::mPatterns

Definition at line 62 of file Clusterer.h.


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