![]() |
Project
|
#include <Clusterer.h>
Classes | |
| struct | PreCluster |
Public Member Functions | |
| void | resetColumn (int *buff) |
| reset column buffer, for the performance reasons we use memset | |
| void | swapColumnBuffers () |
| add cluster at row (entry ip in the ChipPixeData) to the precluster with given index | |
| void | expandPreCluster (uint32_t ip, uint16_t row, int preClusIndex) |
| add new precluster at given row of current column for the fired pixel with index ip in the ChipPixelData | |
| void | addNewPrecluster (uint32_t ip, uint16_t row) |
| void | fetchMCLabels (int digID, const ConstMCTruth *labelsDig, int &nfilled) |
| void | initChip (const ChipPixelData *curChipData, uint32_t first) |
| void | updateChip (const ChipPixelData *curChipData, uint32_t ip) |
| void | finishChip (ChipPixelData *curChipData, CompClusCont *compClus, PatternCont *patterns, const ConstMCTruth *labelsDig, MCTruth *labelsClus) |
| void | finishChipSingleHitFast (uint32_t hit, ChipPixelData *curChipData, CompClusCont *compClusPtr, PatternCont *patternsPtr, const ConstMCTruth *labelsDigPtr, MCTruth *labelsClusPTr) |
| void | process (uint16_t chip, uint16_t nChips, CompClusCont *compClusPtr, PatternCont *patternsPtr, const ConstMCTruth *labelsDigPtr, MCTruth *labelsClPtr, const ROFRecord &rofPtr) |
| ClustererThread (Clusterer *par=nullptr, int _id=-1) | |
Public Attributes | |
| int | id = -1 |
| Clusterer * | parent = nullptr |
| int | column1 [SegmentationAlpide::NRows+2] |
| int | column2 [SegmentationAlpide::NRows+2] |
| int * | curr = nullptr |
| int * | prev = nullptr |
| std::vector< std::pair< int, uint32_t > > | pixels |
| uint16_t | currCol = 0xffff |
| Column being processed. | |
| bool | noLeftCol = true |
| flag that there is no column on the left to check | |
| std::array< Label, MaxLabels > | labelsBuff |
| std::vector< PixelData > | pixArrBuff |
| temporary buffer for building cluster labels | |
| std::vector< PreCluster > | preClusters |
| temporary buffer for pattern calc. | |
| CompClusCont | compClusters |
| preclusters info | |
| PatternCont | patterns |
| MCTruth | labels |
| std::vector< ThreadStat > | stats |
Definition at line 123 of file Clusterer.h.
|
inline |
Definition at line 186 of file Clusterer.h.
Definition at line 167 of file Clusterer.h.
|
inline |
add new precluster at given row of current column for the fired pixel with index ip in the ChipPixelData
Definition at line 158 of file Clusterer.h.
| void Clusterer::ClustererThread::fetchMCLabels | ( | int | digID, |
| const ConstMCTruth * | labelsDig, | ||
| int & | nfilled | ||
| ) |
Definition at line 437 of file Clusterer.cxx.
| void Clusterer::ClustererThread::finishChip | ( | ChipPixelData * | curChipData, |
| CompClusCont * | compClus, | ||
| PatternCont * | patterns, | ||
| const ConstMCTruth * | labelsDig, | ||
| MCTruth * | labelsClus | ||
| ) |
Definition at line 211 of file Clusterer.cxx.
| void Clusterer::ClustererThread::finishChipSingleHitFast | ( | uint32_t | hit, |
| ChipPixelData * | curChipData, | ||
| CompClusCont * | compClusPtr, | ||
| PatternCont * | patternsPtr, | ||
| const ConstMCTruth * | labelsDigPtr, | ||
| MCTruth * | labelsClusPTr | ||
| ) |
Definition at line 310 of file Clusterer.cxx.
| void Clusterer::ClustererThread::initChip | ( | const ChipPixelData * | curChipData, |
| uint32_t | first | ||
| ) |
Definition at line 348 of file Clusterer.cxx.
| void Clusterer::ClustererThread::process | ( | uint16_t | chip, |
| uint16_t | nChips, | ||
| CompClusCont * | compClusPtr, | ||
| PatternCont * | patternsPtr, | ||
| const ConstMCTruth * | labelsDigPtr, | ||
| MCTruth * | labelsClPtr, | ||
| const ROFRecord & | rofPtr | ||
| ) |
Definition at line 167 of file Clusterer.cxx.
|
inline |
reset column buffer, for the performance reasons we use memset
swap current and previous column buffers
Definition at line 152 of file Clusterer.h.
|
inline |
add cluster at row (entry ip in the ChipPixeData) to the precluster with given index
Definition at line 155 of file Clusterer.h.
| void Clusterer::ClustererThread::updateChip | ( | const ChipPixelData * | curChipData, |
| uint32_t | ip | ||
| ) |
Definition at line 366 of file Clusterer.cxx.
| int o2::itsmft::Clusterer::ClustererThread::column1[SegmentationAlpide::NRows+2] |
Definition at line 132 of file Clusterer.h.
| int o2::itsmft::Clusterer::ClustererThread::column2[SegmentationAlpide::NRows+2] |
Definition at line 133 of file Clusterer.h.
| CompClusCont o2::itsmft::Clusterer::ClustererThread::compClusters |
preclusters info
temporary storage for the thread output
Definition at line 146 of file Clusterer.h.
| int* o2::itsmft::Clusterer::ClustererThread::curr = nullptr |
Definition at line 134 of file Clusterer.h.
| uint16_t o2::itsmft::Clusterer::ClustererThread::currCol = 0xffff |
Column being processed.
Definition at line 139 of file Clusterer.h.
| int o2::itsmft::Clusterer::ClustererThread::id = -1 |
Definition at line 128 of file Clusterer.h.
| MCTruth o2::itsmft::Clusterer::ClustererThread::labels |
Definition at line 148 of file Clusterer.h.
Definition at line 141 of file Clusterer.h.
flag that there is no column on the left to check
Definition at line 140 of file Clusterer.h.
| Clusterer* o2::itsmft::Clusterer::ClustererThread::parent = nullptr |
Definition at line 129 of file Clusterer.h.
| PatternCont o2::itsmft::Clusterer::ClustererThread::patterns |
Definition at line 147 of file Clusterer.h.
| std::vector<PixelData> o2::itsmft::Clusterer::ClustererThread::pixArrBuff |
temporary buffer for building cluster labels
Definition at line 142 of file Clusterer.h.
| std::vector<std::pair<int, uint32_t> > o2::itsmft::Clusterer::ClustererThread::pixels |
Definition at line 138 of file Clusterer.h.
| std::vector<PreCluster> o2::itsmft::Clusterer::ClustererThread::preClusters |
temporary buffer for pattern calc.
Definition at line 143 of file Clusterer.h.
| int* o2::itsmft::Clusterer::ClustererThread::prev = nullptr |
Definition at line 135 of file Clusterer.h.
| std::vector<ThreadStat> o2::itsmft::Clusterer::ClustererThread::stats |
Definition at line 149 of file Clusterer.h.