![]() |
Project
|
Column data structure for MID. More...
#include <ColumnData.h>
Public Member Functions | |
| void | setBendPattern (uint16_t pattern, int line) |
| Sets the bending plane pattern. | |
| uint16_t | getBendPattern (int line) const |
| Gets the bending plane pattern. | |
| void | setNonBendPattern (uint16_t pattern) |
| Sets the non-bending plane pattern. | |
| uint16_t | getNonBendPattern () const |
| Gets the non-bending plane pattern. | |
| void | setPattern (uint16_t pattern, int cathode, int line) |
| uint16_t | getPattern (int cathode, int line) const |
| void | addStrip (int strip, int cathode, int line) |
| bool | isNBPStripFired (int istrip) const |
| Checks if strip is fired in the non-bending plane. | |
| bool | isBPStripFired (int istrip, int line) const |
| Checks if strip is fired in the bending plane. | |
| bool | isStripFired (int istrip, int cathode, int line) const |
| bool | operator== (const ColumnData &right) const |
| bool | isEmpty () const |
Public Attributes | |
| uint8_t | deId = 0 |
| Index of the detection element. | |
| uint8_t | columnId = 0 |
| Column in DE. | |
| std::array< uint16_t, 5 > | patterns {} |
| Strip patterns. | |
Column data structure for MID.
Definition at line 29 of file ColumnData.h.
| void o2::mid::ColumnData::addStrip | ( | int | strip, |
| int | cathode, | ||
| int | line | ||
| ) |
Adds a strip to the pattern
Definition at line 42 of file ColumnData.cxx.
|
inline |
Gets the bending plane pattern.
Definition at line 37 of file ColumnData.h.
|
inline |
Gets the non-bending plane pattern.
Definition at line 42 of file ColumnData.h.
| uint16_t o2::mid::ColumnData::getPattern | ( | int | cathode, |
| int | line | ||
| ) | const |
Gets the pattern
Definition at line 36 of file ColumnData.cxx.
|
inline |
Checks if strip is fired in the bending plane.
Definition at line 52 of file ColumnData.h.
| bool o2::mid::ColumnData::isEmpty | ( | ) | const |
Checks if the data is empty Returns true if all patterns are 0
Definition at line 55 of file ColumnData.cxx.
|
inline |
Checks if strip is fired in the non-bending plane.
Definition at line 50 of file ColumnData.h.
| bool o2::mid::ColumnData::isStripFired | ( | int | istrip, |
| int | cathode, | ||
| int | line | ||
| ) | const |
Checks if the strip is fired
Definition at line 49 of file ColumnData.cxx.
| bool o2::mid::ColumnData::operator== | ( | const ColumnData & | right | ) | const |
Comparison operator
Definition at line 70 of file ColumnData.cxx.
|
inline |
Sets the bending plane pattern.
Definition at line 35 of file ColumnData.h.
|
inline |
Sets the non-bending plane pattern.
Definition at line 40 of file ColumnData.h.
| void o2::mid::ColumnData::setPattern | ( | uint16_t | pattern, |
| int | cathode, | ||
| int | line | ||
| ) |
Sets the pattern
Definition at line 26 of file ColumnData.cxx.
| uint8_t o2::mid::ColumnData::columnId = 0 |
Column in DE.
Definition at line 31 of file ColumnData.h.
| uint8_t o2::mid::ColumnData::deId = 0 |
Index of the detection element.
Definition at line 30 of file ColumnData.h.
| std::array<uint16_t, 5> o2::mid::ColumnData::patterns {} |
Strip patterns.
Definition at line 32 of file ColumnData.h.