CMS 3D CMS Logo

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

◆ AMC13Trailer() [1/2]

l1t::emtf::AMC13Trailer::AMC13Trailer ( uint64_t  dataword)
explicit

◆ AMC13Trailer() [2/2]

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){};

◆ ~AMC13Trailer()

virtual l1t::emtf::AMC13Trailer::~AMC13Trailer ( )
inlinevirtual

Definition at line 27 of file AMC13Trailer.h.

27 {};

Member Function Documentation

◆ add_format_error()

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

Definition at line 37 of file AMC13Trailer.h.

37 { format_errors += 1; }

References format_errors.

◆ C()

int l1t::emtf::AMC13Trailer::C ( ) const
inline

Definition at line 44 of file AMC13Trailer.h.

44 { return c; }

References c.

◆ CRC16()

int l1t::emtf::AMC13Trailer::CRC16 ( ) const
inline

Definition at line 41 of file AMC13Trailer.h.

41 { return crc16; }

References crc16.

◆ Dataword()

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

Definition at line 49 of file AMC13Trailer.h.

49 { return dataword; }

References dataword.

◆ Evt_lgth()

int l1t::emtf::AMC13Trailer::Evt_lgth ( ) const
inline

Definition at line 40 of file AMC13Trailer.h.

40 { return evt_lgth; }

References evt_lgth.

◆ Evt_stat()

int l1t::emtf::AMC13Trailer::Evt_stat ( ) const
inline

Definition at line 42 of file AMC13Trailer.h.

42 { return evt_stat; }

References evt_stat.

◆ F()

int l1t::emtf::AMC13Trailer::F ( ) const
inline

Definition at line 45 of file AMC13Trailer.h.

45 { return f; }

References f.

◆ Format_errors()

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

Definition at line 48 of file AMC13Trailer.h.

48 { return format_errors; }

References format_errors.

◆ R()

int l1t::emtf::AMC13Trailer::R ( ) const
inline

Definition at line 47 of file AMC13Trailer.h.

47 { return r; }

References r.

◆ set_c()

void l1t::emtf::AMC13Trailer::set_c ( int  bits)
inline

Definition at line 33 of file AMC13Trailer.h.

33 { c = bits; }

References c.

◆ set_crc16()

void l1t::emtf::AMC13Trailer::set_crc16 ( int  bits)
inline

Definition at line 30 of file AMC13Trailer.h.

30 { crc16 = bits; }

References crc16.

◆ set_dataword()

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

Definition at line 38 of file AMC13Trailer.h.

38 { dataword = bits; }

References dataword.

◆ set_evt_lgth()

void l1t::emtf::AMC13Trailer::set_evt_lgth ( int  bits)
inline

Definition at line 29 of file AMC13Trailer.h.

29 { evt_lgth = bits; }

References evt_lgth.

◆ set_evt_stat()

void l1t::emtf::AMC13Trailer::set_evt_stat ( int  bits)
inline

Definition at line 31 of file AMC13Trailer.h.

31 { evt_stat = bits; }

References evt_stat.

◆ set_f()

void l1t::emtf::AMC13Trailer::set_f ( int  bits)
inline

Definition at line 34 of file AMC13Trailer.h.

34 { f = bits; }

References f.

◆ set_r()

void l1t::emtf::AMC13Trailer::set_r ( int  bits)
inline

Definition at line 36 of file AMC13Trailer.h.

36 { r = bits; }

References r.

◆ set_t()

void l1t::emtf::AMC13Trailer::set_t ( int  bits)
inline

Definition at line 35 of file AMC13Trailer.h.

35 { t = bits; }

References t.

◆ set_tts()

void l1t::emtf::AMC13Trailer::set_tts ( int  bits)
inline

Definition at line 32 of file AMC13Trailer.h.

32 { tts = bits; }

References tts.

◆ T()

int l1t::emtf::AMC13Trailer::T ( ) const
inline

Definition at line 46 of file AMC13Trailer.h.

46 { return t; }

References t.

◆ TTS()

int l1t::emtf::AMC13Trailer::TTS ( ) const
inline

Definition at line 43 of file AMC13Trailer.h.

43 { return tts; }

References tts.

Member Data Documentation

◆ c

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

Definition at line 56 of file AMC13Trailer.h.

Referenced by C(), and set_c().

◆ crc16

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

Definition at line 53 of file AMC13Trailer.h.

Referenced by CRC16(), and set_crc16().

◆ dataword

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

Definition at line 61 of file AMC13Trailer.h.

Referenced by Dataword(), and set_dataword().

◆ evt_lgth

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

Definition at line 52 of file AMC13Trailer.h.

Referenced by Evt_lgth(), and set_evt_lgth().

◆ evt_stat

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

Definition at line 54 of file AMC13Trailer.h.

Referenced by Evt_stat(), and set_evt_stat().

◆ f

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

◆ format_errors

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

Definition at line 60 of file AMC13Trailer.h.

Referenced by add_format_error(), and Format_errors().

◆ r

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

Definition at line 59 of file AMC13Trailer.h.

Referenced by R(), and set_r().

◆ t

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

Definition at line 58 of file AMC13Trailer.h.

Referenced by set_t(), and T().

◆ tts

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

Definition at line 55 of file AMC13Trailer.h.

Referenced by set_tts(), and TTS().

l1t::emtf::AMC13Trailer::format_errors
int format_errors
Definition: AMC13Trailer.h:60
l1t::emtf::AMC13Trailer::r
int r
Definition: AMC13Trailer.h:59
l1t::emtf::AMC13Trailer::f
int f
Definition: AMC13Trailer.h:57
l1t::emtf::AMC13Trailer::c
int c
Definition: AMC13Trailer.h:56
l1t::emtf::AMC13Trailer::evt_lgth
int evt_lgth
Definition: AMC13Trailer.h:52
l1t::emtf::AMC13Trailer::t
int t
Definition: AMC13Trailer.h:58
l1t::emtf::AMC13Trailer::dataword
uint64_t dataword
Definition: AMC13Trailer.h:61
l1t::emtf::AMC13Trailer::crc16
int crc16
Definition: AMC13Trailer.h:53
l1t::emtf::AMC13Trailer::tts
int tts
Definition: AMC13Trailer.h:55
l1t::emtf::AMC13Trailer::evt_stat
int evt_stat
Definition: AMC13Trailer.h:54