Public Member Functions | |
| QTowerArray () | |
| constructor | |
| virtual | ~QTowerArray () |
| destructor | |
| const QGeomVector & | GetPosition () const |
| get detector position | |
| bool | LoadMap (const std::string &fromWhere) |
| load cuore array map | |
| const std::map< int, QTower > & | GetTowers () const |
| get the map of towers contained in the array | |
| const QTower * | GetTower (int towerId) const |
| get const pointer to a specific tower | |
| const QCrystal * | GetCrystal (int lgChannel) const |
| get crystal associated to the requested logical channel | |
Private Attributes | |
| std::map< int, QTower > | fTowers |
| QGeomVector | fPosition |
| const QGeomVector& QTowerArray::GetPosition | ( | ) | const [inline] |
get detector position
References fPosition.
| bool QTowerArray::LoadMap | ( | const std::string & | fromWhere | ) |
load cuore array map
| fromWhere | string specifying where to find the detector map. It can be "DB" (the map is read from the database) or a standard filename. |
| const std::map<int, QTower>& QTowerArray::GetTowers | ( | ) | const |
get the map of towers contained in the array
| const QTower * QTowerArray::GetTower | ( | int | towerId | ) | const |
get const pointer to a specific tower
| towerId | id of the tower to be returned |
References fTowers.
| const QCrystal * QTowerArray::GetCrystal | ( | int | lgChannel | ) | const |
get crystal associated to the requested logical channel
| lgChannel | logical channel |
References fTowers.
std::map<int, QTower> QTowerArray::fTowers [private] |
map of tower id and corresponding tower
Referenced by GetCrystal(), and GetTower().
QGeomVector QTowerArray::fPosition [private] |
position of the detector array
Referenced by GetPosition().
1.5.6