#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 } |
Private Attributes | |
| UInt_t | m_tag |
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) |
Jun 2001 HK: not using pipeline, sequence anymore.. access and set functions for calorimeter log ids Jun 2001 Heather Kelly renamed LogID to LogId Version 1.0 21 Oct 1998 Richard creation Version 1.1 25 Oct 1999 R.Dubois Clone from LCD towerID
Definition at line 19 of file LogId.h.
|
|
|
orientation of the layer X logs are oriented along the X axis, measures Y Y logs are oriented along the Y axis, measures X |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 80 of file LogId.cxx. Referenced by isValidTagWord(). |
|
|
Definition at line 92 of file LogId.cxx. Referenced by setTag(). |
|
|
Definition at line 234 of file LogId.cxx. Referenced by fillTagStruct(). |
|
|
|
|
|
|
|
|
Definition at line 199 of file LogId.cxx. Referenced by CalLog::Compare(). |
|
|
Definition at line 249 of file LogId.cxx. Referenced by fillTagStruct(). |
|
|
|
|
|
|
|
|
Definition at line 219 of file LogId.cxx. Referenced by fillTagStruct(). |
|
|
|
|
|
Definition at line 260 of file LogId.cxx. Referenced by fillTagStruct(), and getLayer(). |
|
|
|
|
|
Definition at line 41 of file LogId.cxx. Referenced by isValidTagStruct(), and setColumn(). |
|
|
Definition at line 49 of file LogId.cxx. Referenced by isValidTagStruct(). |
|
|
Definition at line 58 of file LogId.cxx. Referenced by isValidTagWord(), and setTag(). |
|
|
Definition at line 69 of file LogId.cxx. Referenced by setTag(). |
|
|
|
|
|
Definition at line 184 of file LogId.cxx. Referenced by DigiEvent::getCalLog(). |
|
|
|
|
|
|
|
|
Definition at line 105 of file LogId.cxx. Referenced by CalLog::CalLog(), and LogId(). |
|
|
|
|
|
|
|
|
|
1.2.3 written by Dimitri van Heesch,
© 1997-2000