#include <ClusterPattern.h>
|
| | ClusterPattern () |
| | Default constructor.
|
| |
| | ClusterPattern (int nRow, int nCol, const unsigned char patt[MaxPatternBytes]) |
| | Standard constructor.
|
| |
| template<class iterator > |
| void | acquirePattern (iterator &pattIt) |
| |
| template<class iterator > |
| | ClusterPattern (iterator &pattIt) |
| | Constructor from cluster patterns.
|
| |
| const std::array< unsigned char, kExtendedPatternBytes > & | getPattern () const |
| | Returns the pattern.
|
| |
| unsigned char | getByte (int n) const |
| | Returns a specific byte of the pattern.
|
| |
| int | getRowSpan () const |
| | Returns the number of rows.
|
| |
| int | getColumnSpan () const |
| | Returns the number of columns.
|
| |
| int | getUsedBytes () const |
| | Returns the number of bytes used for the pattern.
|
| |
| int | getNPixels () const |
| | Returns the number of fired pixels.
|
| |
| void | print () const |
| |
| void | setPattern (int nRow, int nCol, const unsigned char patt[MaxPatternBytes]) |
| | Sets the pattern.
|
| |
| void | setPattern (const unsigned char bitmask[kExtendedPatternBytes]) |
| | Sets the whole bitmask: the number of rows, the number of columns and the pattern.
|
| |
| int | getCOG (float &xCOG, float &zCOG) const |
| | Compute pattern's COG position. Returns the number of fired pixels.
|
| |
| bool | isSet (int row, int col) const |
| |
| void | resetPixel (int row, int col) |
| |
| void | setPixel (int row, int col) |
| |
| template<typename Processor > |
| void | process (Processor procRowCol) |
| |
|
| template<class iterator > |
| static void | skipPattern (iterator &pattIt) |
| |
| static int | getCOG (int rowSpan, int colSpan, const unsigned char patt[MaxPatternBytes], float &xCOG, float &zCOG) |
| | Static: Compute pattern's COG position. Returns the number of fired pixels.
|
| |
Definition at line 39 of file ClusterPattern.h.
◆ ClusterPattern() [1/3]
| o2::itsmft::ClusterPattern::ClusterPattern |
( |
| ) |
|
◆ ClusterPattern() [2/3]
| o2::itsmft::ClusterPattern::ClusterPattern |
( |
int |
nRow, |
|
|
int |
nCol, |
|
|
const unsigned char |
patt[MaxPatternBytes] |
|
) |
| |
◆ ClusterPattern() [3/3]
template<class iterator >
| o2::itsmft::ClusterPattern::ClusterPattern |
( |
iterator & |
pattIt | ) |
|
|
inline |
◆ acquirePattern()
template<class iterator >
| void o2::itsmft::ClusterPattern::acquirePattern |
( |
iterator & |
pattIt | ) |
|
|
inline |
◆ getByte()
| unsigned char o2::itsmft::ClusterPattern::getByte |
( |
int |
n | ) |
const |
◆ getCOG() [1/2]
| int o2::itsmft::ClusterPattern::getCOG |
( |
float & |
xCOG, |
|
|
float & |
zCOG |
|
) |
| const |
|
inline |
Compute pattern's COG position. Returns the number of fired pixels.
Definition at line 107 of file ClusterPattern.h.
◆ getCOG() [2/2]
| int o2::itsmft::ClusterPattern::getCOG |
( |
int |
rowSpan, |
|
|
int |
colSpan, |
|
|
const unsigned char |
patt[MaxPatternBytes], |
|
|
float & |
xCOG, |
|
|
float & |
zCOG |
|
) |
| |
|
static |
Static: Compute pattern's COG position. Returns the number of fired pixels.
Definition at line 126 of file ClusterPattern.cxx.
◆ getColumnSpan()
| int o2::itsmft::ClusterPattern::getColumnSpan |
( |
| ) |
const |
|
inline |
◆ getNPixels()
| int o2::itsmft::ClusterPattern::getNPixels |
( |
| ) |
const |
◆ getPattern()
◆ getRowSpan()
| int o2::itsmft::ClusterPattern::getRowSpan |
( |
| ) |
const |
|
inline |
◆ getUsedBytes()
| int o2::itsmft::ClusterPattern::getUsedBytes |
( |
| ) |
const |
◆ isSet()
| bool o2::itsmft::ClusterPattern::isSet |
( |
int |
row, |
|
|
int |
col |
|
) |
| const |
|
inline |
◆ print()
| void o2::itsmft::ClusterPattern::print |
( |
| ) |
const |
◆ process()
template<typename Processor >
| void o2::itsmft::ClusterPattern::process |
( |
Processor |
procRowCol | ) |
|
◆ resetPixel()
| void o2::itsmft::ClusterPattern::resetPixel |
( |
int |
row, |
|
|
int |
col |
|
) |
| |
|
inline |
◆ setPattern() [1/2]
| void o2::itsmft::ClusterPattern::setPattern |
( |
const unsigned char |
bitmask[kExtendedPatternBytes] | ) |
|
Sets the whole bitmask: the number of rows, the number of columns and the pattern.
◆ setPattern() [2/2]
| void o2::itsmft::ClusterPattern::setPattern |
( |
int |
nRow, |
|
|
int |
nCol, |
|
|
const unsigned char |
patt[MaxPatternBytes] |
|
) |
| |
◆ setPixel()
| void o2::itsmft::ClusterPattern::setPixel |
( |
int |
row, |
|
|
int |
col |
|
) |
| |
|
inline |
◆ skipPattern()
template<class iterator >
| static void o2::itsmft::ClusterPattern::skipPattern |
( |
iterator & |
pattIt | ) |
|
|
inlinestatic |
◆ operator<<
| std::ostream & operator<< |
( |
std::ostream & |
os, |
|
|
const ClusterPattern & |
top |
|
) |
| |
|
friend |
◆ BuildTopologyDictionary
| friend o2::itsmft::ClusterPattern::BuildTopologyDictionary |
◆ ClusterTopology
| friend o2::itsmft::ClusterPattern::ClusterTopology |
◆ kExtendedPatternBytes
| constexpr int o2::itsmft::ClusterPattern::kExtendedPatternBytes = MaxPatternBytes + 2 |
|
staticconstexpr |
Maximum number of bytes for the cluster puttern + 2 bytes respectively for the number of rows and columns of the bounding box.
Definition at line 84 of file ClusterPattern.h.
◆ MaxColSpan
| constexpr uint8_t o2::itsmft::ClusterPattern::MaxColSpan = 128 |
|
staticconstexpr |
◆ MaxPatternBits
◆ MaxPatternBytes
| constexpr int o2::itsmft::ClusterPattern::MaxPatternBytes = MaxPatternBits / 8 |
|
staticconstexpr |
◆ MaxRowSpan
| constexpr uint8_t o2::itsmft::ClusterPattern::MaxRowSpan = 128 |
|
staticconstexpr |
◆ SpanMask
| constexpr int o2::itsmft::ClusterPattern::SpanMask = 0x7fff |
|
staticconstexpr |
◆ TopologyDictionary
| friend o2::itsmft::ClusterPattern::TopologyDictionary |
◆ TruncateMask
| constexpr int o2::itsmft::ClusterPattern::TruncateMask = 0x8000 |
|
staticconstexpr |
The documentation for this class was generated from the following files:
- /home/runner/work/AliceO2/AliceO2/DataFormats/Detectors/ITSMFT/common/include/DataFormatsITSMFT/ClusterPattern.h
- /home/runner/work/AliceO2/AliceO2/DataFormats/Detectors/ITSMFT/common/src/ClusterPattern.cxx