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

Constructor & Destructor Documentation

l1t::emtf::EventTrailer::EventTrailer ( uint64_t  dataword)
explicit
l1t::emtf::EventTrailer::EventTrailer ( )
inline
virtual l1t::emtf::EventTrailer::~EventTrailer ( )
inlinevirtual

Definition at line 20 of file EventTrailer.h.

20 {};

Member Function Documentation

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

Definition at line 37 of file EventTrailer.h.

References format_errors.

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

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

Definition at line 54 of file EventTrailer.h.

References bb.

54 { return bb; }
int l1t::emtf::EventTrailer::CRC22 ( ) const
inline

Definition at line 40 of file EventTrailer.h.

References crc22.

40 { return crc22; }
uint64_t l1t::emtf::EventTrailer::Dataword ( ) const
inline

Definition at line 56 of file EventTrailer.h.

References dataword.

56 { return dataword; }
int l1t::emtf::EventTrailer::DD ( ) const
inline

Definition at line 49 of file EventTrailer.h.

References dd.

49 { return dd; }
int l1t::emtf::EventTrailer::DDCRC_bid ( ) const
inline

Definition at line 43 of file EventTrailer.h.

References ddcsr_bid.

43 { return ddcsr_bid; }
int l1t::emtf::EventTrailer::DDCRC_lf ( ) const
inline

Definition at line 44 of file EventTrailer.h.

References ddcsr_lf.

44 { return ddcsr_lf; }
int l1t::emtf::EventTrailer::Format_errors ( ) const
inline

Definition at line 55 of file EventTrailer.h.

References format_errors.

55 { return format_errors; }
int l1t::emtf::EventTrailer::HP ( ) const
inline

Definition at line 42 of file EventTrailer.h.

References hp.

42 { return hp; }
int l1t::emtf::EventTrailer::L1a ( ) const
inline

Definition at line 46 of file EventTrailer.h.

References l1a.

46 { return l1a; }
int l1t::emtf::EventTrailer::LFFF ( ) const
inline

Definition at line 53 of file EventTrailer.h.

References lfff.

53 { return lfff; }
int l1t::emtf::EventTrailer::LP ( ) const
inline

Definition at line 41 of file EventTrailer.h.

References lp.

41 { return lp; }
int l1t::emtf::EventTrailer::MM ( ) const
inline

Definition at line 48 of file EventTrailer.h.

References mm.

48 { return mm; }
void l1t::emtf::EventTrailer::set_bb ( int  bits)
inline

Definition at line 36 of file EventTrailer.h.

References bb, and bits.

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

