#include <GassiplexChamber4.hh>
Inheritance diagram for GassiplexChamber4:
Public Member Functions | |
GassiplexChamber4 (const float xPos, const float yPos, const float zPos, const bool xRotation, const bool yRotation, const i16 zRotation, const ui32 nbColumns, const ui32 nbRows, const i32 id) | |
~GassiplexChamber4 () | |
unsigned int | getNumberOfBoards () const |
unsigned int | getNumberOfGassiplexBoards () const |
const float | getXGap () const |
const float | getYGap () const |
Private Member Functions | |
void | init () |
Definition at line 17 of file GassiplexChamber4.hh.
GassiplexChamber4::GassiplexChamber4 | ( | const float | xPos, | |
const float | yPos, | |||
const float | zPos, | |||
const bool | xRotation, | |||
const bool | yRotation, | |||
const i16 | zRotation, | |||
const ui32 | nbColumns, | |||
const ui32 | nbRows, | |||
const i32 | id | |||
) |
Definition at line 15 of file GassiplexChamber4.cpp.
00016 : Chamber(aX, aY , aZ , xRotation,yRotation,zRotation, nbColumns, nbRows , id ) 00017 // 00018 { 00019 FILE_LOG(logDEBUG) << "---GassiplexChamber4 contructor id["<< id << "]" << endl; 00020 description = "GassiplexChamber4"; 00021 type = GASSIPLEXCHAMBER4; 00022 myIsValid = true; 00023 init(); 00024 }
GassiplexChamber4::~GassiplexChamber4 | ( | ) |
unsigned int GassiplexChamber4::getNumberOfBoards | ( | ) | const [inline] |
Reimplemented from Chamber.
Definition at line 26 of file GassiplexChamber4.hh.
Referenced by getNumberOfGassiplexBoards().
unsigned int GassiplexChamber4::getNumberOfGassiplexBoards | ( | ) | const [inline, virtual] |
Reimplemented from Chamber.
Definition at line 27 of file GassiplexChamber4.hh.
00027 { return getNumberOfBoards(); }; // only reimplement in GassioplexBoard* class
const float GassiplexChamber4::getXGap | ( | ) | const [inline, virtual] |
const float GassiplexChamber4::getYGap | ( | ) | const [inline, virtual] |
void GassiplexChamber4::init | ( | ) | [private] |
Definition at line 35 of file GassiplexChamber4.cpp.
Referenced by GassiplexChamber4().
00036 { 00037 // the board ID is used to make the channel Id (see GassiplexChip.init()) PAD Side:w 00038 00039 00040 00041 // 0 1 00042 // ---------------------| 00043 // __| | |__ 00044 // 1 [__| 1 | 2 |__] gassiplex 00045 // | | | 00046 // |--------------------- 00047 // __| | |__ 00048 // 0 [__| 3 | 4 |__] gassiplex 00049 // | | | 00050 // |--------------------- 00051 00052 int boardId = 1; // aCol, aRow, nbColumns, nbRows 00053 boards.insert(make_pair(boardId, new GassiplexBoardBeta24(*this, 0, 1, 16, 6 , boardId))); 00054 00055 boardId = 2; 00056 boards.insert(make_pair(boardId, new GassiplexBoardBeta24(*this, 1, 1, 16 , 6 , boardId))); 00057 00058 boardId = 3; 00059 boards.insert(make_pair(boardId, new GassiplexBoardBeta24(*this, 0, 0, 16, 6 , boardId))); 00060 00061 boardId = 4; 00062 boards.insert(make_pair(boardId, new GassiplexBoardBeta24(*this, 1, 0,16 ,6 , boardId))); 00063 }