CMS 3D CMS Logo

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

#include <L1Phase2MuDTExtPhDigi.h>

Inheritance diagram for L1Phase2MuDTExtPhDigi:
L1Phase2MuDTPhDigi

Public Member Functions

 L1Phase2MuDTExtPhDigi ()
 
 L1Phase2MuDTExtPhDigi (int bx, int wh, int sc, int st, int sl, int phi, int phib, int qual, int idx, int t0, int chi2, int x, int tan, int phi_cmssw, int phib_cmssw, int rpc=-10, int wireId[8]=nullptr, int tdc[8]=nullptr, int lat[8]=nullptr)
 
 L1Phase2MuDTExtPhDigi (const L1Phase2MuDTExtPhDigi &digi)
 
int pathLat (int) const
 
int pathTDC (int) const
 
int pathWireId (int) const
 
int phiBendCMSSW () const
 
int phiCMSSW () const
 
int tanPsi () const
 
int xLocal () const
 
 ~L1Phase2MuDTExtPhDigi () override
 
- Public Member Functions inherited from L1Phase2MuDTPhDigi
int bxNum () const
 
int chi2 () const
 
int index () const
 
 L1Phase2MuDTPhDigi ()
 
 L1Phase2MuDTPhDigi (int bx, int wh, int sc, int st, int sl, int phi, int phib, int qual, int idx, int t0, int chi2, int rpc=-10)
 
int phi () const
 
int phiBend () const
 
int quality () const
 
int rpcFlag () const
 
int scNum () const
 
int slNum () const
 
int stNum () const
 
int t0 () const
 
int whNum () const
 
virtual ~L1Phase2MuDTPhDigi ()
 

Private Attributes

int m_pathLat [8]
 
int m_pathTDC [8]
 
int m_pathWireId [8]
 
int m_phiBendCMSSW
 
int m_phiCMSSW
 
int m_tanPsi
 
int m_xLocal
 

Detailed Description

Definition at line 34 of file L1Phase2MuDTExtPhDigi.h.

Constructor & Destructor Documentation

◆ L1Phase2MuDTExtPhDigi() [1/3]

L1Phase2MuDTExtPhDigi::L1Phase2MuDTExtPhDigi ( )

Definition at line 34 of file L1Phase2MuDTExtPhDigi.cc.

References mps_fire::i, m_pathLat, m_pathTDC, and m_pathWireId.

35  :
36 
38 
39  m_xLocal(0),
40  m_tanPsi(0),
41  m_phiCMSSW(0),
42  m_phiBendCMSSW(0) {
43  for (int i = 0; i < 8; i++) {
44  m_pathWireId[i] = -1;
45  m_pathTDC[i] = -1;
46  m_pathLat[i] = 2;
47  }
48 }

◆ L1Phase2MuDTExtPhDigi() [2/3]

L1Phase2MuDTExtPhDigi::L1Phase2MuDTExtPhDigi ( int  bx,
int  wh,
int  sc,
int  st,
int  sl,
int  phi,
int  phib,
int  qual,
int  idx,
int  t0,
int  chi2,
int  x,
int  tan,
int  phi_cmssw,
int  phib_cmssw,
int  rpc = -10,
int  wireId[8] = nullptr,
int  tdc[8] = nullptr,
int  lat[8] = nullptr 
)

Definition at line 50 of file L1Phase2MuDTExtPhDigi.cc.

References mps_fire::i, m_pathLat, m_pathTDC, and m_pathWireId.

69  :
70 
71  L1Phase2MuDTPhDigi(bx, wh, sc, st, sl, phi, phib, qual, idx, t0, chi2, rpc),
72 
73  m_xLocal(x),
74  m_tanPsi(tan),
75  m_phiCMSSW(phi_cmssw),
76  m_phiBendCMSSW(phib_cmssw) {
77  for (int i = 0; i < 8; i++) {
78  m_pathWireId[i] = wireId[i];
79  m_pathTDC[i] = tdc[i];
80  m_pathLat[i] = lat[i];
81  }
82 }
Tan< T >::type tan(const T &t)
Definition: Tan.h:22

◆ L1Phase2MuDTExtPhDigi() [3/3]

L1Phase2MuDTExtPhDigi::L1Phase2MuDTExtPhDigi ( const L1Phase2MuDTExtPhDigi digi)

Definition at line 84 of file L1Phase2MuDTExtPhDigi.cc.

References mps_fire::i, m_pathLat, m_pathTDC, m_pathWireId, pathLat(), pathTDC(), and pathWireId().

