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 (const L1Phase2MuDTExtPhDigi &digi)
 
 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)
 
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.

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 }

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

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

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 }

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

◆ L1Phase2MuDTExtPhDigi() [3/3]

L1Phase2MuDTExtPhDigi::L1Phase2MuDTExtPhDigi ( const L1Phase2MuDTExtPhDigi digi)

Definition at line 84 of file L1Phase2MuDTExtPhDigi.cc.

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 }

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

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

127 { return m_pathLat[i]; }

References mps_fire::i, and m_pathLat.

Referenced by L1Phase2MuDTExtPhDigi().

◆ pathTDC()

int L1Phase2MuDTExtPhDigi::pathTDC ( int  i) const

Definition at line 125 of file L1Phase2MuDTExtPhDigi.cc.

125 { return m_pathTDC[i]; }

References mps_fire::i, and m_pathTDC.

Referenced by L1Phase2MuDTExtPhDigi().

◆ pathWireId()

int L1Phase2MuDTExtPhDigi::pathWireId ( int  i) const

Definition at line 123 of file L1Phase2MuDTExtPhDigi.cc.

123 { return m_pathWireId[i]; }

References mps_fire::i, and m_pathWireId.

Referenced by L1Phase2MuDTExtPhDigi().

◆ phiBendCMSSW()

int L1Phase2MuDTExtPhDigi::phiBendCMSSW ( ) const

Definition at line 121 of file L1Phase2MuDTExtPhDigi.cc.

121 { return m_phiBendCMSSW; }

References m_phiBendCMSSW.

◆ phiCMSSW()

int L1Phase2MuDTExtPhDigi::phiCMSSW ( ) const

Definition at line 119 of file L1Phase2MuDTExtPhDigi.cc.

119 { return m_phiCMSSW; }

References m_phiCMSSW.

◆ tanPsi()

int L1Phase2MuDTExtPhDigi::tanPsi ( ) const

Definition at line 117 of file L1Phase2MuDTExtPhDigi.cc.

117 { return m_tanPsi; }

References m_tanPsi.

◆ xLocal()

int L1Phase2MuDTExtPhDigi::xLocal ( ) const

Definition at line 115 of file L1Phase2MuDTExtPhDigi.cc.

115 { return m_xLocal; }

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().

L1Phase2MuDTPhDigi::L1Phase2MuDTPhDigi
L1Phase2MuDTPhDigi()
Definition: L1Phase2MuDTPhDigi.cc:34
mps_fire.i
i
Definition: mps_fire.py:428
L1Phase2MuDTExtPhDigi::m_xLocal
int m_xLocal
Definition: L1Phase2MuDTExtPhDigi.h:75
L1Phase2MuDTPhDigi::scNum
int scNum() const
Definition: L1Phase2MuDTPhDigi.cc:70
l1GtPatternGenerator_cfi.bx
bx
Definition: l1GtPatternGenerator_cfi.py:18
DDAxes::x
L1Phase2MuDTExtPhDigi::m_tanPsi
int m_tanPsi
Definition: L1Phase2MuDTExtPhDigi.h:76
L1Phase2MuDTPhDigi::rpcFlag
int rpcFlag() const
Definition: L1Phase2MuDTPhDigi.cc:88
L1Phase2MuDTExtPhDigi::phiBendCMSSW
int phiBendCMSSW() const
Definition: L1Phase2MuDTExtPhDigi.cc:121
heavyIonCSV_trainingSettings.idx
idx
Definition: heavyIonCSV_trainingSettings.py:5
L1Phase2MuDTExtPhDigi::pathLat
int pathLat(int) const
Definition: L1Phase2MuDTExtPhDigi.cc:127
L1Phase2MuDTExtPhDigi::m_pathTDC
int m_pathTDC[8]
Definition: L1Phase2MuDTExtPhDigi.h:82
L1Phase2MuDTExtPhDigi::xLocal
int xLocal() const
Definition: L1Phase2MuDTExtPhDigi.cc:115
L1Phase2MuDTPhDigi::quality
int quality() const
Definition: L1Phase2MuDTPhDigi.cc:80
L1Phase2MuDTExtPhDigi::m_pathLat
int m_pathLat[8]
Definition: L1Phase2MuDTExtPhDigi.h:83
L1Phase2MuDTPhDigi::bxNum
int bxNum() const
Definition: L1Phase2MuDTPhDigi.cc:66
L1Phase2MuDTExtPhDigi::m_phiBendCMSSW
int m_phiBendCMSSW
Definition: L1Phase2MuDTExtPhDigi.h:79
L1Phase2MuDTPhDigi::phiBend
int phiBend() const
Definition: L1Phase2MuDTPhDigi.cc:78
L1Phase2MuDTExtPhDigi::pathTDC
int pathTDC(int) const
Definition: L1Phase2MuDTExtPhDigi.cc:125
L1Phase2MuDTExtPhDigi::m_pathWireId
int m_pathWireId[8]
Definition: L1Phase2MuDTExtPhDigi.h:81
funct::tan
Tan< T >::type tan(const T &t)
Definition: Tan.h:22
L1Phase2MuDTPhDigi::slNum
int slNum() const
Definition: L1Phase2MuDTPhDigi.cc:74
L1Phase2MuDTPhDigi::t0
int t0() const
Definition: L1Phase2MuDTPhDigi.cc:84
L1Phase2MuDTPhDigi::whNum
int whNum() const
Definition: L1Phase2MuDTPhDigi.cc:68
L1Phase2MuDTPhDigi::phi
int phi() const
Definition: L1Phase2MuDTPhDigi.cc:76
L1Phase2MuDTExtPhDigi::phiCMSSW
int phiCMSSW() const
Definition: L1Phase2MuDTExtPhDigi.cc:119
L1Phase2MuDTPhDigi::chi2
int chi2() const
Definition: L1Phase2MuDTPhDigi.cc:86
L1Phase2MuDTExtPhDigi::pathWireId
int pathWireId(int) const
Definition: L1Phase2MuDTExtPhDigi.cc:123
L1Phase2MuDTExtPhDigi::m_phiCMSSW
int m_phiCMSSW
Definition: L1Phase2MuDTExtPhDigi.h:78
omtf::DataWord64::rpc
Definition: OmtfDataWord64.h:16
L1Phase2MuDTPhDigi::stNum
int stNum() const
Definition: L1Phase2MuDTPhDigi.cc:72
L1Phase2MuDTExtPhDigi::tanPsi
int tanPsi() const
Definition: L1Phase2MuDTExtPhDigi.cc:117
L1Phase2MuDTPhDigi::index
int index() const
Definition: L1Phase2MuDTPhDigi.cc:82