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 ()
 
 ME (uint64_t dataword)
 
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){};

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

63 { format_errors += 1; }

References format_errors.

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

◆ AF()

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

Definition at line 82 of file ME.h.

82 { return af; }

References af.

◆ AFEF()

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

Definition at line 78 of file ME.h.

78 { return afef; }

References afef.

◆ AFFF()

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

Definition at line 74 of file ME.h.

74 { return afff; }

References afff.

◆ BC0()

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

Definition at line 69 of file ME.h.

69 { return bc0; }

References bc0.

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

◆ BXE()

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

Definition at line 70 of file ME.h.

70 { return bxe; }

References bxe.

◆ CIK()

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

Definition at line 75 of file ME.h.

75 { return cik; }

References cik.

◆ CLCT_pattern()

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

Definition at line 68 of file ME.h.

68 { return clct_pattern; }

References clct_pattern.

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

◆ CSC_ID()

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

Definition at line 72 of file ME.h.

72 { return csc_ID; }

References csc_ID.

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

◆ Dataword()

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

Definition at line 88 of file ME.h.

88 { return dataword; }

References dataword.

◆ EPC()

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

Definition at line 81 of file ME.h.

81 { return epc; }

References epc.

◆ Format_errors()

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

Definition at line 87 of file ME.h.

87 { return format_errors; }

References format_errors.

◆ LR()

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

Definition at line 71 of file ME.h.

71 { return lr; }

References lr.

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

◆ ME_BXN()

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

Definition at line 77 of file ME.h.

77 { return me_bxn; }

References me_bxn.

◆ NIT()

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

Definition at line 76 of file ME.h.

76 { return nit; }

References nit.

◆ Quality()

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

Definition at line 67 of file ME.h.

67 { return quality; }

References quality.

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

◆ SE()

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

Definition at line 79 of file ME.h.

79 { return se; }

References se.

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

◆ set_af()

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

Definition at line 58 of file ME.h.

58 { af = bits; }

References af.

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

◆ set_afef()

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

Definition at line 54 of file ME.h.

54 { afef = bits; }

References afef.

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

◆ set_afff()

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

Definition at line 50 of file ME.h.

50 { afff = bits; }

References afff.

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

◆ set_bc0()

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

Definition at line 45 of file ME.h.

45 { bc0 = bits; }

References bc0.

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

◆ set_bxe()

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

Definition at line 46 of file ME.h.

46 { bxe = bits; }

References bxe.

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

◆ set_cik()

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

Definition at line 51 of file ME.h.

51 { cik = bits; }

References cik.

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

◆ set_clct_pattern()

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

Definition at line 44 of file ME.h.

44 { clct_pattern = bits; }

References clct_pattern.

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

◆ set_csc_ID()

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

Definition at line 48 of file ME.h.

48 { csc_ID = bits; }

References csc_ID.

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

◆ set_dataword()

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

Definition at line 64 of file ME.h.

64 { dataword = bits; }

References dataword.

◆ set_epc()

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

Definition at line 57 of file ME.h.

57 { epc = bits; }

References epc.

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

◆ set_lr()

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

Definition at line 47 of file ME.h.

47 { lr = bits; }

References lr.

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

◆ set_me_bxn()

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

Definition at line 53 of file ME.h.

53 { me_bxn = bits; }

References me_bxn.

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

◆ set_nit()

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

Definition at line 52 of file ME.h.

52 { nit = bits; }

References nit.

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

◆ set_quality()

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

Definition at line 43 of file ME.h.

43 { quality = bits; }

References quality.

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

◆ set_se()

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

Definition at line 55 of file ME.h.

55 { se = bits; }

References se.

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

◆ set_sm()

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

Definition at line 56 of file ME.h.

56 { sm = bits; }

References sm.

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

◆ set_station()

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

Definition at line 59 of file ME.h.

59 { station = bits; }

References station.

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

◆ set_strip()

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

Definition at line 49 of file ME.h.

49 { strip = bits; }

References strip.

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

◆ set_stub_num()

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

Definition at line 62 of file ME.h.

62 { stub_num = bits; }

References stub_num.

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

◆ set_tbin()

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

Definition at line 61 of file ME.h.

61 { tbin = bits; }

References tbin.

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

◆ set_vp()

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

Definition at line 60 of file ME.h.

60 { vp = bits; }

References vp.

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

◆ set_wire()

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

Definition at line 42 of file ME.h.

42 { wire = bits; }

References wire.

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

◆ SM()

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

Definition at line 80 of file ME.h.

80 { return sm; }

References sm.

◆ Station()

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

Definition at line 83 of file ME.h.

83 { return station; }

References station.

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

◆ Strip()

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

Definition at line 73 of file ME.h.

73 { return strip; }

References strip.

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

◆ Stub_num()

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

Definition at line 86 of file ME.h.

86 { return stub_num; }

References stub_num.

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

◆ TBIN()

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

Definition at line 85 of file ME.h.

85 { return tbin; }

References tbin.

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

◆ VP()

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

Definition at line 84 of file ME.h.

84 { return vp; }

References vp.

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

◆ Wire()

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

Definition at line 66 of file ME.h.

66 { return wire; }

References wire.

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

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

l1t::emtf::ME::clct_pattern
int clct_pattern
Definition: ME.h:93
l1t::emtf::ME::epc
int epc
Definition: ME.h:106
l1t::emtf::ME::cik
int cik
Definition: ME.h:100
l1t::emtf::ME::se
int se
Definition: ME.h:104
l1t::emtf::ME::nit
int nit
Definition: ME.h:101
l1t::emtf::ME::sm
int sm
Definition: ME.h:105
l1t::emtf::ME::af
int af
Definition: ME.h:107
l1t::emtf::ME::afff
int afff
Definition: ME.h:99
l1t::emtf::ME::bxe
int bxe
Definition: ME.h:95
l1t::emtf::ME::vp
int vp
Definition: ME.h:109
l1t::emtf::ME::wire
int wire
Definition: ME.h:91
l1t::emtf::ME::tbin
int tbin
Definition: ME.h:110
l1t::emtf::ME::station
int station
Definition: ME.h:108
l1t::emtf::ME::afef
int afef
Definition: ME.h:103
l1t::emtf::ME::me_bxn
int me_bxn
Definition: ME.h:102
l1t::emtf::ME::csc_ID
int csc_ID
Definition: ME.h:97
l1t::emtf::ME::lr
int lr
Definition: ME.h:96
l1t::emtf::ME::bc0
int bc0
Definition: ME.h:94
l1t::emtf::ME::quality
int quality
Definition: ME.h:92
l1t::emtf::ME::strip
int strip
Definition: ME.h:98
l1t::emtf::ME::dataword
uint64_t dataword
Definition: ME.h:113
l1t::emtf::ME::stub_num
int stub_num
Definition: ME.h:111
l1t::emtf::ME::format_errors
int format_errors
Definition: ME.h:112