#include <PndSttTubeIdMap.h>
Definition at line 18 of file PndSttTubeIdMap.h.
◆ ~PndSttTubeIdMap()
virtual PndSttTubeIdMap::~PndSttTubeIdMap |
( |
| ) |
|
|
virtual |
◆ AddTube()
void PndSttTubeIdMap::AddTube |
( |
int |
sector, |
|
|
int |
row, |
|
|
int |
tubeId |
|
) |
| |
◆ GetNTubes()
int PndSttTubeIdMap::GetNTubes |
( |
| ) |
|
|
inline |
◆ GetNTubesInRow()
int PndSttTubeIdMap::GetNTubesInRow |
( |
int |
sector, |
|
|
int |
row |
|
) |
| |
|
inline |
◆ GetRowInSector()
vector<int> PndSttTubeIdMap::GetRowInSector |
( |
int |
sector, |
|
|
int |
row |
|
) |
| |
|
inline |
◆ GetSector()
vector<vector<int> > PndSttTubeIdMap::GetSector |
( |
int |
sector | ) |
|
|
inline |
◆ GetSectorRowFromTubeId()
std::pair<int, int> PndSttTubeIdMap::GetSectorRowFromTubeId |
( |
int |
tubeId | ) |
|
|
inline |
Definition at line 40 of file PndSttTubeIdMap.h.
References AddTube().
42 if (fMapTubeIdSectorRow.count(tubeId) > 0)
43 return fMapTubeIdSectorRow[tubeId];
45 std::pair<int, int> noTubeId(-1, -1);
◆ GetTube()
int PndSttTubeIdMap::GetTube |
( |
int |
sector, |
|
|
int |
row, |
|
|
int |
posInRow |
|
) |
| |
|
inline |
Definition at line 28 of file PndSttTubeIdMap.h.
28 {
return fTubeMap[sector][row][posInRow]; }
◆ GetTubeIdFlat()
int PndSttTubeIdMap::GetTubeIdFlat |
( |
int |
index | ) |
|
|
inline |
Definition at line 32 of file PndSttTubeIdMap.h.
34 if (index < fFlatTubeMap.size())
35 return fFlatTubeMap[index];
◆ Instance()
◆ IsSkewed()
bool PndSttTubeIdMap::IsSkewed |
( |
int |
row | ) |
|
|
inline |
Definition at line 29 of file PndSttTubeIdMap.h.
29 {
return std::find(fSkewedRows.begin(), fSkewedRows.end(), row) != fSkewedRows.end(); }
◆ SetSkewedRows()
void PndSttTubeIdMap::SetSkewedRows |
( |
std::vector< int > & |
values | ) |
|
|
inline |
The documentation for this class was generated from the following file: