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 33 of file L1MuDTChambThDigi.h.

Constructor & Destructor Documentation

◆ L1MuDTChambThDigi() [1/3]

L1MuDTChambThDigi::L1MuDTChambThDigi ( )

Definition at line 33 of file L1MuDTChambThDigi.cc.

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

33  {
34  bx = -100;
35  wheel = 0;
36  sector = 0;
37  station = 0;
38 
39  for (int i = 0; i < 7; i++) {
40  m_outPos[i] = 0;
41  m_outQual[i] = 0;
42  }
43 }

◆ L1MuDTChambThDigi() [2/3]

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

Definition at line 45 of file L1MuDTChambThDigi.cc.

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

45  {
46  bx = ubx;
47  wheel = uwh;
48  sector = usc;
49  station = ust;
50 
51  for (int i = 0; i < 7; i++) {
52  m_outPos[i] = upos[i];
53  m_outQual[i] = uqual[i];
54  }
55 }

◆ L1MuDTChambThDigi() [3/3]

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

Definition at line 57 of file L1MuDTChambThDigi.cc.

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

57  {
58  bx = ubx;
59  wheel = uwh;
60  sector = usc;
61  station = ust;
62 
63  for (int i = 0; i < 7; i++) {
64  m_outPos[i] = upos[i];
65  m_outQual[i] = 0;
66  }
67 }

◆ ~L1MuDTChambThDigi()

L1MuDTChambThDigi::~L1MuDTChambThDigi ( )

Definition at line 72 of file L1MuDTChambThDigi.cc.

72 {}

Member Function Documentation

◆ bxNum()

int L1MuDTChambThDigi::bxNum ( ) const

Definition at line 77 of file L1MuDTChambThDigi.cc.

References bx.

Referenced by AngleConverterBase::getGlobalEta(), and L1TMuon::TriggerPrimitive::TriggerPrimitive().

77 { return bx; }

◆ code()

int L1MuDTChambThDigi::code ( const int  i) const

Definition at line 83 of file L1MuDTChambThDigi.cc.

References mps_fire::i, m_outPos, and m_outQual.

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

83  {
84  if (i < 0 || i >= 7)
85  return 0;
86 
87  return (int)(m_outPos[i] + m_outQual[i]);
88 }

◆ position()

int L1MuDTChambThDigi::position ( const int  i) const

◆ quality()

int L1MuDTChambThDigi::quality ( const int  i) const

◆ scNum()

int L1MuDTChambThDigi::scNum ( ) const

◆ stNum()

int L1MuDTChambThDigi::stNum ( ) const

◆ whNum()

int L1MuDTChambThDigi::whNum ( ) const

Member Data Documentation

◆ bx

int L1MuDTChambThDigi::bx
private

Definition at line 56 of file L1MuDTChambThDigi.h.

Referenced by bxNum(), and L1MuDTChambThDigi().

◆ m_outPos

myint8 L1MuDTChambThDigi::m_outPos[7]
private

Definition at line 61 of file L1MuDTChambThDigi.h.

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

◆ m_outQual

myint8 L1MuDTChambThDigi::m_outQual[7]
private

Definition at line 62 of file L1MuDTChambThDigi.h.

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

◆ sector

int L1MuDTChambThDigi::sector
private

◆ station

int L1MuDTChambThDigi::station
private

◆ wheel

int L1MuDTChambThDigi::wheel
private