CMS 3D CMS Logo

L1MuDTChambThDigi Class Reference

#include <DataFormats/L1DTTrackFinder/interface/L1MuDTChambThDigi.h>

List of all members.

Public Member Functions

int bxNum () const
int code (const int i) const
 L1MuDTChambThDigi (int ubx, int uwh, int usc, int ust, int *uos)
 L1MuDTChambThDigi (int ubx, int uwh, int usc, int ust, int *uos, int *uqual)
 L1MuDTChambThDigi ()
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 bx, i, m_outPos, m_outQual, sector, station, and wheel.

00036                                      {
00037 
00038   bx              = -100;
00039   wheel           = 0;
00040   sector          = 0;
00041   station         = 0;
00042 
00043   for(int i=0;i<7;i++) {
00044     m_outPos[i] = 0;
00045     m_outQual[i] = 0;
00046   }
00047 }

L1MuDTChambThDigi::L1MuDTChambThDigi ( int  ubx,
int  uwh,
int  usc,
int  ust,
int uos,
int uqual 
)

Definition at line 49 of file L1MuDTChambThDigi.cc.

References bx, i, m_outPos, m_outQual, sector, station, and wheel.

00050                                                               {
00051 
00052   bx              = ubx;
00053   wheel           = uwh;
00054   sector          = usc;
00055   station         = ust;
00056 
00057   for(int i=0;i<7;i++) {
00058     m_outPos[i] = upos[i];
00059     m_outQual[i] = uqual[i];
00060   }
00061 }

L1MuDTChambThDigi::L1MuDTChambThDigi ( int  ubx,
int  uwh,
int  usc,
int  ust,
int uos 
)

Definition at line 63 of file L1MuDTChambThDigi.cc.

References bx, i, m_outPos, m_outQual, sector, station, and wheel.

00064                                                   {
00065 
00066   bx              = ubx;
00067   wheel           = uwh;
00068   sector          = usc;
00069   station         = ust;
00070 
00071   for(int i=0;i<7;i++) {
00072     m_outPos[i] = upos[i];
00073     m_outQual[i] = 0;
00074   }
00075 }

L1MuDTChambThDigi::~L1MuDTChambThDigi (  ) 

Definition at line 80 of file L1MuDTChambThDigi.cc.

00080                                       {
00081 }


Member Function Documentation

int L1MuDTChambThDigi::bxNum (  )  const

Definition at line 86 of file L1MuDTChambThDigi.cc.

References bx.

00086                                    {
00087   return bx;
00088 }

int L1MuDTChambThDigi::code ( const int  i  )  const

Definition at line 100 of file L1MuDTChambThDigi.cc.

References m_outPos, and m_outQual.

00100                                              {
00101   if (i<0||i>=7) return 0;
00102 
00103   return (int)(m_outPos[i]+m_outQual[i]);
00104 }

int L1MuDTChambThDigi::position ( const int  i  )  const

Definition at line 106 of file L1MuDTChambThDigi.cc.

References m_outPos.

Referenced by L1MuDTEtaProcessor::receiveData().

00106                                                  {
00107   if (i<0||i>=7) return 0;
00108 
00109   return (int)m_outPos[i];
00110 }

int L1MuDTChambThDigi::quality ( const int  i  )  const

Definition at line 112 of file L1MuDTChambThDigi.cc.

References m_outQual.

Referenced by L1MuDTEtaProcessor::receiveData().

00112                                                 {
00113   if (i<0||i>=7) return 0;
00114 
00115   return (int)m_outQual[i];
00116 }

int L1MuDTChambThDigi::scNum (  )  const

Definition at line 93 of file L1MuDTChambThDigi.cc.

References sector.

00093                                    {
00094   return sector;
00095 }

int L1MuDTChambThDigi::stNum (  )  const

Definition at line 96 of file L1MuDTChambThDigi.cc.

References station.

00096                                    {
00097   return station;
00098 }

int L1MuDTChambThDigi::whNum (  )  const

Definition at line 90 of file L1MuDTChambThDigi.cc.

References wheel.

00090                                    {
00091   return wheel;
00092 }


Member Data Documentation

int L1MuDTChambThDigi::bx [private]

Definition at line 64 of file L1MuDTChambThDigi.h.

Referenced by bxNum(), and L1MuDTChambThDigi().

myint8 L1MuDTChambThDigi::m_outPos[7] [private]

Definition at line 69 of file L1MuDTChambThDigi.h.

Referenced by code(), L1MuDTChambThDigi(), and position().

myint8 L1MuDTChambThDigi::m_outQual[7] [private]

Definition at line 70 of file L1MuDTChambThDigi.h.

Referenced by code(), L1MuDTChambThDigi(), and quality().

int L1MuDTChambThDigi::sector [private]

Definition at line 66 of file L1MuDTChambThDigi.h.

Referenced by L1MuDTChambThDigi(), and scNum().

int L1MuDTChambThDigi::station [private]

Definition at line 67 of file L1MuDTChambThDigi.h.

Referenced by L1MuDTChambThDigi(), and stNum().

int L1MuDTChambThDigi::wheel [private]

Definition at line 65 of file L1MuDTChambThDigi.h.

Referenced by L1MuDTChambThDigi(), and whNum().


The documentation for this class was generated from the following files:
Generated on Tue Jun 9 18:26:47 2009 for CMSSW by  doxygen 1.5.4