CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups 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 ()
 
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

Definition at line 15 of file AMC13Trailer.h.

16  : evt_lgth(-99),
17  crc16(-99),
18  evt_stat(-99),
19  tts(-99),
20  c(-99),
21  f(-99),
22  t(-99),
23  r(-99),
24  format_errors(0),
25  dataword(-99){};
virtual l1t::emtf::AMC13Trailer::~AMC13Trailer ( )
inlinevirtual

Definition at line 27 of file AMC13Trailer.h.

27 {};

Member Function Documentation

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

Definition at line 37 of file AMC13Trailer.h.

References format_errors.

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

Definition at line 44 of file AMC13Trailer.h.

References c.

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

Definition at line 41 of file AMC13Trailer.h.

References crc16.

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

Definition at line 49 of file AMC13Trailer.h.

References dataword.

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

Definition at line 40 of file AMC13Trailer.h.

References evt_lgth.

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

Definition at line 42 of file AMC13Trailer.h.

References evt_stat.

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

Definition at line 45 of file AMC13Trailer.h.

References f.

45 { return f; }
int l1t::emtf::AMC13Trailer::Format_errors ( ) const
inline

Definition at line 48 of file AMC13Trailer.h.

References format_errors.

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

Definition at line 47 of file AMC13Trailer.h.

References r.

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

Definition at line 33 of file AMC13Trailer.h.

References c.

33 { c = bits; }
void l1t::emtf::AMC13Trailer::set_crc16 ( int  bits)
inline

Definition at line 30 of file AMC13Trailer.h.

References crc16.

30 { crc16 = bits; }
void l1t::emtf::AMC13Trailer::set_dataword ( uint64_t  bits)
inline

Definition at line 38 of file AMC13Trailer.h.

38 { dataword = bits; }
void l1t::emtf::AMC13Trailer::set_evt_lgth ( int  bits)
inline

Definition at line 29 of file AMC13Trailer.h.

References evt_lgth.

29 { evt_lgth = bits; }
void l1t::emtf::AMC13Trailer::set_evt_stat ( int  bits)
inline

Definition at line 31 of file AMC13Trailer.h.

References evt_stat.

31 { evt_stat = bits; }
void l1t::emtf::AMC13Trailer::set_f ( int  bits)
inline

Definition at line 34 of file AMC13Trailer.h.

References f.

34 { f = bits; }
void l1t::emtf::AMC13Trailer::set_r ( int  bits)
inline

Definition at line 36 of file AMC13Trailer.h.

References r.

36 { r = bits; }
void l1t::emtf::AMC13Trailer::set_t ( int  bits)
inline

Definition at line 35 of file AMC13Trailer.h.

References t.

35 { t = bits; }
void l1t::emtf::AMC13Trailer::set_tts ( int  bits)
inline

Definition at line 32 of file AMC13Trailer.h.

References tts.

32 { tts = bits; }
int l1t::emtf::AMC13Trailer::T ( ) const
inline

Definition at line 46 of file AMC13Trailer.h.

References t.

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

Definition at line 43 of file AMC13Trailer.h.

References tts.

43 { return tts; }

Member Data Documentation

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

Definition at line 56 of file AMC13Trailer.h.

Referenced by C(), and set_c().

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

Definition at line 53 of file AMC13Trailer.h.

Referenced by CRC16(), and set_crc16().

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

Definition at line 61 of file AMC13Trailer.h.

Referenced by Dataword().

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

Definition at line 52 of file AMC13Trailer.h.

Referenced by Evt_lgth(), and set_evt_lgth().

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

Definition at line 54 of file AMC13Trailer.h.

Referenced by Evt_stat(), and set_evt_stat().

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

Definition at line 57 of file AMC13Trailer.h.

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

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

Definition at line 60 of file AMC13Trailer.h.

Referenced by add_format_error(), and Format_errors().

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

Definition at line 59 of file AMC13Trailer.h.

Referenced by R(), and set_r().

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

Definition at line 58 of file AMC13Trailer.h.

Referenced by set_t(), and T().

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

Definition at line 55 of file AMC13Trailer.h.

Referenced by set_tts(), and TTS().