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 10 of file ME.h.

Constructor & Destructor Documentation

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

Definition at line 15 of file ME.h.

15  :
16  wire(-99), quality(-99), clct_pattern(-99), bc0(-99), bxe(-99), lr(-99),
17  csc_ID(-99), strip(-99), afff(-99), cik(-99), nit(-99), me_bxn(-99),
18  afef(-99), se(-99), sm(-99), epc(-99), af(-99), station(-99), vp(-99), tbin(-99),
19  stub_num(-99), format_errors(0), dataword(-99)
20  {};
int afff
Definition: ME.h:82
int bxe
Definition: ME.h:78
int epc
Definition: ME.h:89
int sm
Definition: ME.h:88
int se
Definition: ME.h:87
int vp
Definition: ME.h:92
int tbin
Definition: ME.h:93
int cik
Definition: ME.h:83
int af
Definition: ME.h:90
int wire
Definition: ME.h:74
int station
Definition: ME.h:91
int afef
Definition: ME.h:86
int lr
Definition: ME.h:79
int bc0
Definition: ME.h:77
int quality
Definition: ME.h:75
int csc_ID
Definition: ME.h:80
uint64_t dataword
Definition: ME.h:96
int me_bxn
Definition: ME.h:85
int stub_num
Definition: ME.h:94
int format_errors
Definition: ME.h:95
int strip
Definition: ME.h:81
int clct_pattern
Definition: ME.h:76
int nit
Definition: ME.h:84
virtual l1t::emtf::ME::~ME ( )
inlinevirtual

Definition at line 22 of file ME.h.

22 {};

Member Function Documentation

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

Definition at line 45 of file ME.h.

References format_errors.

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

45 { format_errors += 1; }
int format_errors
Definition: ME.h:95
int l1t::emtf::ME::AF ( ) const
inline

Definition at line 64 of file ME.h.

References af.

64 { return af; }
int af
Definition: ME.h:90
int l1t::emtf::ME::AFEF ( ) const
inline

Definition at line 60 of file ME.h.

References afef.

60 { return afef; }
int afef
Definition: ME.h:86
int l1t::emtf::ME::AFFF ( ) const
inline

Definition at line 56 of file ME.h.

References afff.

56 { return afff; }
int afff
Definition: ME.h:82
int l1t::emtf::ME::BC0 ( ) const
inline

Definition at line 51 of file ME.h.

References bc0.

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

51 { return bc0; }
int bc0
Definition: ME.h:77
int l1t::emtf::ME::BXE ( ) const
inline

Definition at line 52 of file ME.h.

References bxe.

52 { return bxe; }
int bxe
Definition: ME.h:78
int l1t::emtf::ME::CIK ( ) const
inline

Definition at line 57 of file ME.h.

References cik.

57 { return cik; }
int cik
Definition: ME.h:83
int l1t::emtf::ME::CLCT_pattern ( ) const
inline

Definition at line 50 of file ME.h.

References clct_pattern.

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

50 { return clct_pattern; }
int clct_pattern
Definition: ME.h:76
int l1t::emtf::ME::CSC_ID ( ) const
inline

Definition at line 54 of file ME.h.

References csc_ID.

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

54 { return csc_ID; }
int csc_ID
Definition: ME.h:80
uint64_t l1t::emtf::ME::Dataword ( ) const
inline

Definition at line 70 of file ME.h.

References dataword.

70 { return dataword; }
uint64_t dataword
Definition: ME.h:96
int l1t::emtf::ME::EPC ( ) const
inline

Definition at line 63 of file ME.h.

References epc.

63 { return epc; }
int epc
Definition: ME.h:89
int l1t::emtf::ME::Format_errors ( ) const
inline

Definition at line 69 of file ME.h.

References format_errors.

69 { return format_errors; }
int format_errors
Definition: ME.h:95
int l1t::emtf::ME::LR ( ) const
inline

Definition at line 53 of file ME.h.

