CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 ()
 
 EventTrailer (int int_crc22, int int_lp, int int_hp, int int_ddcsr_bid, int int_ddcsr_lf, int int_spcsr_scc, int int_l1a, int int_yy, int int_mm, int int_dd, int int_sp_ladr, int int_sp_ersv, int int_sp_padr, int int_lfff, int int_bb)
 
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
l1t::emtf::EventTrailer::EventTrailer ( int  int_crc22,
int  int_lp,
int  int_hp,
int  int_ddcsr_bid,
int  int_ddcsr_lf,
int  int_spcsr_scc,
int  int_l1a,
int  int_yy,
int  int_mm,
int  int_dd,
int  int_sp_ladr,
int  int_sp_ersv,
int  int_sp_padr,
int  int_lfff,
int  int_bb 
)
inline

Definition at line 20 of file EventTrailer.h.

21  :
22  crc22(int_crc22), lp(int_lp), hp(int_hp), ddcsr_bid(int_ddcsr_bid), ddcsr_lf(int_ddcsr_lf), spcsr_scc(int_spcsr_scc), l1a(int_l1a), yy(int_yy),
23  mm(int_mm), dd(int_dd), sp_ladr(int_sp_ladr), sp_ersv(int_sp_ersv), sp_padr(int_sp_padr), lfff(int_lfff), bb(int_bb), format_errors(0), dataword(-99)
24  {};
virtual l1t::emtf::EventTrailer::~EventTrailer ( )
inlinevirtual

Definition at line 26 of file EventTrailer.h.

26 {};

Member Function Documentation

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

Definition at line 43 of file EventTrailer.h.

References format_errors.

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

43 { format_errors += 1; }
int l1t::emtf::EventTrailer::BB ( ) const
inline

Definition at line 60 of file EventTrailer.h.

References bb.

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

Definition at line 46 of file EventTrailer.h.

References crc22.

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

Definition at line 62 of file EventTrailer.h.

References dataword.

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

Definition at line 55 of file EventTrailer.h.

References dd.

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

Definition at line 49 of file EventTrailer.h.

References ddcsr_bid.

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

Definition at line 50 of file EventTrailer.h.

References ddcsr_lf.

50 { return ddcsr_lf; }
int l1t::emtf::EventTrailer::Format_Errors ( ) const
inline

Definition at line 61 of file EventTrailer.h.

References format_errors.

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

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

Definition at line 48 of file EventTrailer.h.

References hp.

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

Definition at line 52 of file EventTrailer.h.

References l1a.

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

Definition at line 59 of file EventTrailer.h.

References lfff.

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

Definition at line 47 of file EventTrailer.h.

References lp.

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

Definition at line 54 of file EventTrailer.h.

References mm.

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

Definition at line 42 of file EventTrailer.h.

References bb, and bits.

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

42 { 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 28 of file EventTrailer.h.

References bits, and crc22.

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

28 { 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 44 of file EventTrailer.h.

References bits.

44 { 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 37 of file EventTrailer.h.

References bits, and dd.

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

37 { 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 31 of file EventTrailer.h.

References bits, and ddcsr_bid.

31 { 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 32 of file EventTrailer.h.

References bits, and ddcsr_lf.

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

32 { 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 30 of file EventTrailer.h.

References bits, and hp.

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

30 { 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 34 of file EventTrailer.h.

References bits, and l1a.

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

34 { 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 41 of file EventTrailer.h.

References bits, and lfff.

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

41 { 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 29 of file EventTrailer.h.

References bits, and lp.

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

29 { 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 36 of file EventTrailer.h.

References bits, and mm.

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

36 { 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 39 of file EventTrailer.h.

References bits, and sp_ersv.

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

39 { 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 38 of file EventTrailer.h.

References bits, and sp_ladr.

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

38 { 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 40 of file EventTrailer.h.

References bits, and sp_padr.

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

40 { 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 33 of file EventTrailer.h.

References bits, and spcsr_scc.

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

33 { 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 35 of file EventTrailer.h.

References bits, and yy.

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

35 { 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 57 of file EventTrailer.h.

References sp_ersv.

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

Definition at line 56 of file EventTrailer.h.

References sp_ladr.

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

Definition at line 58 of file EventTrailer.h.

References sp_padr.

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

Definition at line 51 of file EventTrailer.h.

References spcsr_scc.

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

Definition at line 53 of file EventTrailer.h.

References yy.

53 { return yy; }

Member Data Documentation

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

Definition at line 79 of file EventTrailer.h.

Referenced by BB(), and set_bb().

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

Definition at line 65 of file EventTrailer.h.

Referenced by CRC22(), and set_crc22().

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

Definition at line 81 of file EventTrailer.h.

Referenced by Dataword().

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

Definition at line 74 of file EventTrailer.h.

Referenced by DD(), and set_dd().

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

Definition at line 68 of file EventTrailer.h.

Referenced by DDCRC_bid(), and set_ddcsr_bid().

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

Definition at line 69 of file EventTrailer.h.

Referenced by DDCRC_lf(), and set_ddcsr_lf().

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

Definition at line 80 of file EventTrailer.h.

Referenced by add_format_error(), and Format_Errors().

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

Definition at line 67 of file EventTrailer.h.

Referenced by HP(), and set_hp().

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

Definition at line 71 of file EventTrailer.h.

Referenced by L1a(), and set_l1a().

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

Definition at line 78 of file EventTrailer.h.

Referenced by LFFF(), and set_lfff().

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

Definition at line 66 of file EventTrailer.h.

Referenced by LP(), and set_lp().

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

Definition at line 73 of file EventTrailer.h.

Referenced by MM(), and set_mm().

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

Definition at line 76 of file EventTrailer.h.

Referenced by set_sp_ersv(), and SP_ersv().

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

Definition at line 75 of file EventTrailer.h.

Referenced by set_sp_ladr(), and SP_ladr().

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

Definition at line 77 of file EventTrailer.h.

Referenced by set_sp_padr(), and SP_padr().

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

Definition at line 70 of file EventTrailer.h.

Referenced by set_spcsr_scc(), and SPCSR_scc().

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

Definition at line 72 of file EventTrailer.h.

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