CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
l1t::emtf::ME Class Reference

#include <ME.h>

Public Member Functions

void add_format_error ()
 
int AF () const
 
int AFEF () const
 
int AFFF () const
 
int BC0 () const
 
int BXE () const
 
int CIK () const
 
int CLCT_pattern () const
 
int CSC_ID () const
 
uint64_t Dataword () const
 
int Eighth_strip () const
 
int EPC () const
 
int Format_errors () const
 
int Frame () const
 
int LR () const
 
 ME (uint64_t dataword)
 
 ME ()
 
int ME_BXN () const
 
int MUS_inTime () const
 
int MUS_outOfTime () const
 
int MUSV () const
 
int NIT () const
 
int Quality () const
 
int Quarter_strip () const
 
int Run3_pattern () const
 
int SE () const
 
void set_af (int bits)
 
void set_afef (int bits)
 
void set_afff (int bits)
 
void set_bc0 (int bits)
 
void set_bxe (int bits)
 
void set_cik (int bits)
 
void set_clct_pattern (int bits)
 
void set_csc_ID (int bits)
 
void set_dataword (uint64_t bits)
 
void set_eighth_strip (int bits)
 
void set_epc (int bits)
 
void set_frame (int bits)
 
void set_lr (int bits)
 
void set_me_bxn (int bits)
 
void set_mus_inTime (int bits)
 
void set_mus_outOfTime (int bits)
 
void set_musv (int bits)
 
void set_nit (int bits)
 
void set_quality (int bits)
 
void set_quarter_strip (int bits)
 
void set_run3_pattern (int bits)
 
void set_se (int bits)
 
void set_slope (int bits)
 
void set_sm (int bits)
 
void set_station (int bits)
 
void set_strip (int bits)
 
void set_stub_num (int bits)
 
void set_tbin (int bits)
 
void set_vp (int bits)
 
void set_wire (int bits)
 
int Slope () const
 
int SM () const
 
int Station () const
 
int Strip () const
 
int Stub_num () const
 
int TBIN () const
 
int VP () const
 
int Wire () const
 
virtual ~ME ()
 

Private Attributes

int af
 
int afef
 
int afff
 
int bc0
 
int bxe
 
int cik
 
int clct_pattern
 
int csc_ID
 
uint64_t dataword
 
int eighth_strip
 
int epc
 
int format_errors
 
int frame
 
int lr
 
int me_bxn
 
int mus_inTime
 
int mus_outOfTime
 
int musv
 
int nit
 
int quality
 
int quarter_strip
 
int run3_pattern
 
int se
 
int slope
 
int sm
 
int station
 
int strip
 
int stub_num
 
int tbin
 
int vp
 
int wire
 

Detailed Description

Definition at line 11 of file ME.h.

Constructor & Destructor Documentation

◆ ME() [1/2]

l1t::emtf::ME::ME ( uint64_t  dataword)
explicit

◆ ME() [2/2]

l1t::emtf::ME::ME ( )
inline

Definition at line 15 of file ME.h.

16  : wire(-99),
17  quality(-99),
18  clct_pattern(-99),
19  bc0(-99),
20  bxe(-99),
21  lr(-99),
22  csc_ID(-99),
23  strip(-99),
24  afff(-99),
25  cik(-99),
26  nit(-99),
27  me_bxn(-99),
28  afef(-99),
29  se(-99),
30  sm(-99),
31  epc(-99),
32  af(-99),
33  station(-99),
34  vp(-99),
35  tbin(-99),
36  // Run 3 OTMB data
37  frame(-99),
38  quarter_strip(-99),
39  eighth_strip(-99),
40  slope(-99),
41  run3_pattern(-99),
42  // Run 3 muon shower data
43  musv(-99),
44  mus_inTime(-99),
45  mus_outOfTime(-99),
46  // metadata
47  stub_num(-99),
48  format_errors(0),
49  dataword(-99){};
int eighth_strip
Definition: ME.h:147
int mus_inTime
Definition: ME.h:152
int afff
Definition: ME.h:132
int bxe
Definition: ME.h:128
int epc
Definition: ME.h:139
int sm
Definition: ME.h:138
int se
Definition: ME.h:137
int vp
Definition: ME.h:142
int tbin
Definition: ME.h:143
int cik
Definition: ME.h:133
int af
Definition: ME.h:140
int run3_pattern
Definition: ME.h:149
int wire
Definition: ME.h:124
int frame
Definition: ME.h:145
int station
Definition: ME.h:141
int afef
Definition: ME.h:136
int lr
Definition: ME.h:129
int bc0
Definition: ME.h:127
int quality
Definition: ME.h:125
int csc_ID
Definition: ME.h:130
uint64_t dataword
Definition: ME.h:157
int mus_outOfTime
Definition: ME.h:153
int me_bxn
Definition: ME.h:135
int stub_num
Definition: ME.h:155
int format_errors
Definition: ME.h:156
int musv
Definition: ME.h:151
int strip
Definition: ME.h:131
int clct_pattern
Definition: ME.h:126
int nit
Definition: ME.h:134
int slope
Definition: ME.h:148
int quarter_strip
Definition: ME.h:146

