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::AMC13Trailer Class Reference

#include <AMC13Trailer.h>

Public Member Functions

void add_format_error ()
 
 AMC13Trailer (uint64_t dataword)
 
 AMC13Trailer ()
 
 AMC13Trailer (int int_evt_lgth, int int_crc16, int int_evt_stat, int int_tts, int int_c, int int_f, int int_t, int int_r)
 
int C () const
 
int CRC16 () const
 
uint64_t Dataword () const
 
int Evt_lgth () const
 
int Evt_stat () const
 
int F () const
 
int Format_Errors () const
 
int R () const
 
void set_c (int bits)
 
void set_crc16 (int bits)
 
void set_dataword (uint64_t bits)
 
void set_evt_lgth (int bits)
 
void set_evt_stat (int bits)
 
void set_f (int bits)
 
void set_r (int bits)
 
void set_t (int bits)
 
void set_tts (int bits)
 
int T () const
 
int TTS () const
 
virtual ~AMC13Trailer ()
 

Private Attributes

int c
 
int crc16
 
uint64_t dataword
 
int evt_lgth
 
int evt_stat
 
int f
 
int format_errors
 
int r
 
int t
 
int tts
 

Detailed Description

Definition at line 11 of file AMC13Trailer.h.

Constructor & Destructor Documentation

l1t::emtf::AMC13Trailer::AMC13Trailer ( uint64_t  dataword)
explicit
l1t::emtf::AMC13Trailer::AMC13Trailer ( )
inline
l1t::emtf::AMC13Trailer::AMC13Trailer ( int  int_evt_lgth,
int  int_crc16,
int  int_evt_stat,
int  int_tts,
int  int_c,
int  int_f,
int  int_t,
int  int_r 
)
inline

Definition at line 22 of file AMC13Trailer.h.

22  :
23  evt_lgth(int_evt_lgth), crc16(int_crc16), evt_stat(int_evt_stat), tts(int_tts), c(int_c), f(int_f), t(int_t), r(int_r), format_errors(0), dataword(-99)
24  {};
virtual l1t::emtf::AMC13Trailer::~AMC13Trailer ( )
inlinevirtual

Definition at line 26 of file AMC13Trailer.h.

26 {};

Member Function Documentation

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

Definition at line 36 of file AMC13Trailer.h.

References format_errors.

36 { format_errors += 1; }
int l1t::emtf::AMC13Trailer::C ( ) const
inline

Definition at line 43 of file AMC13Trailer.h.

References c.

43 { return c; }
int l1t::emtf::AMC13Trailer::CRC16 ( ) const
inline

Definition at line 40 of file AMC13Trailer.h.

References crc16.

40 { return crc16; }
uint64_t l1t::emtf::AMC13Trailer::Dataword ( ) const
inline

Definition at line 48 of file AMC13Trailer.h.

References dataword.

48 { return dataword; }
int l1t::emtf::AMC13Trailer::Evt_lgth ( ) const
inline

Definition at line 39 of file AMC13Trailer.h.

References evt_lgth.

39 { return evt_lgth; }
int l1t::emtf::AMC13Trailer::Evt_stat ( ) const
inline

Definition at line 41 of file AMC13Trailer.h.

References evt_stat.

41 { return evt_stat; }
int l1t::emtf::AMC13Trailer::F ( ) const
inline

Definition at line 44 of file AMC13Trailer.h.

References f.

44 { return f; }
int l1t::emtf::AMC13Trailer::Format_Errors ( ) const
inline

Definition at line 47 of file AMC13Trailer.h.

References format_errors.

47 { return format_errors; }
int l1t::emtf::AMC13Trailer::R ( ) const
inline

Definition at line 46 of file AMC13Trailer.h.

References r.

46 { return r; }
void l1t::emtf::AMC13Trailer::set_c ( int  bits)
inline

Definition at line 32 of file AMC13Trailer.h.

References bits, and c.

32 { c = 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::AMC13Trailer::set_crc16 ( int  bits)
inline

Definition at line 29 of file AMC13Trailer.h.

References bits, and crc16.

29 { crc16 = 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::AMC13Trailer::set_dataword ( uint64_t  bits)
inline

Definition at line 37 of file AMC13Trailer.h.

References bits.

37 { 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::AMC13Trailer::set_evt_lgth ( int  bits)
inline

Definition at line 28 of file AMC13Trailer.h.

References bits, and evt_lgth.

28 { evt_lgth = 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::AMC13Trailer::set_evt_stat ( int  bits)
inline

Definition at line 30 of file AMC13Trailer.h.

References bits, and evt_stat.

30 { evt_stat = 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::AMC13Trailer::set_f ( int  bits)
inline

Definition at line 33 of file AMC13Trailer.h.

References bits, and f.

33 { f = 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::AMC13Trailer::set_r ( int  bits)
inline

Definition at line 35 of file AMC13Trailer.h.

References bits, and r.

35 { r = 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::AMC13Trailer::set_t ( int  bits)
inline

Definition at line 34 of file AMC13Trailer.h.

References bits, and t.

34 { t = 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::AMC13Trailer::set_tts ( int  bits)
inline

Definition at line 31 of file AMC13Trailer.h.

References bits, and tts.

31 { tts = 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::AMC13Trailer::T ( ) const
inline

Definition at line 45 of file AMC13Trailer.h.

References t.

45 { return t; }
int l1t::emtf::AMC13Trailer::TTS ( ) const
inline

Definition at line 42 of file AMC13Trailer.h.

References tts.

42 { return tts; }

Member Data Documentation

int l1t::emtf::AMC13Trailer::c
private

Definition at line 55 of file AMC13Trailer.h.

Referenced by C(), and set_c().

int l1t::emtf::AMC13Trailer::crc16
private

Definition at line 52 of file AMC13Trailer.h.

Referenced by CRC16(), and set_crc16().

uint64_t l1t::emtf::AMC13Trailer::dataword
private

Definition at line 60 of file AMC13Trailer.h.

Referenced by Dataword().

int l1t::emtf::AMC13Trailer::evt_lgth
private

Definition at line 51 of file AMC13Trailer.h.

Referenced by Evt_lgth(), and set_evt_lgth().

int l1t::emtf::AMC13Trailer::evt_stat
private

Definition at line 53 of file AMC13Trailer.h.

Referenced by Evt_stat(), and set_evt_stat().

int l1t::emtf::AMC13Trailer::f
private

Definition at line 56 of file AMC13Trailer.h.

Referenced by F(), ztail.Decoder::initial_synchronize(), and set_f().

int l1t::emtf::AMC13Trailer::format_errors
private

Definition at line 59 of file AMC13Trailer.h.

Referenced by add_format_error(), and Format_Errors().

int l1t::emtf::AMC13Trailer::r
private

Definition at line 58 of file AMC13Trailer.h.

Referenced by R(), and set_r().

int l1t::emtf::AMC13Trailer::t
private

Definition at line 57 of file AMC13Trailer.h.

Referenced by set_t(), and T().

int l1t::emtf::AMC13Trailer::tts
private

Definition at line 54 of file AMC13Trailer.h.

Referenced by set_tts(), and TTS().