References lr.

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

53 { return lr; }
int lr
Definition: ME.h:79
int l1t::emtf::ME::ME_BXN ( ) const
inline

Definition at line 59 of file ME.h.

References me_bxn.

59 { return me_bxn; }
int me_bxn
Definition: ME.h:85
int l1t::emtf::ME::NIT ( ) const
inline

Definition at line 58 of file ME.h.

References nit.

58 { return nit; }
int nit
Definition: ME.h:84
int l1t::emtf::ME::Quality ( ) const
inline

Definition at line 49 of file ME.h.

References quality.

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

49 { return quality; }
int quality
Definition: ME.h:75
int l1t::emtf::ME::SE ( ) const
inline

Definition at line 61 of file ME.h.

References se.

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

61 { return se; }
int se
Definition: ME.h:87
void l1t::emtf::ME::set_af ( int  bits)
inline

Definition at line 40 of file ME.h.

References af, and bits.

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

40 { af = bits; }
How EventSelector::AcceptEvent() decides whether to accept an event for output otherwise it is excluding the probing of A single or multiple positive and the trigger will pass if any such matching triggers are PASS or EXCEPTION[A criterion thatmatches no triggers at all is detected and causes a throw.] A single negative with an expectation of appropriate bit checking in the decision bits
int af
Definition: ME.h:90
void l1t::emtf::ME::set_afef ( int  bits)
inline

Definition at line 36 of file ME.h.

References afef, and bits.

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

36 { afef = bits; }
How EventSelector::AcceptEvent() decides whether to accept an event for output otherwise it is excluding the probing of A single or multiple positive and the trigger will pass if any such matching triggers are PASS or EXCEPTION[A criterion thatmatches no triggers at all is detected and causes a throw.] A single negative with an expectation of appropriate bit checking in the decision bits
int afef
Definition: ME.h:86
void l1t::emtf::ME::set_afff ( int  bits)
inline

Definition at line 32 of file ME.h.

References afff, and bits.

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

32 { afff = bits; }
int afff
Definition: ME.h:82
How EventSelector::AcceptEvent() decides whether to accept an event for output otherwise it is excluding the probing of A single or multiple positive and the trigger will pass if any such matching triggers are PASS or EXCEPTION[A criterion thatmatches no triggers at all is detected and causes a throw.] A single negative with an expectation of appropriate bit checking in the decision bits
void l1t::emtf::ME::set_bc0 ( int  bits)
inline

Definition at line 27 of file ME.h.

References bc0, and bits.

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

27 { bc0 = bits; }
How EventSelector::AcceptEvent() decides whether to accept an event for output otherwise it is excluding the probing of A single or multiple positive and the trigger will pass if any such matching triggers are PASS or EXCEPTION[A criterion thatmatches no triggers at all is detected and causes a throw.] A single negative with an expectation of appropriate bit checking in the decision bits
int bc0
Definition: ME.h:77
void l1t::emtf::ME::set_bxe ( int  bits)
inline

Definition at line 28 of file ME.h.

References bits, and bxe.

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

28 { bxe = bits; }
int bxe
Definition: ME.h:78
How EventSelector::AcceptEvent() decides whether to accept an event for output otherwise it is excluding the probing of A single or multiple positive and the trigger will pass if any such matching triggers are PASS or EXCEPTION[A criterion thatmatches no triggers at all is detected and causes a throw.] A single negative with an expectation of appropriate bit checking in the decision bits
void l1t::emtf::ME::set_cik ( int  bits)
inline

Definition at line 33 of file ME.h.

References bits, and cik.

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

33 { cik = bits; }
How EventSelector::AcceptEvent() decides whether to accept an event for output otherwise it is excluding the probing of A single or multiple positive and the trigger will pass if any such matching triggers are PASS or EXCEPTION[A criterion thatmatches no triggers at all is detected and causes a throw.] A single negative with an expectation of appropriate bit checking in the decision bits
int cik
Definition: ME.h:83
void l1t::emtf::ME::set_clct_pattern ( int  bits)
inline