◆ ~ME()

virtual l1t::emtf::ME::~ME ( )
inlinevirtual

Definition at line 51 of file ME.h.

51 {};

Member Function Documentation

◆ add_format_error()

void l1t::emtf::ME::add_format_error ( )
inline

Definition at line 85 of file ME.h.

References format_errors.

Referenced by l1t::stage2::emtf::MEBlockUnpacker::unpack().

85 { format_errors += 1; }
int format_errors
Definition: ME.h:156

◆ AF()

int l1t::emtf::ME::AF ( ) const
inline

Definition at line 104 of file ME.h.

References af.

104 { return af; }
int af
Definition: ME.h:140

◆ AFEF()

int l1t::emtf::ME::AFEF ( ) const
inline

Definition at line 100 of file ME.h.

References afef.

100 { return afef; }
int afef
Definition: ME.h:136

◆ AFFF()

int l1t::emtf::ME::AFFF ( ) const
inline

Definition at line 96 of file ME.h.

References afff.

96 { return afff; }
int afff
Definition: ME.h:132

◆ BC0()

int l1t::emtf::ME::BC0 ( ) const
inline

Definition at line 91 of file ME.h.

References bc0.

Referenced by l1t::stage2::emtf::ImportME().

91 { return bc0; }
int bc0
Definition: ME.h:127

◆ BXE()

int l1t::emtf::ME::BXE ( ) const
inline

Definition at line 92 of file ME.h.

References bxe.

92 { return bxe; }
int bxe
Definition: ME.h:128

◆ CIK()

int l1t::emtf::ME::CIK ( ) const
inline

Definition at line 97 of file ME.h.

References cik.

97 { return cik; }
int cik
Definition: ME.h:133

◆ CLCT_pattern()

int l1t::emtf::ME::CLCT_pattern ( ) const
inline

Definition at line 90 of file ME.h.

References clct_pattern.

Referenced by l1t::stage2::emtf::ImportME().

90 { return clct_pattern; }
int clct_pattern
Definition: ME.h:126

◆ CSC_ID()

int l1t::emtf::ME::CSC_ID ( ) const
inline

Definition at line 94 of file ME.h.

References csc_ID.

Referenced by l1t::stage2::emtf::MEBlockUnpacker::unpack().

94 { return csc_ID; }
int csc_ID
Definition: ME.h:130

◆ Dataword()

uint64_t l1t::emtf::ME::Dataword ( ) const
inline

Definition at line 121 of file ME.h.

References dataword.

121 { return dataword; }
uint64_t dataword
Definition: ME.h:157

◆ Eighth_strip()

int l1t::emtf::ME::Eighth_strip ( ) const
inline

Definition at line 111 of file ME.h.

References eighth_strip.

Referenced by l1t::stage2::emtf::ImportME().

111 { return eighth_strip; }
int eighth_strip
Definition: ME.h:147

◆ EPC()

int l1t::emtf::ME::EPC ( ) const
inline

Definition at line 103 of file ME.h.

References epc.

103 { return epc; }
int epc
Definition: ME.h:139

◆ Format_errors()

int l1t::emtf::ME::Format_errors ( ) const
inline

Definition at line 120 of file ME.h.

References format_errors.

120 { return format_errors; }
int format_errors
Definition: ME.h:156

◆ Frame()

