#include <GassiplexStripChamber1.hh>
Inheritance diagram for GassiplexStripChamber1:
Public Member Functions | |
GassiplexStripChamber1 (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, const bool horizontal) | |
~GassiplexStripChamber1 () | |
unsigned int | getNumberOfBoards () const |
bool | getHorizontal () const |
unsigned int | getNumberOfGassiplexBoards () const |
const float | getXGap () const |
const float | getYGap () const |
Private Member Functions | |
void | init () |
Private Attributes | |
bool | horizontal |
Definition at line 17 of file GassiplexStripChamber1.hh.
GassiplexStripChamber1::GassiplexStripChamber1 | ( | 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, | |||
const bool | horizontal | |||
) |
Definition at line 15 of file GassiplexStripChamber1.cpp.
00016 : Chamber(aX, aY , aZ , xRotation,yRotation,zRotation, nbColumns, nbRows , id ) 00017 // 00018 { 00019 FILE_LOG(logDEBUG) << "---GassiplexStripChamber1 contructor id["<< id << "]" << endl; 00020 description = "GassiplexStripChamber1"; 00021 type = GASSIPLEXSTRIPCHAMBER1; 00022 myIsValid = true; 00023 horizontal = _horizontal; 00024 init(); 00025 }
GassiplexStripChamber1::~GassiplexStripChamber1 | ( | ) |
unsigned int GassiplexStripChamber1::getNumberOfBoards | ( | ) | const [inline] |
Reimplemented from Chamber.
Definition at line 26 of file GassiplexStripChamber1.hh.
Referenced by getNumberOfGassiplexBoards().
bool GassiplexStripChamber1::getHorizontal | ( | ) | const [inline] |
Definition at line 27 of file GassiplexStripChamber1.hh.
Referenced by GassiplexStripChannel::GassiplexStripChannel().
00027 { return horizontal; }
unsigned int GassiplexStripChamber1::getNumberOfGassiplexBoards | ( | ) | const [inline, virtual] |
Reimplemented from Chamber.
Definition at line 28 of file GassiplexStripChamber1.hh.
00028 { return getNumberOfBoards(); }; // only reimplement in GassioplexBoard* class
const float GassiplexStripChamber1::getXGap | ( | ) | const [inline, virtual] |
const float GassiplexStripChamber1::getYGap | ( | ) | const [inline, virtual] |
void GassiplexStripChamber1::init | ( | ) | [private] |
Definition at line 36 of file GassiplexStripChamber1.cpp.
Referenced by GassiplexStripChamber1().
00037 { 00038 // the board ID is used to make the channel Id (see GassiplexChip.init()) PAD Side 00039 00040 00041 if ( horizontal ) 00042 { 00043 boards.insert(make_pair(1, new GassiplexBoardStrip(*this, 0, 0, 1, 96 , 1))); // Strip horizontal 00044 } 00045 else 00046 { 00047 boards.insert(make_pair(1, new GassiplexBoardStrip(*this, 0, 0, 96, 1 , 1))); // Strip vertical 00048 } 00049 }
bool GassiplexStripChamber1::horizontal [private] |
Definition at line 32 of file GassiplexStripChamber1.hh.
Referenced by GassiplexStripChamber1(), and init().