Definition at line 26 of file ME.h.

References bits, and clct_pattern.

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

26 { clct_pattern = bits; }
How EventSelector::AcceptEvent() decides whether to accept an event for output otherwise it is excluding the probing of A single or multiple positive and the trigger will pass if any such matching triggers are PASS or EXCEPTION[A criterion thatmatches no triggers at all is detected and causes a throw.] A single negative with an expectation of appropriate bit checking in the decision bits
int clct_pattern
Definition: ME.h:76
void l1t::emtf::ME::set_csc_ID ( int  bits)
inline

Definition at line 30 of file ME.h.

References bits, and csc_ID.

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

30 { csc_ID = bits; }
How EventSelector::AcceptEvent() decides whether to accept an event for output otherwise it is excluding the probing of A single or multiple positive and the trigger will pass if any such matching triggers are PASS or EXCEPTION[A criterion thatmatches no triggers at all is detected and causes a throw.] A single negative with an expectation of appropriate bit checking in the decision bits
int csc_ID
Definition: ME.h:80
void l1t::emtf::ME::set_dataword ( uint64_t  bits)
inline

Definition at line 46 of file ME.h.

References bits.

46 { dataword = bits; }
How EventSelector::AcceptEvent() decides whether to accept an event for output otherwise it is excluding the probing of A single or multiple positive and the trigger will pass if any such matching triggers are PASS or EXCEPTION[A criterion thatmatches no triggers at all is detected and causes a throw.] A single negative with an expectation of appropriate bit checking in the decision bits
uint64_t dataword
Definition: ME.h:96
void l1t::emtf::ME::set_epc ( int  bits)
inline

Definition at line 39 of file ME.h.

References bits, and epc.

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

39 { epc = bits; }
int epc
Definition: ME.h:89
How EventSelector::AcceptEvent() decides whether to accept an event for output otherwise it is excluding the probing of A single or multiple positive and the trigger will pass if any such matching triggers are PASS or EXCEPTION[A criterion thatmatches no triggers at all is detected and causes a throw.] A single negative with an expectation of appropriate bit checking in the decision bits
void l1t::emtf::ME::set_lr ( int  bits)
inline

Definition at line 29 of file ME.h.

References bits, and lr.

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

29 { lr = bits; }
How EventSelector::AcceptEvent() decides whether to accept an event for output otherwise it is excluding the probing of A single or multiple positive and the trigger will pass if any such matching triggers are PASS or EXCEPTION[A criterion thatmatches no triggers at all is detected and causes a throw.] A single negative with an expectation of appropriate bit checking in the decision bits
int lr
Definition: ME.h:79
void l1t::emtf::ME::set_me_bxn ( int  bits)
inline

Definition at line 35 of file ME.h.

References bits, and me_bxn.

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

35 { me_bxn = bits; }
How EventSelector::AcceptEvent() decides whether to accept an event for output otherwise it is excluding the probing of A single or multiple positive and the trigger will pass if any such matching triggers are PASS or EXCEPTION[A criterion thatmatches no triggers at all is detected and causes a throw.] A single negative with an expectation of appropriate bit checking in the decision bits
int me_bxn
Definition: ME.h:85
void l1t::emtf::ME::set_nit ( int  bits)
inline

Definition at line 34 of file ME.h.

References bits, and nit.

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

34 { nit = bits; }
How EventSelector::AcceptEvent() decides whether to accept an event for output otherwise it is excluding the probing of A single or multiple positive and the trigger will pass if any such matching triggers are PASS or EXCEPTION[A criterion thatmatches no triggers at all is detected and causes a throw.] A single negative with an expectation of appropriate bit checking in the decision bits
int nit
Definition: ME.h:84
void l1t::emtf::ME::set_quality ( int  bits)
inline

Definition at line 25 of file ME.h.

References bits, and quality.

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

