CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 36 of file L1MuDTChambThDigi.cc.

References i, and relativeConstraints::station.

36  {
37 
38  bx = -100;
39  wheel = 0;
40  sector = 0;
41  station = 0;
42 
43  for(int i=0;i<7;i++) {
44  m_outPos[i] = 0;
45  m_outQual[i] = 0;
46  }
47 }
int i
Definition: DBlmapReader.cc:9
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.

50  {
51 
52  bx = ubx;
53  wheel = uwh;
54  sector = usc;
55  station = ust;
56 
57  for(int i=0;i<7;i++) {
58  m_outPos[i] = upos[i];
59  m_outQual[i] = uqual[i];
60  }
61 }
int i
Definition: DBlmapReader.cc:9
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.

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

Definition at line 80 of file L1MuDTChambThDigi.cc.

80  {
81 }

Member Function Documentation

int L1MuDTChambThDigi::bxNum ( ) const

Definition at line 86 of file L1MuDTChambThDigi.cc.

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

Definition at line 100 of file L1MuDTChambThDigi.cc.

References i.

100  {
101  if (i<0||i>=7) return 0;
102 
103  return (int)(m_outPos[i]+m_outQual[i]);
104 }
int i
Definition: DBlmapReader.cc:9
int L1MuDTChambThDigi::position ( const int  i) const

Definition at line 106 of file L1MuDTChambThDigi.cc.

References i.

Referenced by L1TMuon::DTCollector::findBTIGroupForThetaDigi().

106  {
107  if (i<0||i>=7) return 0;
108 
109  return (int)m_outPos[i];
110 }
int i
Definition: DBlmapReader.cc:9
int L1MuDTChambThDigi::quality ( const int  i) const

Definition at line 112 of file L1MuDTChambThDigi.cc.

References i.

112  {
113  if (i<0||i>=7) return 0;
114 
115  return (int)m_outQual[i];
116 }
int i
Definition: DBlmapReader.cc:9
int L1MuDTChambThDigi::scNum ( ) const

Definition at line 93 of file L1MuDTChambThDigi.cc.

Referenced by L1TMuon::DTCollector::processDigis().

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

Definition at line 96 of file L1MuDTChambThDigi.cc.

References relativeConstraints::station.

Referenced by L1TMuon::DTCollector::processDigis().

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

Definition at line 90 of file L1MuDTChambThDigi.cc.

Referenced by L1TMuon::DTCollector::processDigis().

90  {
91  return wheel;
92 }

Member Data Documentation

int L1MuDTChambThDigi::bx
private

Definition at line 64 of file L1MuDTChambThDigi.h.

myint8 L1MuDTChambThDigi::m_outPos[7]
private

Definition at line 69 of file L1MuDTChambThDigi.h.

myint8 L1MuDTChambThDigi::m_outQual[7]
private

Definition at line 70 of file L1MuDTChambThDigi.h.

int L1MuDTChambThDigi::sector
private

Definition at line 66 of file L1MuDTChambThDigi.h.

int L1MuDTChambThDigi::station
private

Definition at line 67 of file L1MuDTChambThDigi.h.

int L1MuDTChambThDigi::wheel
private

Definition at line 65 of file L1MuDTChambThDigi.h.