85  :
86 
88  digi.whNum(),
89  digi.scNum(),
90  digi.stNum(),
91  digi.slNum(),
92  digi.phi(),
93  digi.phiBend(),
94  digi.quality(),
95  digi.index(),
96  digi.t0(),
97  digi.chi2(),
98  digi.rpcFlag()),
99 
100  m_xLocal(digi.xLocal()),
101  m_tanPsi(digi.tanPsi()),
102  m_phiCMSSW(digi.phiCMSSW()),
103  m_phiBendCMSSW(digi.phiBendCMSSW()) {
104  for (int i = 0; i < 8; i++) {
105  m_pathWireId[i] = digi.pathWireId(i);
106  m_pathTDC[i] = digi.pathTDC(i);
107  m_pathLat[i] = digi.pathLat(i);
108  }
109 }

◆ ~L1Phase2MuDTExtPhDigi()

L1Phase2MuDTExtPhDigi::~L1Phase2MuDTExtPhDigi ( )
inlineoverride

Definition at line 61 of file L1Phase2MuDTExtPhDigi.h.

61 {};

Member Function Documentation

◆ pathLat()

int L1Phase2MuDTExtPhDigi::pathLat ( int  i) const

Definition at line 127 of file L1Phase2MuDTExtPhDigi.cc.

References mps_fire::i, and m_pathLat.

Referenced by L1Phase2MuDTExtPhDigi().

127 { return m_pathLat[i]; }

◆ pathTDC()

int L1Phase2MuDTExtPhDigi::pathTDC ( int  i) const

Definition at line 125 of file L1Phase2MuDTExtPhDigi.cc.

References mps_fire::i, and m_pathTDC.

Referenced by L1Phase2MuDTExtPhDigi().

125 { return m_pathTDC[i]; }

◆ pathWireId()

int L1Phase2MuDTExtPhDigi::pathWireId ( int  i) const

Definition at line 123 of file L1Phase2MuDTExtPhDigi.cc.

References mps_fire::i, and m_pathWireId.

Referenced by L1Phase2MuDTExtPhDigi().

123 { return m_pathWireId[i]; }

◆ phiBendCMSSW()

int L1Phase2MuDTExtPhDigi::phiBendCMSSW ( ) const

Definition at line 121 of file L1Phase2MuDTExtPhDigi.cc.

References m_phiBendCMSSW.

◆ phiCMSSW()

int L1Phase2MuDTExtPhDigi::phiCMSSW ( ) const

Definition at line 119 of file L1Phase2MuDTExtPhDigi.cc.

References m_phiCMSSW.

◆ tanPsi()

int L1Phase2MuDTExtPhDigi::tanPsi ( ) const

Definition at line 117 of file L1Phase2MuDTExtPhDigi.cc.

References m_tanPsi.

◆ xLocal()

int L1Phase2MuDTExtPhDigi::xLocal ( ) const

Definition at line 115 of file L1Phase2MuDTExtPhDigi.cc.

References m_xLocal.

Member Data Documentation

◆ m_pathLat

int L1Phase2MuDTExtPhDigi::m_pathLat[8]
private

Definition at line 83 of file L1Phase2MuDTExtPhDigi.h.

Referenced by L1Phase2MuDTExtPhDigi(), and pathLat().

◆ m_pathTDC

int L1Phase2MuDTExtPhDigi::m_pathTDC[8]
private

Definition at line 82 of file L1Phase2MuDTExtPhDigi.h.

Referenced by L1Phase2MuDTExtPhDigi(), and pathTDC().

◆ m_pathWireId

int L1Phase2MuDTExtPhDigi::m_pathWireId[8]
private

Definition at line 81 of file L1Phase2MuDTExtPhDigi.h.

Referenced by L1Phase2MuDTExtPhDigi(), and pathWireId().

◆ m_phiBendCMSSW

int L1Phase2MuDTExtPhDigi::m_phiBendCMSSW
private

Definition at line 79 of file L1Phase2MuDTExtPhDigi.h.

Referenced by phiBendCMSSW().

◆ m_phiCMSSW

int L1Phase2MuDTExtPhDigi::m_phiCMSSW
private

Definition at line 78 of file L1Phase2MuDTExtPhDigi.h.

Referenced by phiCMSSW().

◆ m_tanPsi

int L1Phase2MuDTExtPhDigi::m_tanPsi
private

Definition at line 76 of file L1Phase2MuDTExtPhDigi.h.

Referenced by tanPsi().

◆ m_xLocal

int L1Phase2MuDTExtPhDigi::m_xLocal
private

Definition at line 75 of file L1Phase2MuDTExtPhDigi.h.

Referenced by xLocal().