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)
 
 L1MuDTChambThDigi (int ubx, int uwh, int usc, int ust, int *uos, int *uqual)
 
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.

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 }

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

◆ 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.

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 }

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

◆ L1MuDTChambThDigi() [3/3]

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

Definition at line 57 of file L1MuDTChambThDigi.cc.

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 }

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

◆ ~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.

77 { return bx; }

References bx.

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

◆ code()

int L1MuDTChambThDigi::code ( const int  i) const

Definition at line 83 of file L1MuDTChambThDigi.cc.

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

References mps_fire::i, m_outPos, and m_outQual.

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

◆ 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
mps_fire.i
i
Definition: mps_fire.py:355
L1MuDTChambThDigi::wheel
int wheel
Definition: L1MuDTChambThDigi.h:57
L1MuDTChambThDigi::bx
int bx
Definition: L1MuDTChambThDigi.h:56
L1MuDTChambThDigi::sector
int sector
Definition: L1MuDTChambThDigi.h:58
L1MuDTChambThDigi::m_outPos
myint8 m_outPos[7]
Definition: L1MuDTChambThDigi.h:61
L1MuDTChambThDigi::station
int station
Definition: L1MuDTChambThDigi.h:59
L1MuDTChambThDigi::m_outQual
myint8 m_outQual[7]
Definition: L1MuDTChambThDigi.h:62