class TMuiChannelId

Contains the "software" representation of a MuID channel address

Public Fields

static const short kPlanesPerArm
Number of gaps in each arm.
static const short kPanelsPerPlane
Number of panels in a gap.
static const short kTwoPacksPerPlaneMax
Maximum number of two-packs in a given orientation/gap.
static const short kTwoPacksPerPanelMax
Number of two-packs of a single orientation in a panel.
static const short kArmsTotal
Number of arms in the system.
static const short kPlanesTotal
Number of gaps total in the system.
static const short kPanelsTotal
Number of panels total in the system.
static const short kPanelsXYTotal
= kPanelsTotal * kOrientations
static const short kOrientations
Number of two-pack orientations = 2 (HORIZ, VERT).
static const short kTwoPacksMaxTotal
Upper limit on the number of two-packs in the system.
static const short kHitsPerPanelMax
Maximum allowed raw hits per panel.
static const short kHitsMaxTotal
Maximum allowed raw hits in entire MuID.

Public Methods

TMuiChannelId(const short& arm=-1, const short& plane=-1, const short& panel=-1, const EOrient_t& orient=kHORIZ, const short& twopack=-1)
Constructor.
TMuiChannelId(const TMuiChannelId& orig)
Copy constructor.
TMuiChannelId& operator=(const TMuiChannelId& orig)
Assignment operator.
~TMuiChannelId()
Destructor.
short Arm() const
Arm identifier (0 - South, 1 - North)
short Plane() const
Gap identifier (0-4)
short Panel() const
Panel identifier (0-5)
EOrient_t Orient() const
Orientation of two-pack (kHORIZ or kVERT).
short TwoPack() const
Two-pack ident (starts at 0)
void Set(const short& arm, const short& plane, const short& panel, const EOrient_t& orient = kHORIZ, const short& twopack = -1)
Set the sub-identifiers.
void SetID(const short& arm, const short& plane, const short& panel, const short& orient = kHORIZ, const short& twopack = -1)
Set the sub-identifiers.

Documentation

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

Indexing a MuID readout channel (in the "software" scheme) requires five numbers:

  1. the arm number, fArm (0 - North, 1 - South)
  2. the gap or plane number in the arm, fPlane (0-4)
  3. the panel number within the plane, fPanel (0-5)
  4. the tube orientation, fOrientation ("kHORIZ" - horizontal, "kVERT" - vertical)
  5. the tube number within the panel for the given orientation, fTwoPack (0 - some panel-dependent value)

static const short kPlanesPerArm
Number of gaps in each arm.

static const short kPanelsPerPlane
Number of panels in a gap.

static const short kTwoPacksPerPlaneMax
Maximum number of two-packs in a given orientation/gap.

static const short kTwoPacksPerPanelMax
Number of two-packs of a single orientation in a panel.

static const short kArmsTotal
Number of arms in the system.

static const short kPlanesTotal
Number of gaps total in the system.

static const short kPanelsTotal
Number of panels total in the system.

static const short kPanelsXYTotal
= kPanelsTotal * kOrientations

static const short kOrientations
Number of two-pack orientations = 2 (HORIZ, VERT).

static const short kTwoPacksMaxTotal
Upper limit on the number of two-packs in the system.

static const short kHitsPerPanelMax
Maximum allowed raw hits per panel.

static const short kHitsMaxTotal
Maximum allowed raw hits in entire MuID.

TMuiChannelId(const short& arm=-1, const short& plane=-1, const short& panel=-1, const EOrient_t& orient=kHORIZ, const short& twopack=-1)
Constructor.

TMuiChannelId(const TMuiChannelId& orig)
Copy constructor.

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

~TMuiChannelId()
Destructor.

short Arm() const
Arm identifier (0 - South, 1 - North)

short Plane() const
Gap identifier (0-4)

short Panel() const
Panel identifier (0-5)

EOrient_t Orient() const
Orientation of two-pack (kHORIZ or kVERT).

short TwoPack() const
Two-pack ident (starts at 0)

void Set(const short& arm, const short& plane, const short& panel, const EOrient_t& orient = kHORIZ, const short& twopack = -1)
Set the sub-identifiers.

void SetID(const short& arm, const short& plane, const short& panel, const short& orient = kHORIZ, const short& twopack = -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