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 (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

◆ 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.

References format_errors.

◆ C()

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

Definition at line 44 of file AMC13Trailer.h.

References c.

44 { return c; }

◆ CRC16()

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

Definition at line 41 of file AMC13Trailer.h.

References crc16.

41 { return crc16; }

◆ Dataword()

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

Definition at line 49 of file AMC13Trailer.h.

References dataword.

49 { return dataword; }

◆ Evt_lgth()

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

Definition at line 40 of file AMC13Trailer.h.

References evt_lgth.

40 { return evt_lgth; }

◆ Evt_stat()

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

Definition at line 42 of file AMC13Trailer.h.

References evt_stat.

42 { return evt_stat; }

◆ F()

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

Definition at line 45 of file AMC13Trailer.h.

References f.

45 { return f; }

◆ Format_errors()

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

Definition at line 48 of file AMC13Trailer.h.

References format_errors.

48 { return format_errors; }

◆ R()

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

Definition at line 47 of file AMC13Trailer.h.

References r.

47 { return r; }

◆ set_c()

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

Definition at line 33 of file AMC13Trailer.h.

References gpuClustering::pixelStatus::bits, and c.

33 { c = bits; }
constexpr uint32_t bits
Definition: gpuClustering.h:25

◆ set_crc16()

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

Definition at line 30 of file AMC13Trailer.h.

References gpuClustering::pixelStatus::bits, and crc16.

30 { crc16 = bits; }
constexpr uint32_t bits
Definition: gpuClustering.h:25

◆ set_dataword()

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

Definition at line 38 of file AMC13Trailer.h.

References gpuClustering::pixelStatus::bits, and dataword.

38 { dataword = bits; }
constexpr uint32_t bits
Definition: gpuClustering.h:25

◆ set_evt_lgth()

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

Definition at line 29 of file AMC13Trailer.h.

References gpuClustering::pixelStatus::bits, and evt_lgth.

◆ set_evt_stat()

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

Definition at line 31 of file AMC13Trailer.h.

References gpuClustering::pixelStatus::bits, and evt_stat.

◆ set_f()

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

Definition at line 34 of file AMC13Trailer.h.

References gpuClustering::pixelStatus::bits, and f.

34 { f = bits; }
constexpr uint32_t bits
Definition: gpuClustering.h:25

◆ set_r()

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

Definition at line 36 of file AMC13Trailer.h.

References gpuClustering::pixelStatus::bits, and r.

36 { r = bits; }
constexpr uint32_t bits
Definition: gpuClustering.h:25

◆ set_t()

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

Definition at line 35 of file AMC13Trailer.h.

References gpuClustering::pixelStatus::bits, and t.

35 { t = bits; }
constexpr uint32_t bits
Definition: gpuClustering.h:25

◆ set_tts()

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

Definition at line 32 of file AMC13Trailer.h.

References gpuClustering::pixelStatus::bits, and tts.

32 { tts = bits; }
constexpr uint32_t bits
Definition: gpuClustering.h:25

◆ T()

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

Definition at line 46 of file AMC13Trailer.h.

References t.

46 { return t; }

◆ TTS()

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

Definition at line 43 of file AMC13Trailer.h.

References tts.

43 { return 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().