#include <Chamber.hh>
Public Member Functions | |
unsigned int | getNumberOfBoards () const |
BoardMap_t | getBoards (void) const |
void | setDescription (const std::string aDesc) |
std::string | getDescription () const |
std::string | getType () const |
const Channel & | getChannelById (const i32 channelId, const i32 chipId=-1, const i32 difId=-1) const |
const BoardMap_t & | getBoardsByDifId (const i32 difId) const |
void | addDif (Dif *dif) |
void | addBoard (Board *board) |
i32 | getX (void) const |
void | setX (const i32 aX) |
i32 | getY (void) const |
void | setY (const i32 aY) |
i32 | getZ (void) const |
void | setZ (const i32 aZ) |
i32 | getId (void) const |
void | setId (const i32 aId) |
virtual const ui32 | getXLength () const =0 |
virtual const ui32 | getYLength () const =0 |
virtual const ui32 | getXGap () const =0 |
virtual const ui32 | getYGap () const =0 |
Protected Member Functions | |
Chamber (const i32 xPos, const i32 yPos, const i32 zPos, const ui32 nbColumns, const ui32 nbRows, const i32 id) | |
Chamber (const Chamber &source) | |
Chamber & | operator= (const Chamber &source) |
std::ostream & | operator<< (std::ostream &out) const |
virtual | ~Chamber () |
Protected Attributes | |
i32 | xPos |
i32 | yPos |
i32 | zPos |
i32 | id |
std::string | description |
BoardMap_t | boards |
std::string | type |
ui32 | nbColumns |
ui32 | nbRows |
DifMap_t | difs |
Friends | |
class | Detector |
std::ostream & | operator<< (std::ostream &out, const Chamber &x) |
Definition at line 27 of file Chamber.hh.
Chamber::Chamber | ( | const i32 | xPos, | |
const i32 | yPos, | |||
const i32 | zPos, | |||
const ui32 | nbColumns, | |||
const ui32 | nbRows, | |||
const i32 | id | |||
) | [protected] |
Chamber::Chamber | ( | const Chamber & | source | ) | [protected] |
virtual Chamber::~Chamber | ( | ) | [protected, virtual] |
std::ostream& Chamber::operator<< | ( | std::ostream & | out | ) | const [protected] |
unsigned int Chamber::getNumberOfBoards | ( | ) | const [inline] |
Reimplemented in DiracChamber1, GassiplexChamber1, GassiplexChamber4, and HardRockChamber6.
Definition at line 40 of file Chamber.hh.
00040 { return(boards.size()); };
BoardMap_t Chamber::getBoards | ( | void | ) | const [inline] |
void Chamber::setDescription | ( | const std::string | aDesc | ) | [inline] |
std::string Chamber::getDescription | ( | ) | const [inline] |
std::string Chamber::getType | ( | ) | const [inline] |
const Channel& Chamber::getChannelById | ( | const i32 | channelId, | |
const i32 | chipId = -1 , |
|||
const i32 | difId = -1 | |||
) | const |
const BoardMap_t& Chamber::getBoardsByDifId | ( | const i32 | difId | ) | const |
void Chamber::addDif | ( | Dif * | dif | ) |
void Chamber::addBoard | ( | Board * | board | ) |
i32 Chamber::getX | ( | void | ) | const [inline] |
void Chamber::setX | ( | const i32 | aX | ) | [inline] |
i32 Chamber::getY | ( | void | ) | const [inline] |
void Chamber::setY | ( | const i32 | aY | ) | [inline] |
i32 Chamber::getZ | ( | void | ) | const [inline] |
void Chamber::setZ | ( | const i32 | aZ | ) | [inline] |
i32 Chamber::getId | ( | void | ) | const [inline] |
void Chamber::setId | ( | const i32 | aId | ) | [inline] |
virtual const ui32 Chamber::getXLength | ( | ) | const [pure virtual] |
Implemented in DiracChamber1, GassiplexChamber1, GassiplexChamber4, and HardRockChamber6.
Referenced by main().
virtual const ui32 Chamber::getYLength | ( | ) | const [pure virtual] |
Implemented in DiracChamber1, GassiplexChamber1, GassiplexChamber4, and HardRockChamber6.
Referenced by main().
virtual const ui32 Chamber::getXGap | ( | ) | const [pure virtual] |
Implemented in DiracChamber1, GassiplexChamber1, GassiplexChamber4, and HardRockChamber6.
virtual const ui32 Chamber::getYGap | ( | ) | const [pure virtual] |
Implemented in DiracChamber1, GassiplexChamber1, GassiplexChamber4, and HardRockChamber6.
friend class Detector [friend] |
Definition at line 29 of file Chamber.hh.
std::ostream& operator<< | ( | std::ostream & | out, | |
const Chamber & | x | |||
) | [friend] |
i32 Chamber::xPos [protected] |
i32 Chamber::yPos [protected] |
i32 Chamber::zPos [protected] |
i32 Chamber::id [protected] |
std::string Chamber::description [protected] |
the chamber unique id
Definition at line 78 of file Chamber.hh.
Referenced by getDescription(), and setDescription().
BoardMap_t Chamber::boards [protected] |
short description
Definition at line 79 of file Chamber.hh.
Referenced by getBoards(), and getNumberOfBoards().
std::string Chamber::type [protected] |
the list of boards which compose the chamber
Definition at line 80 of file Chamber.hh.
Referenced by getType().
ui32 Chamber::nbColumns [protected] |
the type of the chamber
Definition at line 81 of file Chamber.hh.
ui32 Chamber::nbRows [protected] |
Definition at line 81 of file Chamber.hh.
DifMap_t Chamber::difs [protected] |
number of board row and column
Definition at line 82 of file Chamber.hh.