int l1t::emtf::ME::Frame ( ) const
inline

Definition at line 109 of file ME.h.

References frame.

Referenced by l1t::stage2::emtf::MEBlockUnpacker::unpack().

109 { return frame; }
int frame
Definition: ME.h:145

◆ LR()

int l1t::emtf::ME::LR ( ) const
inline

Definition at line 93 of file ME.h.

References lr.

Referenced by l1t::stage2::emtf::ImportME(), and l1t::stage2::emtf::MEBlockUnpacker::unpack().

93 { return lr; }
int lr
Definition: ME.h:129

◆ ME_BXN()

int l1t::emtf::ME::ME_BXN ( ) const
inline

Definition at line 99 of file ME.h.

References me_bxn.

99 { return me_bxn; }
int me_bxn
Definition: ME.h:135

◆ MUS_inTime()

int l1t::emtf::ME::MUS_inTime ( ) const
inline

Definition at line 116 of file ME.h.

References mus_inTime.

Referenced by l1t::stage2::emtf::ImportME().

116 { return mus_inTime; }
int mus_inTime
Definition: ME.h:152

◆ MUS_outOfTime()

int l1t::emtf::ME::MUS_outOfTime ( ) const
inline

Definition at line 117 of file ME.h.

References mus_outOfTime.

Referenced by l1t::stage2::emtf::ImportME().

117 { return mus_outOfTime; }
int mus_outOfTime
Definition: ME.h:153

◆ MUSV()

int l1t::emtf::ME::MUSV ( ) const
inline

Definition at line 115 of file ME.h.

References musv.

Referenced by l1t::stage2::emtf::ImportME().

115 { return musv; }
int musv
Definition: ME.h:151

◆ NIT()

int l1t::emtf::ME::NIT ( ) const
inline

Definition at line 98 of file ME.h.

References nit.

98 { return nit; }
int nit
Definition: ME.h:134

◆ Quality()

int l1t::emtf::ME::Quality ( ) const
inline

Definition at line 89 of file ME.h.

References quality.

Referenced by l1t::stage2::emtf::ImportME().

89 { return quality; }
int quality
Definition: ME.h:125

◆ Quarter_strip()

int l1t::emtf::ME::Quarter_strip ( ) const
inline

Definition at line 110 of file ME.h.

References quarter_strip.

Referenced by l1t::stage2::emtf::ImportME().

110 { return quarter_strip; }
int quarter_strip
Definition: ME.h:146

◆ Run3_pattern()

int l1t::emtf::ME::Run3_pattern ( ) const
inline

Definition at line 113 of file ME.h.

References run3_pattern.

Referenced by l1t::stage2::emtf::ImportME().

113 { return run3_pattern; }
int run3_pattern
Definition: ME.h:149

◆ SE()

int l1t::emtf::ME::SE ( ) const
inline

Definition at line 101 of file ME.h.

References se.

Referenced by l1t::stage2::emtf::ImportME().

101 { return se; }
int se
Definition: ME.h:137

◆ set_af()

void l1t::emtf::ME::set_af ( int  bits)
inline

◆ set_afef()

void l1t::emtf::ME::set_afef ( int  bits)
inline

◆ set_afff()

void l1t::emtf::ME::set_afff ( int  bits)
inline

◆ set_bc0()

void l1t::emtf::ME::set_bc0 ( int  bits)
inline

◆ set_bxe()

void l1t::emtf::ME::set_bxe ( int  bits)
inline

◆ set_cik()

void l1t::emtf::ME::set_cik ( int  bits)
inline

◆ set_clct_pattern()

void l1t::emtf::ME::set_clct_pattern ( int  bits)
inline

◆ set_csc_ID()

void l1t::emtf::ME::set_csc_ID ( int  bits)
inline

◆ set_dataword()

void l1t::emtf::ME::set_dataword ( uint64_t  bits)
inline

◆ set_eighth_strip()

void l1t::emtf::ME::set_eighth_strip ( int  bits)
inline

◆ set_epc()

void l1t::emtf::ME::set_epc ( int  bits)
inline

◆ set_frame()

void l1t::emtf::ME::set_frame ( int  bits)
inline

◆ set_lr()

void l1t::emtf::ME::set_lr ( int  bits)
inline

◆ set_me_bxn()

