![]() |
Project
|
#include <ColumnDataHandler.h>
Public Member Functions | |
| void | add (uint8_t deId, uint8_t columnId, int lineId, int strip, int cathode) |
| Add single strip. | |
| bool | merge (const ColumnData &col, size_t idx=0) |
| Merges digit. | |
| void | merge (gsl::span< const ColumnData > colVec, size_t idx=0) |
| Merges digits. | |
| void | clear () |
| Clears inner maps. | |
| std::vector< ColumnData > | getMerged () const |
| Returns the merged data. | |
| std::vector< size_t > | getMergedIndexes (const ColumnData &col) const |
| Returns the indexes of the ColumnData merged into this one. | |
Definition at line 30 of file ColumnDataHandler.h.
| void o2::mid::ColumnDataHandler::add | ( | uint8_t | deId, |
| uint8_t | columnId, | ||
| int | lineId, | ||
| int | strip, | ||
| int | cathode | ||
| ) |
Add single strip.
| deId | Detection element ID |
| columnId | Column ID |
| lineId | Local board line in the column |
| strip | Strip number |
| cathode | Anode or cathode |
Definition at line 24 of file ColumnDataHandler.cxx.
| void o2::mid::ColumnDataHandler::clear | ( | ) |
Clears inner maps.
Definition at line 70 of file ColumnDataHandler.cxx.
| std::vector< ColumnData > o2::mid::ColumnDataHandler::getMerged | ( | ) | const |
Returns the merged data.
Gets the masks
Definition at line 60 of file ColumnDataHandler.cxx.
| std::vector< size_t > o2::mid::ColumnDataHandler::getMergedIndexes | ( | const ColumnData & | col | ) | const |
Returns the indexes of the ColumnData merged into this one.
| col | Merged ColumnData |
Definition at line 76 of file ColumnDataHandler.cxx.
| bool o2::mid::ColumnDataHandler::merge | ( | const ColumnData & | col, |
| size_t | idx = 0 |
||
| ) |
Merges digit.
| col | input digit |
| idx | index of col in the vector. Useful to keep track of what digit was merged |
Definition at line 37 of file ColumnDataHandler.cxx.
| void o2::mid::ColumnDataHandler::merge | ( | gsl::span< const ColumnData > | colVec, |
| size_t | idx = 0 |
||
| ) |
Merges digits.
| colVec | span of column data |
| idx | Offset index of the first ColumnData in the vector. It can be different from 0 if we are merging a subspan. |
Definition at line 53 of file ColumnDataHandler.cxx.