CMS 3D CMS Logo

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

#include <EventTrailer.h>

Public Member Functions

void add_format_error ()
 
int BB () const
 
int CRC22 () const
 
uint64_t Dataword () const
 
int DD () const
 
int DDCRC_bid () const
 
int DDCRC_lf () const
 
 EventTrailer ()
 
 EventTrailer (uint64_t dataword)
 
int Format_errors () const
 
int HP () const
 
int L1a () const
 
int LFFF () const
 
int LP () const
 
int MM () const
 
void set_bb (int bits)
 
void set_crc22 (int bits)
 
void set_dataword (uint64_t bits)
 
void set_dd (int bits)
 
void set_ddcsr_bid (int bits)
 
void set_ddcsr_lf (int bits)
 
void set_hp (int bits)
 
void set_l1a (int bits)
 
void set_lfff (int bits)
 
void set_lp (int bits)
 
void set_mm (int bits)
 
void set_sp_ersv (int bits)
 
void set_sp_ladr (int bits)
 
void set_sp_padr (int bits)
 
void set_spcsr_scc (int bits)
 
void set_yy (int bits)
 
int SP_ersv () const
 
int SP_ladr () const
 
int SP_padr () const
 
int SPCSR_scc () const
 
int YY () const
 
virtual ~EventTrailer ()
 

Private Attributes

int bb
 
int crc22
 
uint64_t dataword
 
int dd
 
int ddcsr_bid
 
int ddcsr_lf
 
int format_errors
 
int hp
 
int l1a
 
int lfff
 
int lp
 
int mm
 
int sp_ersv
 
int sp_ladr
 
int sp_padr
 
int spcsr_scc
 
int yy
 

Detailed Description

Definition at line 9 of file EventTrailer.h.

Constructor & Destructor Documentation

◆ EventTrailer() [1/2]

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

◆ EventTrailer() [2/2]

l1t::emtf::EventTrailer::EventTrailer ( )
inline

Definition at line 13 of file EventTrailer.h.

14  : crc22(-99),
15  lp(-99),
16  hp(-99),
17  ddcsr_bid(-99),
18  ddcsr_lf(-99),
19  spcsr_scc(-99),
20  l1a(-99),
21  yy(-99),
22  mm(-99),
23  dd(-99),
24  sp_ladr(-99),
25  sp_ersv(-99),
26  sp_padr(-99),
27  lfff(-99),
28  bb(-99),
29  format_errors(0),
30  dataword(-99){};

◆ ~EventTrailer()

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

Definition at line 32 of file EventTrailer.h.

32 {};

Member Function Documentation

◆ add_format_error()

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

Definition at line 49 of file EventTrailer.h.

49 { format_errors += 1; }

References format_errors.

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

◆ BB()

int l1t::emtf::EventTrailer::BB ( ) const
inline

Definition at line 66 of file EventTrailer.h.

66 { return bb; }

References bb.

◆ CRC22()

int l1t::emtf::EventTrailer::CRC22 ( ) const
inline

Definition at line 52 of file EventTrailer.h.

52 { return crc22; }

References crc22.

◆ Dataword()

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

Definition at line 68 of file EventTrailer.h.

68 { return dataword; }

References dataword.

◆ DD()

int l1t::emtf::EventTrailer::DD ( ) const
inline

Definition at line 61 of file EventTrailer.h.

61 { return dd; }

References dd.

◆ DDCRC_bid()

int l1t::emtf::EventTrailer::DDCRC_bid ( ) const
inline

Definition at line 55 of file EventTrailer.h.

55 { return ddcsr_bid; }

References ddcsr_bid.

◆ DDCRC_lf()

int l1t::emtf::EventTrailer::DDCRC_lf ( ) const
inline

Definition at line 56 of file EventTrailer.h.

56 { return ddcsr_lf; }

References ddcsr_lf.

◆ Format_errors()

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

Definition at line 67 of file EventTrailer.h.

67 { return format_errors; }

References format_errors.

◆ HP()

int l1t::emtf::EventTrailer::HP ( ) const
inline

Definition at line 54 of file EventTrailer.h.

54 { return hp; }

References hp.

◆ L1a()

int l1t::emtf::EventTrailer::L1a ( ) const
inline

Definition at line 58 of file EventTrailer.h.

58 { return l1a; }

References l1a.

◆ LFFF()

int l1t::emtf::EventTrailer::LFFF ( ) const
inline

Definition at line 65 of file EventTrailer.h.

65 { return lfff; }

References lfff.

◆ LP()

int l1t::emtf::EventTrailer::LP ( ) const
inline

Definition at line 53 of file EventTrailer.h.

53 { return lp; }

References lp.

◆ MM()

int l1t::emtf::EventTrailer::MM ( ) const
inline

Definition at line 60 of file EventTrailer.h.

