class TMuiReadoutID

Contains the "hardware" representation of a MuID channel address

Public Fields

static const short kROCsPerFEM
Number of ROCs per FEM.
static const short kWordsPerROC
Number of words per ROC.
static const short kWordsPerFEM
Number of words per FEM.
static const short kChannelsPerWord
Number of channels per word.
static const short kFEMsTotal
Number of FEMs in the system.
static const short kROCsTotal
Number of ROCs in the system.
static const short kWordsTotal
Number of words in the system.
static const short kChannelsTotal
Number of channels in the system.

Public Methods

TMuiReadoutID(const unsigned long& module_id=0, const short& roc=-1, const short& word=-1, const short& channel=-1, const short& word_index=-1)
Constructor (FEM specified by module ID).
TMuiReadoutID(const TMuiReadoutID& orig)
Copy constructor.
TMuiReadoutID& operator=(const TMuiReadoutID& orig)
Assignment operator.
~TMuiReadoutID()
Destructor.
unsigned long ModuleID() const
front-end module id (0x0000, 0x0010, 0x1000, or 0x1010)
short FEM() const
FEM identifier (0-3)
short ROC() const
ROC identifier within FEM (0-19)
short Word() const
word identifier within ROC (0-5)
short Channel() const
channel identifier within word (0-15)
unsigned short BitPattern() const
Bit pattern for this channel (0x0 - 0xFFFF)
short WordIndex() const
Position of the channel in the word list (0-119).
bool IsValid() const
Return true if all sub-identifiers are in range.
void Set(const unsigned long& module_id, const short& roc, const short& word, const short& channel, const short& word_index=-1)
Set the sub-identifiers.

Documentation

Contains the "hardware" representation of a MuID channel address.

Indexing a MuID readout channel (in the "hardware" scheme) requires four numbers:

  1. the front-end module (FEM) number, fFEM (0-3),
  2. the readout card (ROC) number within the FEM, fROC (0-19)
  3. the word or cable number within the ROC, fWord (0-5)
  4. the bit or channel number within the word, fChannel (0-15)

static const short kROCsPerFEM
Number of ROCs per FEM.

static const short kWordsPerROC
Number of words per ROC.

static const short kWordsPerFEM
Number of words per FEM.

static const short kChannelsPerWord
Number of channels per word.

static const short kFEMsTotal
Number of FEMs in the system.

static const short kROCsTotal
Number of ROCs in the system.

static const short kWordsTotal
Number of words in the system.

static const short kChannelsTotal
Number of channels in the system.

TMuiReadoutID(const unsigned long& module_id=0, const short& roc=-1, const short& word=-1, const short& channel=-1, const short& word_index=-1)
Constructor (FEM specified by module ID).

TMuiReadoutID(const TMuiReadoutID& orig)
Copy constructor.

TMuiReadoutID& operator=(const TMuiReadoutID& orig)
Assignment operator.

~TMuiReadoutID()
Destructor.

unsigned long ModuleID() const
front-end module id (0x0000, 0x0010, 0x1000, or 0x1010)

short FEM() const
FEM identifier (0-3)

short ROC() const
ROC identifier within FEM (0-19)

short Word() const
word identifier within ROC (0-5)

short Channel() const
channel identifier within word (0-15)

unsigned short BitPattern() const
Bit pattern for this channel (0x0 - 0xFFFF)

short WordIndex() const
Position of the channel in the word list (0-119).

bool IsValid() const
Return true if all sub-identifiers are in range.

void Set(const unsigned long& module_id, const short& roc, const short& word, const short& channel, const short& word_index=-1)
Set the sub-identifiers.


This class has no child classes.
Author:
Kyle Pope mailto:pope@phy.ornl.gov

alphabetic index hierarchy of classes


this page has been generated automatically by doc++

(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de