36 { bb = 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
void l1t::emtf::EventTrailer::set_crc22 ( int  bits)
inline

Definition at line 22 of file EventTrailer.h.

References bits, and crc22.

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

22 { crc22 = 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
void l1t::emtf::EventTrailer::set_dataword ( uint64_t  bits)
inline

Definition at line 38 of file EventTrailer.h.

References bits.

38 { 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
void l1t::emtf::EventTrailer::set_dd ( int  bits)
inline

Definition at line 31 of file EventTrailer.h.

References bits, and dd.

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

31 { dd = 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
void l1t::emtf::EventTrailer::set_ddcsr_bid ( int  bits)
inline

Definition at line 25 of file EventTrailer.h.

References bits, and ddcsr_bid.

25 { ddcsr_bid = 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
void l1t::emtf::EventTrailer::set_ddcsr_lf ( int  bits)
inline

Definition at line 26 of file EventTrailer.h.

References bits, and ddcsr_lf.

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

26 { ddcsr_lf = 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
void l1t::emtf::EventTrailer::set_hp ( int  bits)
inline

Definition at line 24 of file EventTrailer.h.

References bits, and hp.

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

24 { hp = 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
void l1t::emtf::EventTrailer::set_l1a ( int  bits)
inline

Definition at line 28 of file EventTrailer.h.

References bits, and l1a.

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

28 { l1a = 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
void l1t::emtf::EventTrailer::set_lfff ( int  bits)
inline

Definition at line 35 of file EventTrailer.h.

References bits, and lfff.

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

35 { lfff = 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
void l1t::emtf::EventTrailer::set_lp ( int  bits)
inline

Definition at line 23 of file EventTrailer.h.

References bits, and lp.

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

23 { lp = 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
void l1t::emtf::EventTrailer::set_mm ( int  bits)
inline

Definition at line 30 of file EventTrailer.h.

References bits, and mm.

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

30 { mm = 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
void l1t::emtf::EventTrailer::set_sp_ersv ( int  bits)
inline

Definition at line 33 of file EventTrailer.h.

References bits, and sp_ersv.

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

33 { sp_ersv = 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
void l1t::emtf::EventTrailer::set_sp_ladr ( int  bits)
inline

Definition at line 32 of file EventTrailer.h.

References bits, and sp_ladr.

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

32 { sp_ladr = 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
void l1t::emtf::EventTrailer::set_sp_padr ( int  bits)
inline

Definition at line 34 of file EventTrailer.h.

References bits, and sp_padr.

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

34 { sp_padr = 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
void l1t::emtf::EventTrailer::set_spcsr_scc ( int  bits)
inline

Definition at line 27 of file EventTrailer.h.

References bits, and spcsr_scc.

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

27 { spcsr_scc = 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
void l1t::emtf::EventTrailer::set_yy ( int  bits)
inline

Definition at line 29 of file EventTrailer.h.

References bits, and yy.

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

29 { yy = 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 l1t::emtf::EventTrailer::SP_ersv ( ) const
inline

Definition at line 51 of file EventTrailer.h.

References sp_ersv.

51 { return sp_ersv; }
int l1t::emtf::EventTrailer::SP_ladr ( ) const
inline

Definition at line 50 of file EventTrailer.h.

References sp_ladr.

50 { return sp_ladr; }
int l1t::emtf::EventTrailer::SP_padr ( ) const
inline

Definition at line 52 of file EventTrailer.h.

References sp_padr.

52 { return sp_padr; }
int l1t::emtf::EventTrailer::SPCSR_scc ( ) const
inline

Definition at line 45 of file EventTrailer.h.

References spcsr_scc.

45 { return spcsr_scc; }
int l1t::emtf::EventTrailer::YY ( ) const
inline

Definition at line 47 of file EventTrailer.h.

References yy.

47 { return yy; }

Member Data Documentation

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

Definition at line 73 of file EventTrailer.h.

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

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

Definition at line 59 of file EventTrailer.h.

Referenced by CRC22(), and set_crc22().

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

Definition at line 75 of file EventTrailer.h.

Referenced by Dataword().

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

Definition at line 68 of file EventTrailer.h.

Referenced by DD(), and set_dd().

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

Definition at line 62 of file EventTrailer.h.

Referenced by DDCRC_bid(), and set_ddcsr_bid().

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

Definition at line 63 of file EventTrailer.h.

Referenced by DDCRC_lf(), and set_ddcsr_lf().

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

Definition at line 74 of file EventTrailer.h.

Referenced by add_format_error(), and Format_errors().

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

Definition at line 61 of file EventTrailer.h.

Referenced by HP(), and set_hp().

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

Definition at line 65 of file EventTrailer.h.

Referenced by L1a(), and set_l1a().

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

Definition at line 72 of file EventTrailer.h.

Referenced by LFFF(), and set_lfff().

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

Definition at line 60 of file EventTrailer.h.

Referenced by LP(), and set_lp().

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

Definition at line 67 of file EventTrailer.h.

Referenced by MM(), and set_mm().

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

Definition at line 70 of file EventTrailer.h.

Referenced by set_sp_ersv(), and SP_ersv().

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

Definition at line 69 of file EventTrailer.h.

Referenced by set_sp_ladr(), and SP_ladr().

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

Definition at line 71 of file EventTrailer.h.

Referenced by set_sp_padr(), and SP_padr().

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

Definition at line 64 of file EventTrailer.h.

Referenced by set_spcsr_scc(), and SPCSR_scc().

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

Definition at line 66 of file EventTrailer.h.

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