60 { return mm; }

References mm.

◆ set_bb()

void l1t::emtf::EventTrailer::set_bb ( int  bits)
inline

Definition at line 48 of file EventTrailer.h.

48 { bb = bits; }

References bb, and bits.

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

◆ set_crc22()

void l1t::emtf::EventTrailer::set_crc22 ( int  bits)
inline

Definition at line 34 of file EventTrailer.h.

34 { crc22 = bits; }

References bits, and crc22.

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

◆ set_dataword()

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

Definition at line 50 of file EventTrailer.h.

50 { dataword = bits; }

References bits, and dataword.

◆ set_dd()

void l1t::emtf::EventTrailer::set_dd ( int  bits)
inline

Definition at line 43 of file EventTrailer.h.

43 { dd = bits; }

References bits, and dd.

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

◆ set_ddcsr_bid()

void l1t::emtf::EventTrailer::set_ddcsr_bid ( int  bits)
inline

Definition at line 37 of file EventTrailer.h.

37 { ddcsr_bid = bits; }

References bits, and ddcsr_bid.

◆ set_ddcsr_lf()

void l1t::emtf::EventTrailer::set_ddcsr_lf ( int  bits)
inline

Definition at line 38 of file EventTrailer.h.

38 { ddcsr_lf = bits; }

References bits, and ddcsr_lf.

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

◆ set_hp()

void l1t::emtf::EventTrailer::set_hp ( int  bits)
inline

Definition at line 36 of file EventTrailer.h.

36 { hp = bits; }

References bits, and hp.

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

◆ set_l1a()

void l1t::emtf::EventTrailer::set_l1a ( int  bits)
inline

Definition at line 40 of file EventTrailer.h.

40 { l1a = bits; }

References bits, and l1a.

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

◆ set_lfff()

void l1t::emtf::EventTrailer::set_lfff ( int  bits)
inline

Definition at line 47 of file EventTrailer.h.

47 { lfff = bits; }

References bits, and lfff.

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

◆ set_lp()

void l1t::emtf::EventTrailer::set_lp ( int  bits)
inline

Definition at line 35 of file EventTrailer.h.

35 { lp = bits; }

References bits, and lp.

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

◆ set_mm()

void l1t::emtf::EventTrailer::set_mm ( int  bits)
inline

Definition at line 42 of file EventTrailer.h.

42 { mm = bits; }

References bits, and mm.

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

◆ set_sp_ersv()

void l1t::emtf::EventTrailer::set_sp_ersv ( int  bits)
inline

Definition at line 45 of file EventTrailer.h.

45 { sp_ersv = bits; }

References bits, and sp_ersv.

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

◆ set_sp_ladr()

void l1t::emtf::EventTrailer::set_sp_ladr ( int  bits)
inline

Definition at line 44 of file EventTrailer.h.

44 { sp_ladr = bits; }

References bits, and sp_ladr.

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

◆ set_sp_padr()

void l1t::emtf::EventTrailer::set_sp_padr ( int  bits)
inline

Definition at line 46 of file EventTrailer.h.

46 { sp_padr = bits; }

References bits, and sp_padr.

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

◆ set_spcsr_scc()

void l1t::emtf::EventTrailer::set_spcsr_scc ( int  bits)
inline

Definition at line 39 of file EventTrailer.h.

39 { spcsr_scc = bits; }

References bits, and spcsr_scc.

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

◆ set_yy()

void l1t::emtf::EventTrailer::set_yy ( int  bits)
inline

Definition at line 41 of file EventTrailer.h.

41 { yy = bits; }

References bits, and yy.

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

◆ SP_ersv()

int l1t::emtf::EventTrailer::SP_ersv ( ) const
inline

Definition at line 63 of file EventTrailer.h.

63 { return sp_ersv; }

References sp_ersv.

◆ SP_ladr()

int l1t::emtf::EventTrailer::SP_ladr ( ) const
inline

Definition at line 62 of file EventTrailer.h.

62 { return sp_ladr; }

References sp_ladr.

◆ SP_padr()

int l1t::emtf::EventTrailer::SP_padr ( ) const
inline

Definition at line 64 of file EventTrailer.h.

64 { return sp_padr; }

References sp_padr.

◆ SPCSR_scc()

int l1t::emtf::EventTrailer::SPCSR_scc ( ) const
inline

Definition at line 57 of file EventTrailer.h.

57 { return spcsr_scc; }

References spcsr_scc.

◆ YY()

int l1t::emtf::EventTrailer::YY ( ) const
inline

Definition at line 59 of file EventTrailer.h.

59 { return yy; }

References yy.

Member Data Documentation

◆ bb

int l1t::emtf::EventTrailer::bb
private

Definition at line 85 of file EventTrailer.h.

Referenced by BB(), geometryXMLparser.Alignable::covariance(), and set_bb().