void l1t::emtf::ME::set_me_bxn ( int  bits)
inline

◆ set_mus_inTime()

void l1t::emtf::ME::set_mus_inTime ( int  bits)
inline

◆ set_mus_outOfTime()

void l1t::emtf::ME::set_mus_outOfTime ( int  bits)
inline

◆ set_musv()

void l1t::emtf::ME::set_musv ( int  bits)
inline

◆ set_nit()

void l1t::emtf::ME::set_nit ( int  bits)
inline

◆ set_quality()

void l1t::emtf::ME::set_quality ( int  bits)
inline

◆ set_quarter_strip()

void l1t::emtf::ME::set_quarter_strip ( int  bits)
inline

◆ set_run3_pattern()

void l1t::emtf::ME::set_run3_pattern ( int  bits)
inline

◆ set_se()

void l1t::emtf::ME::set_se ( int  bits)
inline

◆ set_slope()

void l1t::emtf::ME::set_slope ( int  bits)
inline

◆ set_sm()

void l1t::emtf::ME::set_sm ( int  bits)
inline

◆ set_station()

void l1t::emtf::ME::set_station ( int  bits)
inline

◆ set_strip()

void l1t::emtf::ME::set_strip ( int  bits)
inline

◆ set_stub_num()

void l1t::emtf::ME::set_stub_num ( int  bits)
inline

◆ set_tbin()

void l1t::emtf::ME::set_tbin ( int  bits)
inline

◆ set_vp()

void l1t::emtf::ME::set_vp ( int  bits)
inline

◆ set_wire()

void l1t::emtf::ME::set_wire ( int  bits)
inline

◆ Slope()

int l1t::emtf::ME::Slope ( ) const
inline

Definition at line 112 of file ME.h.

References slope.

Referenced by l1t::stage2::emtf::ImportME(), and l1t::stage2::emtf::MEBlockUnpacker::unpack().

112 { return slope; }
int slope
Definition: ME.h:148

◆ SM()

int l1t::emtf::ME::SM ( ) const
inline

Definition at line 102 of file ME.h.

References sm.

102 { return sm; }
int sm
Definition: ME.h:138

◆ Station()

int l1t::emtf::ME::Station ( ) const
inline

Definition at line 105 of file ME.h.

References station.

Referenced by l1t::stage2::emtf::MEBlockUnpacker::unpack().

105 { return station; }
int station
Definition: ME.h:141

◆ Strip()

int l1t::emtf::ME::Strip ( ) const
inline

Definition at line 95 of file ME.h.

References strip.

Referenced by l1t::stage2::emtf::ImportME(), and l1t::stage2::emtf::MEBlockUnpacker::unpack().

95 { return strip; }
int strip
Definition: ME.h:131

◆ Stub_num()

int l1t::emtf::ME::Stub_num ( ) const
inline

Definition at line 119 of file ME.h.

References stub_num.

Referenced by l1t::stage2::emtf::MEBlockUnpacker::unpack().

119 { return stub_num; }
int stub_num
Definition: ME.h:155

◆ TBIN()

int l1t::emtf::ME::TBIN ( ) const
inline

Definition at line 107 of file ME.h.

References tbin.

Referenced by l1t::stage2::emtf::ImportME().

107 { return tbin; }
int tbin
Definition: ME.h:143

◆ VP()

int l1t::emtf::ME::VP ( ) const
inline

Definition at line 106 of file ME.h.

References vp.

Referenced by l1t::stage2::emtf::ImportME().

106 { return vp; }
int vp
Definition: ME.h:142

◆ Wire()

int l1t::emtf::ME::Wire ( ) const
inline

Definition at line 88 of file ME.h.

References wire.

Referenced by l1t::stage2::emtf::ImportME().

88 { return wire; }
int wire
Definition: ME.h:124

Member Data Documentation

◆ af

int l1t::emtf::ME::af
private

Definition at line 140 of file ME.h.

Referenced by AF(), and set_af().

◆ afef

int l1t::emtf::ME::afef
private

Definition at line 136 of file ME.h.

Referenced by AFEF(), and set_afef().

◆ afff

int l1t::emtf::ME::afff
private

Definition at line 132 of file ME.h.

Referenced by AFFF(), and set_afff().

