Main Page   Class Hierarchy   Compound List   File List   Compound Members  

StripId Class Reference

Stores the data for a single hit TKR strip. Provides all necessary data to identify the location of this strip and the controller used to read it out - determines which ToT value this strip corresponds to. More...

#include <StripId.h>

Inheritance diagram for StripId::

List of all members.

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].


Detailed Description

Stores the data for a single hit TKR strip. Provides all necessary data to identify the location of this strip and the controller used to read it out - determines which ToT value this strip corresponds to.


The documentation for this class was generated from the following files:
Generated on Wed Oct 31 11:20:18 2001 for digiRootData by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001