#include <LogId.h>
Inheritance diagram for LogId::
Public Types | |
enum | CALAxes { X = 0, Y } |
Public Methods | |
LogId () | |
LogId (UInt_t tag) | |
LogId (UShort_t tower, UShort_t layer, UShort_t column) | |
virtual | ~LogId () |
UInt_t | getTag () const |
UShort_t | getColumn () const |
UShort_t | getLayer () const |
UShort_t | getTower () const |
UInt_t | getId () const |
CALAxes | getXY () const |
Bool_t | setTag (UInt_t tagVal) |
Bool_t | setTag (TAG_STRUCT *ts) |
Bool_t | setColumn (UInt_t columnVal) |
Bool_t | setLayer (UInt_t layerVal) |
Bool_t | setTower (UInt_t towerVal) |
Bool_t | setXY (CALAxes xyVal) |
Bool_t | setId (UShort_t tower, UShort_t layer, UShort_t column) |
Static Public Methods | |
UInt_t | fillTagWord (LogId::TAG_STRUCT *ts) |
void | fillTagStruct (UInt_t tagVal, LogId::TAG_STRUCT *ts) |
Private Types | |
enum | { CAL_K_XY = 1, CAL_V_XY = 0, CAL_M_XY = ((1 << CAL_K_XY) - 1), CAL_K_SEQ = 3, CAL_V_SEQ = (CAL_V_XY + CAL_K_XY), CAL_M_SEQ = ((1 << CAL_K_SEQ) - 1), CAL_K_PIPE = 3, CAL_V_PIPE = (CAL_V_SEQ + CAL_K_SEQ), CAL_M_PIPE = ((1 << CAL_K_PIPE) - 1), CAL_K_ID = (CAL_K_XY + CAL_K_SEQ + CAL_K_PIPE), CAL_V_ID = CAL_V_XY, CAL_M_ID = ((1 << CAL_K_ID) - 1), CAL_K_LAYER = 2, CAL_V_LAYER = (CAL_V_PIPE + CAL_K_PIPE), CAL_M_LAYER = ((1 << CAL_K_LAYER) - 1), CAL_K_COLUMN = 4, CAL_V_COLUMN = (CAL_V_LAYER + CAL_K_LAYER), CAL_M_COLUMN = ((1 << CAL_K_COLUMN) - 1), CAL_K_TOWER = 4, CAL_V_TOWER = (CAL_V_COLUMN + CAL_K_COLUMN), CAL_M_TOWER = ((1 << CAL_K_TOWER) - 1), CAL_K_NEWID = (CAL_K_LAYER + CAL_K_COLUMN + CAL_K_TOWER), CAL_V_NEWID = CAL_V_LAYER, CAL_M_NEWID = ((1 << CAL_K_ID) - 1), BOUNDS_LAYER = 7, BOUNDS_COLUMN = 9, BOUNDS_PIPE = 4 } |
Static Private Methods | |
Bool_t | isValidTagStruct (LogId::TAG_STRUCT ts) |
Bool_t | isValidTagWord (UInt_t tagWord) |
Bool_t | isValidColumn (UInt_t columnVal) |
Bool_t | isValidLayer (UInt_t layerVal) |
UShort_t | getTower (UInt_t tagWord) |
UShort_t | getColumn (UInt_t tagWord) |
UShort_t | getLayer (UInt_t tagWord) |
UInt_t | getId (UInt_t tagWord) |
UShort_t | getXY (UInt_t tagWord) |
Private Attributes | |
UInt_t | m_tag |
|
orientation of the layer X logs are oriented along the X axis, measures Y Y logs are oriented along the Y axis, measures X |