25 { quality = bits; }
How EventSelector::AcceptEvent() decides whether to accept an event for output otherwise it is excluding the probing of A single or multiple positive and the trigger will pass if any such matching triggers are PASS or EXCEPTION[A criterion thatmatches no triggers at all is detected and causes a throw.] A single negative with an expectation of appropriate bit checking in the decision bits
int quality
Definition: ME.h:75
void l1t::emtf::ME::set_se ( int  bits)
inline

Definition at line 37 of file ME.h.

References bits, and se.

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

37 { se = bits; }
How EventSelector::AcceptEvent() decides whether to accept an event for output otherwise it is excluding the probing of A single or multiple positive and the trigger will pass if any such matching triggers are PASS or EXCEPTION[A criterion thatmatches no triggers at all is detected and causes a throw.] A single negative with an expectation of appropriate bit checking in the decision bits
int se
Definition: ME.h:87
void l1t::emtf::ME::set_sm ( int  bits)
inline

Definition at line 38 of file ME.h.

References bits, and sm.

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

38 { sm = bits; }
int sm
Definition: ME.h:88
How EventSelector::AcceptEvent() decides whether to accept an event for output otherwise it is excluding the probing of A single or multiple positive and the trigger will pass if any such matching triggers are PASS or EXCEPTION[A criterion thatmatches no triggers at all is detected and causes a throw.] A single negative with an expectation of appropriate bit checking in the decision bits
void l1t::emtf::ME::set_station ( int  bits)
inline

Definition at line 41 of file ME.h.

References bits, and station.

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

41 { station = bits; }
How EventSelector::AcceptEvent() decides whether to accept an event for output otherwise it is excluding the probing of A single or multiple positive and the trigger will pass if any such matching triggers are PASS or EXCEPTION[A criterion thatmatches no triggers at all is detected and causes a throw.] A single negative with an expectation of appropriate bit checking in the decision bits
int station
Definition: ME.h:91
void l1t::emtf::ME::set_strip ( int  bits)
inline

Definition at line 31 of file ME.h.

References bits, and strip.

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

31 { strip = bits; }
How EventSelector::AcceptEvent() decides whether to accept an event for output otherwise it is excluding the probing of A single or multiple positive and the trigger will pass if any such matching triggers are PASS or EXCEPTION[A criterion thatmatches no triggers at all is detected and causes a throw.] A single negative with an expectation of appropriate bit checking in the decision bits
int strip
Definition: ME.h:81
void l1t::emtf::ME::set_stub_num ( int  bits)
inline

Definition at line 44 of file ME.h.

References bits, and stub_num.

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

44 { stub_num = bits; }
How EventSelector::AcceptEvent() decides whether to accept an event for output otherwise it is excluding the probing of A single or multiple positive and the trigger will pass if any such matching triggers are PASS or EXCEPTION[A criterion thatmatches no triggers at all is detected and causes a throw.] A single negative with an expectation of appropriate bit checking in the decision bits
int stub_num
Definition: ME.h:94
void l1t::emtf::ME::set_tbin ( int  bits)
inline

Definition at line 43 of file ME.h.

References bits, and tbin.

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

43 { tbin = bits; }
How EventSelector::AcceptEvent() decides whether to accept an event for output otherwise it is excluding the probing of A single or multiple positive and the trigger will pass if any such matching triggers are PASS or EXCEPTION[A criterion thatmatches no triggers at all is detected and causes a throw.] A single negative with an expectation of appropriate bit checking in the decision bits
int tbin
Definition: ME.h:93
void l1t::emtf::ME::set_vp ( int  bits)
inline

Definition at line 42 of file ME.h.

References bits, and vp.

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

42 { vp = bits; }
How EventSelector::AcceptEvent() decides whether to accept an event for output otherwise it is excluding the probing of A single or multiple positive and the trigger will pass if any such matching triggers are PASS or EXCEPTION[A criterion thatmatches no triggers at all is detected and causes a throw.] A single negative with an expectation of appropriate bit checking in the decision bits
int vp
Definition: ME.h:92
void l1t::emtf::ME::set_wire ( int  bits)
inline