◆ bc0

int l1t::emtf::ME::bc0
private

Definition at line 127 of file ME.h.

Referenced by BC0(), and set_bc0().

◆ bxe

int l1t::emtf::ME::bxe
private

Definition at line 128 of file ME.h.

Referenced by BXE(), and set_bxe().

◆ cik

int l1t::emtf::ME::cik
private

Definition at line 133 of file ME.h.

Referenced by CIK(), and set_cik().

◆ clct_pattern

int l1t::emtf::ME::clct_pattern
private

Definition at line 126 of file ME.h.

Referenced by CLCT_pattern(), and set_clct_pattern().

◆ csc_ID

int l1t::emtf::ME::csc_ID
private

Definition at line 130 of file ME.h.

Referenced by CSC_ID(), and set_csc_ID().

◆ dataword

uint64_t l1t::emtf::ME::dataword
private

Definition at line 157 of file ME.h.

Referenced by Dataword(), and set_dataword().

◆ eighth_strip

int l1t::emtf::ME::eighth_strip
private

Definition at line 147 of file ME.h.

Referenced by Eighth_strip(), and set_eighth_strip().

◆ epc

int l1t::emtf::ME::epc
private

Definition at line 139 of file ME.h.

Referenced by EPC(), and set_epc().

◆ format_errors

int l1t::emtf::ME::format_errors
private

Definition at line 156 of file ME.h.

Referenced by add_format_error(), and Format_errors().

◆ frame

int l1t::emtf::ME::frame
private

Definition at line 145 of file ME.h.

Referenced by Frame().

◆ lr

int l1t::emtf::ME::lr
private

Definition at line 129 of file ME.h.

Referenced by LR(), and set_lr().

◆ me_bxn

int l1t::emtf::ME::me_bxn
private

Definition at line 135 of file ME.h.

Referenced by ME_BXN(), and set_me_bxn().

◆ mus_inTime

int l1t::emtf::ME::mus_inTime
private

Definition at line 152 of file ME.h.

Referenced by MUS_inTime(), and set_mus_inTime().

◆ mus_outOfTime

int l1t::emtf::ME::mus_outOfTime
private

Definition at line 153 of file ME.h.

Referenced by MUS_outOfTime(), and set_mus_outOfTime().

◆ musv

int l1t::emtf::ME::musv
private

Definition at line 151 of file ME.h.

Referenced by MUSV(), and set_musv().

◆ nit

int l1t::emtf::ME::nit
private

Definition at line 134 of file ME.h.

Referenced by NIT(), and set_nit().

◆ quality

int l1t::emtf::ME::quality
private

Definition at line 125 of file ME.h.

Referenced by Quality(), and set_quality().

◆ quarter_strip

int l1t::emtf::ME::quarter_strip
private

Definition at line 146 of file ME.h.

Referenced by Quarter_strip(), and set_quarter_strip().

◆ run3_pattern

int l1t::emtf::ME::run3_pattern
private

Definition at line 149 of file ME.h.

Referenced by Run3_pattern(), and set_run3_pattern().

◆ se

int l1t::emtf::ME::se
private

Definition at line 137 of file ME.h.

Referenced by SE(), and set_se().

◆ slope

int l1t::emtf::ME::slope
private

Definition at line 148 of file ME.h.

Referenced by set_slope(), and Slope().

◆ sm

int l1t::emtf::ME::sm
private

Definition at line 138 of file ME.h.

Referenced by set_sm(), and SM().

◆ station

int l1t::emtf::ME::station
private

◆ strip

int l1t::emtf::ME::strip
private

Definition at line 131 of file ME.h.

Referenced by set_strip(), and Strip().

◆ stub_num

int l1t::emtf::ME::stub_num
private

Definition at line 155 of file ME.h.

Referenced by set_stub_num(), and Stub_num().

◆ tbin

int l1t::emtf::ME::tbin
private

Definition at line 143 of file ME.h.

Referenced by set_tbin(), and TBIN().

◆ vp

int l1t::emtf::ME::vp
private

Definition at line 142 of file ME.h.

Referenced by set_vp(), and VP().

◆ wire

int l1t::emtf::ME::wire
private

Definition at line 124 of file ME.h.

Referenced by set_wire(), and Wire().