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

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

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

Definition at line 100 of file L1MuDTChambThDigi.cc.

References i.

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

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 AngleConverter::findBTIgroup(), L1TMuon::DTCollector::findBTIGroupForThetaDigi(), L1MuDTEtaProcessor::receiveData(), L1MuBMEtaProcessor::receiveData(), and L1TMuon::TriggerPrimitive::TriggerPrimitive().

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.

Referenced by L1MuDTEtaProcessor::receiveData(), L1MuBMEtaProcessor::receiveData(), and L1TMuon::TriggerPrimitive::TriggerPrimitive().

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
int L1MuDTChambThDigi::stNum ( ) const
int L1MuDTChambThDigi::whNum ( ) const

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.

Referenced by geometryXMLparser.DTAlignable::index().

int L1MuDTChambThDigi::station
private
int L1MuDTChambThDigi::wheel
private

Definition at line 65 of file L1MuDTChambThDigi.h.

Referenced by geometryXMLparser.DTAlignable::index().