#include <Mapping.h>
|
| | Mapping () |
| |
| virtual | ~Mapping ()=default |
| |
| MpArea | stripByLocation (int strip, int cathode, int line, int column, int deId, bool warn=true) const |
| |
| MpArea | stripByLocationInBoard (int strip, int cathode, int boardId, int chamber, bool warn=true) const |
| |
| MpStripIndex | stripByPosition (double xPos, double yPos, int cathode, int deId, bool warn=true) const |
| |
| double | getStripSize (int strip, int cathode, int column, int deId) const |
| |
| int | getNStripsNBP (int column, int deId) const |
| |
| int | getFirstColumn (int deId) const |
| |
| int | getFirstBoardBP (int column, int deId) const |
| |
| int | getLastBoardBP (int column, int deId) const |
| |
| int | getBoardId (int line, int column, int deId, bool warn=true) const |
| |
| std::vector< MpStripIndex > | getNeighbours (const Mapping::MpStripIndex &stripIndex, int cathode, int deId) const |
| |
| bool | isValid (int deId, int column, int cathode=0, int line=0, int strip=0) const |
| |
| MpStripIndex | nextStrip (const MpStripIndex &stripIndex, int cathode, int deId, bool descending=false) const |
| |
Definition at line 27 of file Mapping.h.
◆ Mapping()
◆ ~Mapping()
| virtual o2::mid::Mapping::~Mapping |
( |
| ) |
|
|
virtualdefault |
◆ getBoardId()
| int Mapping::getBoardId |
( |
int |
line, |
|
|
int |
column, |
|
|
int |
deId, |
|
|
bool |
warn = true |
|
) |
| const |
Gets the ID of boards in column
- Parameters
-
| line | The local board line in the column |
| column | The column id in the detection element |
| deId | The detection element ID |
| warn | Set to false to avoid printing an error message in case the strip is not found (default: true) |
Definition at line 202 of file Mapping.cxx.
◆ getFirstBoardBP()
| int Mapping::getFirstBoardBP |
( |
int |
column, |
|
|
int |
deId |
|
) |
| const |
Gets the line number of the first board in the column
- Parameters
-
| column | The column id in the detection element |
| deId | The detection element ID |
Definition at line 178 of file Mapping.cxx.
◆ getFirstColumn()
| int Mapping::getFirstColumn |
( |
int |
deId | ) |
const |
Gets the first column in the DE
- Parameters
-
| deId | The detection element ID |
Definition at line 169 of file Mapping.cxx.
◆ getLastBoardBP()
| int Mapping::getLastBoardBP |
( |
int |
column, |
|
|
int |
deId |
|
) |
| const |
Gets the number of boards in the column
- Parameters
-
| column | The column id in the detection element |
| deId | The detection element ID |
Definition at line 188 of file Mapping.cxx.
◆ getNeighbours()
Gets the list of neighbour strips
- Parameters
-
| stripIndex | The indexes to identify the strip |
| cathode | Bending plane (0) or Non-Bending plane (1) |
| deId | The detection element ID |
Definition at line 227 of file Mapping.cxx.
◆ getNStripsNBP()
| int Mapping::getNStripsNBP |
( |
int |
column, |
|
|
int |
deId |
|
) |
| const |
Gets the number of strips in the NBP
- Parameters
-
| column | The column id in the detection element |
| deId | The detection element ID |
Definition at line 159 of file Mapping.cxx.
◆ getStripSize()
| double Mapping::getStripSize |
( |
int |
strip, |
|
|
int |
cathode, |
|
|
int |
column, |
|
|
int |
deId |
|
) |
| const |
Gets the strip size
- Parameters
-
| strip | The strip number |
| cathode | Bending plane (0) or Non-Bending plane (1) |
| column | The column id in the detection element |
| deId | The detection element ID |
Definition at line 140 of file Mapping.cxx.
◆ isValid()
| bool Mapping::isValid |
( |
int |
deId, |
|
|
int |
column, |
|
|
int |
cathode = 0, |
|
|
int |
line = 0, |
|
|
int |
strip = 0 |
|
) |
| const |
Checks if required element is valid
- Parameters
-
| deId | The detection element ID |
| column | The column id in the detection element |
| cathode | Bending plane (0) or Non-Bending plane (1) |
| line | The local board line in the column |
| strip | The strip number |
Definition at line 361 of file Mapping.cxx.
◆ nextStrip()
Gets the next strip in the non bending plane
- Parameters
-
| stripIndex | The indexes to identify the strip |
| cathode | Bending plane (0) or Non-Bending plane (1) |
| deId | The detection element ID |
| descending | Move from inner to outer |
Definition at line 323 of file Mapping.cxx.
◆ stripByLocation()
| MpArea Mapping::stripByLocation |
( |
int |
strip, |
|
|
int |
cathode, |
|
|
int |
line, |
|
|
int |
column, |
|
|
int |
deId, |
|
|
bool |
warn = true |
|
) |
| const |
Gets the strip area from its location
- Parameters
-
| strip | The strip number |
| cathode | Bending plane (0) or Non-Bending plane (1) |
| line | The local board line in the column |
| column | The column id in the detection element |
| deId | The detection element ID |
| warn | Set to false to avoid printing an error message in case the strip is not found (default: true) |
Definition at line 487 of file Mapping.cxx.
◆ stripByLocationInBoard()
| MpArea Mapping::stripByLocationInBoard |
( |
int |
strip, |
|
|
int |
cathode, |
|
|
int |
boardId, |
|
|
int |
chamber, |
|
|
bool |
warn = true |
|
) |
| const |
Gets the strip area from its location
- Parameters
-
| strip | The strip number |
| cathode | Bending plane (0) or Non-Bending plane (1) |
| boardId | The id of the local board |
| chamber | The chamber number (0-3) |
| warn | Set to false to avoid printing an error message in case the strip is not found (default: true) |
Definition at line 526 of file Mapping.cxx.
◆ stripByPosition()
| Mapping::MpStripIndex Mapping::stripByPosition |
( |
double |
xPos, |
|
|
double |
yPos, |
|
|
int |
cathode, |
|
|
int |
deId, |
|
|
bool |
warn = true |
|
) |
| const |
Gets the strip containing the coordinate xPos, yPos
- Parameters
-
| xPos | x coordinate in the detection element |
| yPos | y coordinate in the detection element |
| cathode | Bending plane (0) or Non-Bending plane (1) |
| deId | The detection element ID |
| warn | Set to false to avoid printing an error message in case the strip is not found (default: true) |
Definition at line 592 of file Mapping.cxx.
The documentation for this class was generated from the following files:
- /home/runner/work/AliceO2/AliceO2/Detectors/MUON/MID/Base/include/MIDBase/Mapping.h
- /home/runner/work/AliceO2/AliceO2/Detectors/MUON/MID/Base/src/Mapping.cxx