FairRoot/PandaRoot
|
#include <PndSttTubeIdMap.h>
Public Member Functions | |
virtual | ~PndSttTubeIdMap () |
vector< vector< int > > | GetSector (int sector) |
vector< int > | GetRowInSector (int sector, int row) |
int | GetNTubesInRow (int sector, int row) |
int | GetNTubes () |
int | GetTube (int sector, int row, int posInRow) |
bool | IsSkewed (int row) |
void | SetSkewedRows (std::vector< int > &values) |
int | GetTubeIdFlat (int index) |
std::pair< int, int > | GetSectorRowFromTubeId (int tubeId) |
void | AddTube (int sector, int row, int tubeId) |
Static Public Member Functions | |
static PndSttTubeIdMap * | Instance () |
Private Member Functions | |
PndSttTubeIdMap () | |
ClassDef (PndSttTubeIdMap, 1) | |
Private Attributes | |
vector< vector< vector< int > > > | fTubeMap |
vector< int > | fFlatTubeMap |
std::map< int, std::pair< int, int > > | fMapTubeIdSectorRow |
std::vector< int > | fSkewedRows |
Static Private Attributes | |
static PndSttTubeIdMap * | fInstance = NULL |
Definition at line 18 of file PndSttTubeIdMap.h.
|
virtual |
Definition at line 27 of file PndSttTubeIdMap.cxx.
|
private |
Definition at line 16 of file PndSttTubeIdMap.cxx.
References fSkewedRows.
Referenced by Instance().
void PndSttTubeIdMap::AddTube | ( | int | sector, |
int | row, | ||
int | tubeId | ||
) |
Definition at line 38 of file PndSttTubeIdMap.cxx.
References fFlatTubeMap, fMapTubeIdSectorRow, fTubeMap, and row.
Referenced by PndSttTubeIdMapCreatorRoot::CreateTubeMap().
|
private |
|
inline |
|
inline |
Definition at line 26 of file PndSttTubeIdMap.h.
|
inline |
Definition at line 25 of file PndSttTubeIdMap.h.
Referenced by PndSttTubeMapCreatorRoot::CreateTubeMap(), and PndSttNeighborhoodCreator::FindNeighbors().
|
inline |
|
inline |
Definition at line 39 of file PndSttTubeIdMap.h.
References fMapTubeIdSectorRow.
Referenced by PndSttTubeCreator::GetTube(), PndSttTubeMapCreatorRoot::IsEdgeStraw(), and PndSttTubeMapCreatorRoot::IsSectorBorderStraw().
|
inline |
Definition at line 28 of file PndSttTubeIdMap.h.
|
inline |
|
static |
Definition at line 31 of file PndSttTubeIdMap.cxx.
References fInstance, and PndSttTubeIdMap().
Referenced by PndSttTubeIdMapCreatorRoot::CreateTubeMap(), PndSttTubeMapCreatorRoot::CreateTubeMap(), PndSttNeighborhoodCreator::FindNeighbors(), PndSttTubeCreator::GetTube(), PndSttTubeMapCreatorRoot::IsEdgeStraw(), and PndSttTubeMapCreatorRoot::IsSectorBorderStraw().
|
inline |
|
inline |
|
private |
Definition at line 54 of file PndSttTubeIdMap.h.
Referenced by AddTube(), GetNTubes(), and GetTubeIdFlat().
|
staticprivate |
Definition at line 52 of file PndSttTubeIdMap.h.
Referenced by Instance().
|
private |
Definition at line 55 of file PndSttTubeIdMap.h.
Referenced by AddTube(), and GetSectorRowFromTubeId().
|
private |
Definition at line 56 of file PndSttTubeIdMap.h.
Referenced by IsSkewed(), PndSttTubeIdMap(), and SetSkewedRows().
|
private |
Definition at line 53 of file PndSttTubeIdMap.h.
Referenced by AddTube(), GetNTubesInRow(), GetRowInSector(), GetSector(), and GetTube().