CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
l1t::emtf::MTF7Trailer Class Reference

#include <MTF7Trailer.h>

Public Member Functions

void add_format_error ()
 
int CRC_32 () const
 
int Data_length () const
 
uint64_t Dataword () const
 
int Format_errors () const
 
int LV1_id () const
 
 MTF7Trailer (uint64_t dataword)
 
 MTF7Trailer ()
 
void set_crc_32 (int bits)
 
void set_data_length (int bits)
 
void set_dataword (uint64_t bits)
 
void set_lv1_id (int bits)
 
virtual ~MTF7Trailer ()
 

Private Attributes

int crc_32
 
int data_length
 
uint64_t dataword
 
int format_errors
 
int lv1_id
 

Detailed Description

Definition at line 11 of file MTF7Trailer.h.

Constructor & Destructor Documentation

◆ MTF7Trailer() [1/2]

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

◆ MTF7Trailer() [2/2]

l1t::emtf::MTF7Trailer::MTF7Trailer ( )
inline

Definition at line 15 of file MTF7Trailer.h.

◆ ~MTF7Trailer()

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

Definition at line 17 of file MTF7Trailer.h.

17 {};

Member Function Documentation

◆ add_format_error()

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

Definition at line 22 of file MTF7Trailer.h.

References format_errors.

22 { format_errors += 1; }

◆ CRC_32()

int l1t::emtf::MTF7Trailer::CRC_32 ( ) const
inline

Definition at line 25 of file MTF7Trailer.h.

References crc_32.

25 { return crc_32; }

◆ Data_length()

int l1t::emtf::MTF7Trailer::Data_length ( ) const
inline

Definition at line 27 of file MTF7Trailer.h.

References data_length.

27 { return data_length; }

◆ Dataword()

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

Definition at line 29 of file MTF7Trailer.h.

References dataword.

29 { return dataword; }

◆ Format_errors()

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

Definition at line 28 of file MTF7Trailer.h.

References format_errors.

28 { return format_errors; }

◆ LV1_id()

int l1t::emtf::MTF7Trailer::LV1_id ( ) const
inline

Definition at line 26 of file MTF7Trailer.h.

References lv1_id.

26 { return lv1_id; }

◆ set_crc_32()

void l1t::emtf::MTF7Trailer::set_crc_32 ( int  bits)
inline

◆ set_data_length()

void l1t::emtf::MTF7Trailer::set_data_length ( int  bits)
inline

◆ set_dataword()

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

◆ set_lv1_id()

void l1t::emtf::MTF7Trailer::set_lv1_id ( int  bits)
inline

Member Data Documentation

◆ crc_32

int l1t::emtf::MTF7Trailer::crc_32
private

Definition at line 32 of file MTF7Trailer.h.

Referenced by CRC_32(), and set_crc_32().

◆ data_length

int l1t::emtf::MTF7Trailer::data_length
private

Definition at line 34 of file MTF7Trailer.h.

Referenced by Data_length(), and set_data_length().

◆ dataword

uint64_t l1t::emtf::MTF7Trailer::dataword
private

Definition at line 36 of file MTF7Trailer.h.

Referenced by Dataword(), and set_dataword().

◆ format_errors

int l1t::emtf::MTF7Trailer::format_errors
private

Definition at line 35 of file MTF7Trailer.h.

Referenced by add_format_error(), and Format_errors().

◆ lv1_id

int l1t::emtf::MTF7Trailer::lv1_id
private

Definition at line 33 of file MTF7Trailer.h.

Referenced by LV1_id(), and set_lv1_id().