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 (uint64_t dataword)
 
 EventTrailer ()
 
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.

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

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.

References bb.

66 { return bb; }

◆ CRC22()

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

Definition at line 52 of file EventTrailer.h.

References crc22.

52 { return crc22; }

◆ Dataword()

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

Definition at line 68 of file EventTrailer.h.

References dataword.

68 { return dataword; }

◆ DD()

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

Definition at line 61 of file EventTrailer.h.

References dd.

61 { return dd; }

◆ DDCRC_bid()

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

Definition at line 55 of file EventTrailer.h.

References ddcsr_bid.

55 { return ddcsr_bid; }

◆ DDCRC_lf()

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

Definition at line 56 of file EventTrailer.h.

References ddcsr_lf.

56 { return ddcsr_lf; }

◆ Format_errors()

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

Definition at line 67 of file EventTrailer.h.

References format_errors.

67 { return format_errors; }

◆ HP()

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

Definition at line 54 of file EventTrailer.h.

References hp.

54 { return hp; }

◆ L1a()

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

Definition at line 58 of file EventTrailer.h.

References l1a.

58 { return l1a; }

◆ LFFF()

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

Definition at line 65 of file EventTrailer.h.

References lfff.

65 { return lfff; }

◆ LP()

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

Definition at line 53 of file EventTrailer.h.

References lp.

53 { return lp; }

◆ MM()

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

Definition at line 60 of file EventTrailer.h.

References mm.

60 { return mm; }

◆ set_bb()

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

◆ set_crc22()

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

◆ set_dataword()

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

◆ set_dd()

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

◆ set_ddcsr_bid()

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

◆ set_ddcsr_lf()

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

◆ set_hp()

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

◆ set_l1a()

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

◆ set_lfff()

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

◆ set_lp()

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

◆ set_mm()

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

◆ set_sp_ersv()

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

◆ set_sp_ladr()

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

◆ set_sp_padr()

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

◆ set_spcsr_scc()

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

◆ set_yy()

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

◆ SP_ersv()

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

Definition at line 63 of file EventTrailer.h.

References sp_ersv.

63 { return sp_ersv; }

◆ SP_ladr()

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

Definition at line 62 of file EventTrailer.h.

References sp_ladr.

62 { return sp_ladr; }

◆ SP_padr()

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

Definition at line 64 of file EventTrailer.h.

References sp_padr.

64 { return sp_padr; }

◆ SPCSR_scc()

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

Definition at line 57 of file EventTrailer.h.

References spcsr_scc.

57 { return spcsr_scc; }

◆ YY()

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

Definition at line 59 of file EventTrailer.h.

References yy.

59 { return 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().