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 EPC () const
 
int Format_errors () const
 
int LR () const
 
 ME (uint64_t dataword)
 
 ME ()
 
int ME_BXN () const
 
int NIT () const
 
int Quality () 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_epc (int bits)
 
void set_lr (int bits)
 
void set_me_bxn (int bits)
 
void set_nit (int bits)
 
void set_quality (int bits)
 
void set_se (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 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 epc
 
int format_errors
 
int lr
 
int me_bxn
 
int nit
 
int quality
 
int se
 
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  stub_num(-99),
37  format_errors(0),
38  dataword(-99){};
int afff
Definition: ME.h:99
int bxe
Definition: ME.h:95
int epc
Definition: ME.h:106
int sm
Definition: ME.h:105
int se
Definition: ME.h:104
int vp
Definition: ME.h:109
int tbin
Definition: ME.h:110
int cik
Definition: ME.h:100
int af
Definition: ME.h:107
int wire
Definition: ME.h:91
int station
Definition: ME.h:108
int afef
Definition: ME.h:103
int lr
Definition: ME.h:96
int bc0
Definition: ME.h:94
int quality
Definition: ME.h:92
int csc_ID
Definition: ME.h:97
uint64_t dataword
Definition: ME.h:113
int me_bxn
Definition: ME.h:102
int stub_num
Definition: ME.h:111
int format_errors
Definition: ME.h:112
int strip
Definition: ME.h:98
int clct_pattern
Definition: ME.h:93
int nit
Definition: ME.h:101

◆ ~ME()

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

Definition at line 40 of file ME.h.

40 {};

Member Function Documentation

◆ add_format_error()

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

Definition at line 63 of file ME.h.

References format_errors.

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

63 { format_errors += 1; }
int format_errors
Definition: ME.h:112

◆ AF()

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

Definition at line 82 of file ME.h.

References af.

82 { return af; }
int af
Definition: ME.h:107

◆ AFEF()

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

Definition at line 78 of file ME.h.

References afef.

78 { return afef; }
int afef
Definition: ME.h:103

◆ AFFF()

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

Definition at line 74 of file ME.h.

References afff.

74 { return afff; }
int afff
Definition: ME.h:99

◆ BC0()

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

Definition at line 69 of file ME.h.

References bc0.

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

69 { return bc0; }
int bc0
Definition: ME.h:94

◆ BXE()

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

Definition at line 70 of file ME.h.

References bxe.

70 { return bxe; }
int bxe
Definition: ME.h:95

◆ CIK()

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

Definition at line 75 of file ME.h.

References cik.

75 { return cik; }
int cik
Definition: ME.h:100

◆ CLCT_pattern()

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

Definition at line 68 of file ME.h.

References clct_pattern.

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

68 { return clct_pattern; }
int clct_pattern
Definition: ME.h:93

◆ CSC_ID()

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

Definition at line 72 of file ME.h.

References csc_ID.

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

72 { return csc_ID; }
int csc_ID
Definition: ME.h:97

◆ Dataword()

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

Definition at line 88 of file ME.h.

References dataword.

88 { return dataword; }
uint64_t dataword
Definition: ME.h:113

◆ EPC()

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

Definition at line 81 of file ME.h.

References epc.

81 { return epc; }
int epc
Definition: ME.h:106

◆ Format_errors()

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

Definition at line 87 of file ME.h.

References format_errors.

87 { return format_errors; }
int format_errors
Definition: ME.h:112

◆ LR()

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

Definition at line 71 of file ME.h.

References lr.

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

71 { return lr; }
int lr
Definition: ME.h:96

◆ ME_BXN()

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

Definition at line 77 of file ME.h.

References me_bxn.

77 { return me_bxn; }
int me_bxn
Definition: ME.h:102

◆ NIT()

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

Definition at line 76 of file ME.h.

References nit.

76 { return nit; }
int nit
Definition: ME.h:101

◆ Quality()

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

Definition at line 67 of file ME.h.

References quality.

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

67 { return quality; }
int quality
Definition: ME.h:92

◆ SE()

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

Definition at line 79 of file ME.h.

References se.

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

79 { return se; }
int se
Definition: ME.h:104

◆ set_af()

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

Definition at line 58 of file ME.h.

References af.

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

58 { af = bits; }
int af
Definition: ME.h:107

◆ set_afef()

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

Definition at line 54 of file ME.h.

References afef.

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

54 { afef = bits; }
int afef
Definition: ME.h:103

◆ set_afff()

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

Definition at line 50 of file ME.h.

References afff.

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

50 { afff = bits; }
int afff
Definition: ME.h:99

◆ set_bc0()

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

Definition at line 45 of file ME.h.

References bc0.

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

45 { bc0 = bits; }
int bc0
Definition: ME.h:94

◆ set_bxe()

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

Definition at line 46 of file ME.h.

References bxe.

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

46 { bxe = bits; }
int bxe
Definition: ME.h:95

◆ set_cik()

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

Definition at line 51 of file ME.h.

References cik.

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

51 { cik = bits; }
int cik
Definition: ME.h:100

◆ set_clct_pattern()

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

Definition at line 44 of file ME.h.

References clct_pattern.

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

44 { clct_pattern = bits; }
int clct_pattern
Definition: ME.h:93

◆ set_csc_ID()

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

Definition at line 48 of file ME.h.

References csc_ID.

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

48 { csc_ID = bits; }
int csc_ID
Definition: ME.h:97

◆ set_dataword()

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

Definition at line 64 of file ME.h.

References dataword.

64 { dataword = bits; }
uint64_t dataword
Definition: ME.h:113

◆ set_epc()

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

Definition at line 57 of file ME.h.

References epc.

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

57 { epc = bits; }
int epc
Definition: ME.h:106

◆ set_lr()

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

Definition at line 47 of file ME.h.

References lr.

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

47 { lr = bits; }
int lr
Definition: ME.h:96

◆ set_me_bxn()

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

Definition at line 53 of file ME.h.

References me_bxn.

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

53 { me_bxn = bits; }
int me_bxn
Definition: ME.h:102

◆ set_nit()

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

Definition at line 52 of file ME.h.

References nit.

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

52 { nit = bits; }
int nit
Definition: ME.h:101

◆ set_quality()

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

Definition at line 43 of file ME.h.

References quality.

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

43 { quality = bits; }
int quality
Definition: ME.h:92

◆ set_se()

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

Definition at line 55 of file ME.h.

References se.

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

55 { se = bits; }
int se
Definition: ME.h:104

◆ set_sm()

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

Definition at line 56 of file ME.h.

References sm.

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

56 { sm = bits; }
int sm
Definition: ME.h:105

◆ set_station()

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

Definition at line 59 of file ME.h.

References station.

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

59 { station = bits; }
int station
Definition: ME.h:108

◆ set_strip()

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

Definition at line 49 of file ME.h.

References strip.

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

49 { strip = bits; }
int strip
Definition: ME.h:98

◆ set_stub_num()

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

Definition at line 62 of file ME.h.

References stub_num.

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

62 { stub_num = bits; }
int stub_num
Definition: ME.h:111

◆ set_tbin()

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

Definition at line 61 of file ME.h.

References tbin.

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

61 { tbin = bits; }
int tbin
Definition: ME.h:110

◆ set_vp()

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

Definition at line 60 of file ME.h.

References vp.

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

60 { vp = bits; }
int vp
Definition: ME.h:109

◆ set_wire()

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

Definition at line 42 of file ME.h.

References wire.

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

42 { wire = bits; }
int wire
Definition: ME.h:91

◆ SM()

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

Definition at line 80 of file ME.h.

References sm.

80 { return sm; }
int sm
Definition: ME.h:105

◆ Station()

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

Definition at line 83 of file ME.h.

References station.

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

83 { return station; }
int station
Definition: ME.h:108

◆ Strip()

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

Definition at line 73 of file ME.h.

References strip.

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

73 { return strip; }
int strip
Definition: ME.h:98

◆ Stub_num()

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

Definition at line 86 of file ME.h.

References stub_num.

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

86 { return stub_num; }
int stub_num
Definition: ME.h:111

◆ TBIN()

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

Definition at line 85 of file ME.h.

References tbin.

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

85 { return tbin; }
int tbin
Definition: ME.h:110

◆ VP()

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

Definition at line 84 of file ME.h.

References vp.

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

84 { return vp; }
int vp
Definition: ME.h:109

◆ Wire()

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

Definition at line 66 of file ME.h.

References wire.

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

66 { return wire; }
int wire
Definition: ME.h:91

Member Data Documentation

◆ af

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

Definition at line 107 of file ME.h.

Referenced by AF(), and set_af().

◆ afef

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

Definition at line 103 of file ME.h.

Referenced by AFEF(), and set_afef().

◆ afff

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

Definition at line 99 of file ME.h.

Referenced by AFFF(), and set_afff().

◆ bc0

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

Definition at line 94 of file ME.h.

Referenced by BC0(), and set_bc0().

◆ bxe

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

Definition at line 95 of file ME.h.

Referenced by BXE(), and set_bxe().

◆ cik

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

Definition at line 100 of file ME.h.

Referenced by CIK(), and set_cik().

◆ clct_pattern

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

Definition at line 93 of file ME.h.

Referenced by CLCT_pattern(), and set_clct_pattern().

◆ csc_ID

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

Definition at line 97 of file ME.h.

Referenced by CSC_ID(), and set_csc_ID().

◆ dataword

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

Definition at line 113 of file ME.h.

Referenced by Dataword(), and set_dataword().

◆ epc

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

Definition at line 106 of file ME.h.

Referenced by EPC(), and set_epc().

◆ format_errors

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

Definition at line 112 of file ME.h.

Referenced by add_format_error(), and Format_errors().

◆ lr

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

Definition at line 96 of file ME.h.

Referenced by LR(), and set_lr().

◆ me_bxn

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

Definition at line 102 of file ME.h.

Referenced by ME_BXN(), and set_me_bxn().

◆ nit

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

Definition at line 101 of file ME.h.

Referenced by NIT(), and set_nit().

◆ quality

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

Definition at line 92 of file ME.h.

Referenced by Quality(), and set_quality().

◆ se

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

Definition at line 104 of file ME.h.

Referenced by SE(), and set_se().

◆ sm

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

Definition at line 105 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 98 of file ME.h.

Referenced by set_strip(), and Strip().

◆ stub_num

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

Definition at line 111 of file ME.h.

Referenced by set_stub_num(), and Stub_num().

◆ tbin

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

Definition at line 110 of file ME.h.

Referenced by set_tbin(), and TBIN().

◆ vp

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

Definition at line 109 of file ME.h.

Referenced by set_vp(), and VP().

◆ wire

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

Definition at line 91 of file ME.h.

Referenced by set_wire(), and Wire().