#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. More... | |
| UShort_t | getId () const |
| returns strip id in [0,1599]. More... | |
| UChar_t | getCable () const |
| returns cable number used to readout this strip. More... | |
| UShort_t | getController () const |
| returns the controller bit. More... | |
| UShort_t | getTower () const |
| returns the tower number. More... | |
| 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. More... | |
| UChar_t | m_cable |
| stores cable number [0-7]. More... | |
Definition at line 19 of file StripId.h.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 30 of file StripId.cxx. |
|
|
Definition at line 49 of file StripId.cxx. |
|
|
returns cable number used to readout this strip.
|
|
|
returns the controller bit.
|
|
|
returns strip id in [0,1599].
Definition at line 68 of file StripId.h. Referenced by Compare(). |
|
|
returns the whole packed tag for this strip.
|
|
|
returns the tower number.
|
|
|
Definition at line 86 of file StripId.cxx. |
|
|
Definition at line 64 of file StripId.cxx. Referenced by setCable(). |
|
|
Definition at line 53 of file StripId.cxx. |
|
|
|
|
|
Definition at line 75 of file StripId.cxx. |
|
|
stores cable number [0-7].
|
|
|
packed word containing strip data.
|
1.2.3 written by Dimitri van Heesch,
© 1997-2000