#include <StripId.h>
Inheritance diagram for StripId::
Public Types | |
enum | { STRIP_CTRL_LEFT = 0, STRIP_CTRL_RIGHT = 1 } |
Public Methods | |
StripId () | |
virtual | ~StripId () |
UShort_t | getTag () const |
returns the whole packed tag for this strip. | |
UShort_t | getId () const |
returns strip id in [0,1599]. | |
UChar_t | getCable () const |
returns cable number used to readout this strip. | |
UShort_t | getController () const |
returns the controller bit. | |
UShort_t | getTower () const |
returns the tower number. | |
Bool_t | setTag (UShort_t tagVal) |
Bool_t | setStrip (UShort_t stripVal) |
Bool_t | setCable (UChar_t cableVal, UChar_t cntrl=0) |
Bool_t | setController (UShort_t ctrlVal) |
Bool_t | setTower (UShort_t towerVal) |
Int_t | Compare (TObject *obj) |
Bool_t | IsSortable () const |
Private Types | |
enum | { TKR_K_STRIP = 11, TKR_V_STRIP = 0, TKR_M_STRIP = ((1 << TKR_K_STRIP) - 1), TKR_K_CTRL = 1, TKR_V_CTRL = (TKR_K_STRIP + TKR_V_STRIP), TKR_M_CTRL = ((1 << TKR_K_CTRL) - 1), TKR_K_TOWER = 4, TKR_V_TOWER = (TKR_K_CTRL + TKR_V_CTRL), TKR_M_TOWER = ((1 << TKR_K_TOWER) - 1) } |
Private Attributes | |
UShort_t | m_tag |
packed word containing strip data. | |
UChar_t | m_cable |
stores cable number [0-7]. |