Definition at line 24 of file ME.h.

References bits, and wire.

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

24 { wire = bits; }
How EventSelector::AcceptEvent() decides whether to accept an event for output otherwise it is excluding the probing of A single or multiple positive and the trigger will pass if any such matching triggers are PASS or EXCEPTION[A criterion thatmatches no triggers at all is detected and causes a throw.] A single negative with an expectation of appropriate bit checking in the decision bits
int wire
Definition: ME.h:74
int l1t::emtf::ME::SM ( ) const
inline

Definition at line 62 of file ME.h.

References sm.

62 { return sm; }
int sm
Definition: ME.h:88
int l1t::emtf::ME::Station ( ) const
inline

Definition at line 65 of file ME.h.

References station.

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

65 { return station; }
int station
Definition: ME.h:91
int l1t::emtf::ME::Strip ( ) const
inline

Definition at line 55 of file ME.h.

References strip.

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

55 { return strip; }
int strip
Definition: ME.h:81
int l1t::emtf::ME::Stub_num ( ) const
inline

Definition at line 68 of file ME.h.

References stub_num.

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

68 { return stub_num; }
int stub_num
Definition: ME.h:94
int l1t::emtf::ME::TBIN ( ) const
inline

Definition at line 67 of file ME.h.

References tbin.

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

67 { return tbin; }
int tbin
Definition: ME.h:93
int l1t::emtf::ME::VP ( ) const
inline

Definition at line 66 of file ME.h.

References vp.

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

66 { return vp; }
int vp
Definition: ME.h:92
int l1t::emtf::ME::Wire ( ) const
inline

Definition at line 48 of file ME.h.

References wire.

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

48 { return wire; }
int wire
Definition: ME.h:74

Member Data Documentation

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

Definition at line 90 of file ME.h.

Referenced by AF(), and set_af().

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

Definition at line 86 of file ME.h.

Referenced by AFEF(), and set_afef().

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

Definition at line 82 of file ME.h.

Referenced by AFFF(), and set_afff().

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

Definition at line 77 of file ME.h.

Referenced by BC0(), and set_bc0().

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

Definition at line 78 of file ME.h.

Referenced by BXE(), and set_bxe().

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

Definition at line 83 of file ME.h.

Referenced by CIK(), and set_cik().

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

Definition at line 76 of file ME.h.

Referenced by CLCT_pattern(), and set_clct_pattern().

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

Definition at line 80 of file ME.h.

Referenced by CSC_ID(), and set_csc_ID().

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

Definition at line 96 of file ME.h.

Referenced by Dataword().

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

Definition at line 89 of file ME.h.

Referenced by EPC(), and set_epc().

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

Definition at line 95 of file ME.h.

Referenced by add_format_error(), and Format_errors().

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

Definition at line 79 of file ME.h.

Referenced by LR(), and set_lr().

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

Definition at line 85 of file ME.h.

Referenced by ME_BXN(), and set_me_bxn().

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

Definition at line 84 of file ME.h.

Referenced by NIT(), and set_nit().

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

Definition at line 75 of file ME.h.

Referenced by Quality(), and set_quality().

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

Definition at line 87 of file ME.h.

Referenced by SE(), and set_se().

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

Definition at line 88 of file ME.h.

Referenced by set_sm(), and SM().

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

Definition at line 81 of file ME.h.

Referenced by set_strip(), and Strip().

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

Definition at line 94 of file ME.h.

Referenced by set_stub_num(), and Stub_num().

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

Definition at line 93 of file ME.h.

Referenced by set_tbin(), and TBIN().

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

Definition at line 92 of file ME.h.

Referenced by set_vp(), and VP().

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

Definition at line 74 of file ME.h.

Referenced by set_wire(), and Wire().