◆ crc22

int l1t::emtf::EventTrailer::crc22
private

Definition at line 71 of file EventTrailer.h.

Referenced by CRC22(), and set_crc22().

◆ dataword

uint64_t l1t::emtf::EventTrailer::dataword
private

Definition at line 87 of file EventTrailer.h.

Referenced by Dataword(), and set_dataword().

◆ dd

int l1t::emtf::EventTrailer::dd
private

Definition at line 80 of file EventTrailer.h.

Referenced by DD(), and set_dd().

◆ ddcsr_bid

int l1t::emtf::EventTrailer::ddcsr_bid
private

Definition at line 74 of file EventTrailer.h.

Referenced by DDCRC_bid(), and set_ddcsr_bid().

◆ ddcsr_lf

int l1t::emtf::EventTrailer::ddcsr_lf
private

Definition at line 75 of file EventTrailer.h.

Referenced by DDCRC_lf(), and set_ddcsr_lf().

◆ format_errors

int l1t::emtf::EventTrailer::format_errors
private

Definition at line 86 of file EventTrailer.h.

Referenced by add_format_error(), and Format_errors().

◆ hp

int l1t::emtf::EventTrailer::hp
private

Definition at line 73 of file EventTrailer.h.

Referenced by HP(), and set_hp().

◆ l1a

int l1t::emtf::EventTrailer::l1a
private

Definition at line 77 of file EventTrailer.h.

Referenced by L1a(), and set_l1a().

◆ lfff

int l1t::emtf::EventTrailer::lfff
private

Definition at line 84 of file EventTrailer.h.

Referenced by LFFF(), and set_lfff().

◆ lp

int l1t::emtf::EventTrailer::lp
private

Definition at line 72 of file EventTrailer.h.

Referenced by LP(), and set_lp().

◆ mm

int l1t::emtf::EventTrailer::mm
private

Definition at line 79 of file EventTrailer.h.

Referenced by MM(), and set_mm().

◆ sp_ersv

int l1t::emtf::EventTrailer::sp_ersv
private

Definition at line 82 of file EventTrailer.h.

Referenced by set_sp_ersv(), and SP_ersv().

◆ sp_ladr

int l1t::emtf::EventTrailer::sp_ladr
private

Definition at line 81 of file EventTrailer.h.

Referenced by set_sp_ladr(), and SP_ladr().

◆ sp_padr

int l1t::emtf::EventTrailer::sp_padr
private

Definition at line 83 of file EventTrailer.h.

Referenced by set_sp_padr(), and SP_padr().

◆ spcsr_scc

int l1t::emtf::EventTrailer::spcsr_scc
private

Definition at line 76 of file EventTrailer.h.

Referenced by set_spcsr_scc(), and SPCSR_scc().

◆ yy

int l1t::emtf::EventTrailer::yy
private

Definition at line 78 of file EventTrailer.h.

Referenced by geometryXMLparser.Alignable::covariance(), set_yy(), and YY().

l1t::emtf::EventTrailer::yy
int yy
Definition: EventTrailer.h:78
l1t::emtf::EventTrailer::dd
int dd
Definition: EventTrailer.h:80
l1t::emtf::EventTrailer::bb
int bb
Definition: EventTrailer.h:85
l1t::emtf::EventTrailer::ddcsr_lf
int ddcsr_lf
Definition: EventTrailer.h:75
l1t::emtf::EventTrailer::mm
int mm
Definition: EventTrailer.h:79
l1t::emtf::EventTrailer::lfff
int lfff
Definition: EventTrailer.h:84
l1t::emtf::EventTrailer::lp
int lp
Definition: EventTrailer.h:72
l1t::emtf::EventTrailer::ddcsr_bid
int ddcsr_bid
Definition: EventTrailer.h:74
l1t::emtf::EventTrailer::sp_ladr
int sp_ladr
Definition: EventTrailer.h:81
l1t::emtf::EventTrailer::sp_padr
int sp_padr
Definition: EventTrailer.h:83
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
Definition: EventSelector-behavior.doc:35
l1t::emtf::EventTrailer::crc22
int crc22
Definition: EventTrailer.h:71
l1t::emtf::EventTrailer::l1a
int l1a
Definition: EventTrailer.h:77
l1t::emtf::EventTrailer::hp
int hp
Definition: EventTrailer.h:73
l1t::emtf::EventTrailer::format_errors
int format_errors
Definition: EventTrailer.h:86
l1t::emtf::EventTrailer::spcsr_scc
int spcsr_scc
Definition: EventTrailer.h:76
l1t::emtf::EventTrailer::dataword
uint64_t dataword
Definition: EventTrailer.h:87
l1t::emtf::EventTrailer::sp_ersv
int sp_ersv
Definition: EventTrailer.h:82