CMS 3D CMS Logo

Public Member Functions | Private Attributes

L1MuDTChambThDigi Class Reference

#include <L1MuDTChambThDigi.h>

List of all members.

Public Member Functions

int bxNum () const
int code (const int i) const
 L1MuDTChambThDigi ()
 L1MuDTChambThDigi (int ubx, int uwh, int usc, int ust, int *uos, int *uqual)
 L1MuDTChambThDigi (int ubx, int uwh, int usc, int ust, int *uos)
int position (const int i) const
int quality (const int i) const
int scNum () const
int stNum () const
int whNum () const
 ~L1MuDTChambThDigi ()

Private Attributes

int bx
myint8 m_outPos [7]
myint8 m_outQual [7]
int sector
int station
int wheel

Detailed Description

Definition at line 36 of file L1MuDTChambThDigi.h.


Constructor & Destructor Documentation

L1MuDTChambThDigi::L1MuDTChambThDigi ( )

Definition at line 36 of file L1MuDTChambThDigi.cc.

References i, and relativeConstraints::station.

                                     {

  bx              = -100;
  wheel           = 0;
  sector          = 0;
  station         = 0;

  for(int i=0;i<7;i++) {
    m_outPos[i] = 0;
    m_outQual[i] = 0;
  }
}
L1MuDTChambThDigi::L1MuDTChambThDigi ( int  ubx,
int  uwh,
int  usc,
int  ust,
int *  uos,
int *  uqual 
)

Definition at line 49 of file L1MuDTChambThDigi.cc.

References i, and relativeConstraints::station.

                                                              {

  bx              = ubx;
  wheel           = uwh;
  sector          = usc;
  station         = ust;

  for(int i=0;i<7;i++) {
    m_outPos[i] = upos[i];
    m_outQual[i] = uqual[i];
  }
}
L1MuDTChambThDigi::L1MuDTChambThDigi ( int  ubx,
int  uwh,
int  usc,
int  ust,
int *  uos 
)

Definition at line 63 of file L1MuDTChambThDigi.cc.

References i, and relativeConstraints::station.

                                                  {

  bx              = ubx;
  wheel           = uwh;
  sector          = usc;
  station         = ust;

  for(int i=0;i<7;i++) {
    m_outPos[i] = upos[i];
    m_outQual[i] = 0;
  }
}
L1MuDTChambThDigi::~L1MuDTChambThDigi ( )

Definition at line 80 of file L1MuDTChambThDigi.cc.

                                      {
}

Member Function Documentation

int L1MuDTChambThDigi::bxNum ( ) const

Definition at line 86 of file L1MuDTChambThDigi.cc.

                                   {
  return bx;
}
int L1MuDTChambThDigi::code ( const int  i) const

Definition at line 100 of file L1MuDTChambThDigi.cc.

References i.

                                             {
  if (i<0||i>=7) return 0;

  return (int)(m_outPos[i]+m_outQual[i]);
}
int L1MuDTChambThDigi::position ( const int  i) const

Definition at line 106 of file L1MuDTChambThDigi.cc.

References i.

Referenced by L1MuDTEtaProcessor::receiveData().

                                                 {
  if (i<0||i>=7) return 0;

  return (int)m_outPos[i];
}
int L1MuDTChambThDigi::quality ( const int  i) const

Definition at line 112 of file L1MuDTChambThDigi.cc.

References i.

Referenced by L1MuDTEtaProcessor::receiveData().

                                                {
  if (i<0||i>=7) return 0;

  return (int)m_outQual[i];
}
int L1MuDTChambThDigi::scNum ( ) const

Definition at line 93 of file L1MuDTChambThDigi.cc.

                                   {
  return sector;
}
int L1MuDTChambThDigi::stNum ( ) const

Definition at line 96 of file L1MuDTChambThDigi.cc.

References relativeConstraints::station.

                                   {
  return station;
}
int L1MuDTChambThDigi::whNum ( ) const

Definition at line 90 of file L1MuDTChambThDigi.cc.

                                   {
  return wheel;
}

Member Data Documentation

int L1MuDTChambThDigi::bx [private]

Definition at line 64 of file L1MuDTChambThDigi.h.

Definition at line 69 of file L1MuDTChambThDigi.h.

Definition at line 70 of file L1MuDTChambThDigi.h.

Definition at line 66 of file L1MuDTChambThDigi.h.

Definition at line 67 of file L1MuDTChambThDigi.h.

int L1MuDTChambThDigi::wheel [private]

Definition at line 65 of file L1MuDTChambThDigi.h.