#include <GassiplexStripChannel.hh>
Inheritance diagram for GassiplexStripChannel:
Public Member Functions | |
GassiplexStripChannel (const Chip &, const i32 aX, const i32 aY, const i32 aId) | |
~GassiplexStripChannel () | |
const ui32 | getXLength () const |
const ui32 | getYLength () const |
Private Attributes | |
ui32 | xLenght |
ui32 | yLenght |
Definition at line 20 of file GassiplexStripChannel.hh.
GassiplexStripChannel::GassiplexStripChannel | ( | const Chip & | , | |
const i32 | aX, | |||
const i32 | aY, | |||
const i32 | aId | |||
) |
Definition at line 18 of file GassiplexStripChannel.cpp.
00018 :Channel(aChip, "GassiplexStripChannel channel",aColumn,aRow,aId), xLenght(0), yLenght(0) 00019 { 00020 //FILE_LOG(logDEBUG) << "------GassiplexStripChannel constructor.:hardId: "<< hardId << " ,column: " << column << " ,row: " << row << endl; 00021 try 00022 { 00023 const GassiplexStripChamber1 &chamber = dynamic_cast< const GassiplexStripChamber1 &> (this->getChip().getBoard().getChamber()); 00024 if (chamber.getHorizontal() == true ) 00025 { // Strip horizontal 00026 this->xLenght = 250; // in micrometer 00027 this->yLenght = 100000; // in micrometer 00028 } 00029 else 00030 { // Strip vertical 00031 this->xLenght = 100000; ;// in micrometer => 10 cm 00032 this->yLenght = 250; ;// in micrometer => 10 cm 00033 } 00034 } 00035 catch (...) 00036 { 00037 exit(-1); 00038 } 00039 00040 00041 }
GassiplexStripChannel::~GassiplexStripChannel | ( | ) |
const ui32 GassiplexStripChannel::getXLength | ( | ) | const [inline, virtual] |
Implements Channel.
Definition at line 32 of file GassiplexStripChannel.hh.
00032 { return xLenght;} ;
const ui32 GassiplexStripChannel::getYLength | ( | ) | const [inline, virtual] |
Implements Channel.
Definition at line 33 of file GassiplexStripChannel.hh.
00033 { return yLenght;} ;
ui32 GassiplexStripChannel::xLenght [private] |
Definition at line 33 of file GassiplexStripChannel.hh.
Referenced by GassiplexStripChannel(), and getXLength().
ui32 GassiplexStripChannel::yLenght [private] |