#include <Channel.hh>


Public Member Functions | |
| Channel (const Chip &, const std::string description, const i32 aCol, const i32 aRow, const i32 aId) | |
| Channel (const Channel &source) | |
| Channel & | operator= (const Channel &source) |
| virtual | ~Channel () |
| std::string | getDescription () const |
| void | print () const |
| const Chip & | getChip () const |
| const Chamber & | getChamber () const |
| int | getColumn (void) const |
| void | setColumn (int aColumn) |
| int | getRow (void) const |
| void | setRow (int aRow) |
| ui32 | getHardId (void) const |
| ui32 | getSoftId (void) const |
| i32 | getX () const |
| i32 | getY () const |
| i32 | getZ () const |
| virtual const ui32 | getXLength () const =0 |
| virtual const ui32 | getYLength () const =0 |
| virtual bool | valueIsValid (const int value) |
Protected Attributes | |
| const Chip & | chip |
| std::string | description |
| ui32 | hardId |
| ui32 | column |
| ui32 | row |
Friends | |
| std::ostream & | operator<< (std::ostream &out, const Channel &x) |
Definition at line 27 of file Channel.hh.
| Channel::Channel | ( | const Chip & | , | |
| const std::string | description, | |||
| const i32 | aCol, | |||
| const i32 | aRow, | |||
| const i32 | aId | |||
| ) |
| Channel::Channel | ( | const Channel & | source | ) |
| virtual Channel::~Channel | ( | ) | [virtual] |
| std::string Channel::getDescription | ( | ) | const [inline] |
| void Channel::print | ( | ) | const |
| const Chip& Channel::getChip | ( | ) | const [inline] |
| const Chamber& Channel::getChamber | ( | ) | const |
| int Channel::getColumn | ( | void | ) | const [inline] |
| void Channel::setColumn | ( | int | aColumn | ) | [inline] |
| int Channel::getRow | ( | void | ) | const [inline] |
| void Channel::setRow | ( | int | aRow | ) | [inline] |
| ui32 Channel::getHardId | ( | void | ) | const [inline] |
| ui32 Channel::getSoftId | ( | void | ) | const |
ui32 result = 100000000 * getChamber().getId() + 1000000 * difId + 10000 * getChip().getId() + 100 * getColumn() + getRow()
chamber id < 41 dif id < 100 chip id < 100 colomn < 100 row < 100
Referenced by main().
| i32 Channel::getX | ( | ) | const |
X, Y 'world'position
Referenced by main().
| i32 Channel::getY | ( | ) | const |
Referenced by main().
| i32 Channel::getZ | ( | ) | const |
Referenced by main().
| virtual const ui32 Channel::getXLength | ( | ) | const [pure virtual] |
| virtual const ui32 Channel::getYLength | ( | ) | const [pure virtual] |
| virtual bool Channel::valueIsValid | ( | const int | value | ) | [inline, virtual] |
| std::ostream& operator<< | ( | std::ostream & | out, | |
| const Channel & | x | |||
| ) | [friend] |
const Chip& Channel::chip [protected] |
std::string Channel::description [protected] |
the chip this channel belongs to
Definition at line 83 of file Channel.hh.
ui32 Channel::hardId [protected] |
ui32 Channel::column [protected] |
unique within a chamber
Definition at line 85 of file Channel.hh.
Referenced by getColumn(), and setColumn().
ui32 Channel::row [protected] |
1.5.8