CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
L1MuDTChambThDigi Class Reference

#include <L1MuDTChambThDigi.h>

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 35 of file L1MuDTChambThDigi.cc.

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

35  {
36 
37  bx = -100;
38  wheel = 0;
39  sector = 0;
40  station = 0;
41 
42  for(int i=0;i<7;i++) {
43  m_outPos[i] = 0;
44  m_outQual[i] = 0;
45  }
46 }
L1MuDTChambThDigi::L1MuDTChambThDigi ( int  ubx,
int  uwh,
int  usc,
int  ust,
int *  uos,
int *  uqual 
)

Definition at line 48 of file L1MuDTChambThDigi.cc.

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

49  {
50 
51  bx = ubx;
52  wheel = uwh;
53  sector = usc;
54  station = ust;
55 
56  for(int i=0;i<7;i++) {
57  m_outPos[i] = upos[i];
58  m_outQual[i] = uqual[i];
59  }
60 }
L1MuDTChambThDigi::L1MuDTChambThDigi ( int  ubx,
int  uwh,
int  usc,
int  ust,
int *  uos 
)

Definition at line 62 of file L1MuDTChambThDigi.cc.

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

63  {
64 
65  bx = ubx;
66  wheel = uwh;
67  sector = usc;
68  station = ust;
69 
70  for(int i=0;i<7;i++) {
71  m_outPos[i] = upos[i];
72  m_outQual[i] = 0;
73  }
74 }
L1MuDTChambThDigi::~L1MuDTChambThDigi ( )

Definition at line 79 of file L1MuDTChambThDigi.cc.

79  {
80 }

Member Function Documentation

int L1MuDTChambThDigi::bxNum ( ) const

Definition at line 85 of file L1MuDTChambThDigi.cc.

References bx.

Referenced by L1TMuon::TriggerPrimitive::TriggerPrimitive().

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

Definition at line 99 of file L1MuDTChambThDigi.cc.

References mps_fire::i, m_outPos, and m_outQual.

Referenced by L1TMuon::TriggerPrimitive::TriggerPrimitive().

99  {
100  if (i<0||i>=7) return 0;
101 
102  return (int)(m_outPos[i]+m_outQual[i]);
103 }
int L1MuDTChambThDigi::position ( const int  i) const
int L1MuDTChambThDigi::quality ( const int  i) const
int L1MuDTChambThDigi::scNum ( ) const
int L1MuDTChambThDigi::stNum ( ) const
int L1MuDTChambThDigi::whNum ( ) const

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
int L1MuDTChambThDigi::station
private
int L1MuDTChambThDigi::wheel
private