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

15 : crc_32(-99), lv1_id(-99), data_length(-99), format_errors(0), dataword(-99){};

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

22 { format_errors += 1; }

References format_errors.

◆ CRC_32()

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

Definition at line 25 of file MTF7Trailer.h.

25 { return crc_32; }

References crc_32.

◆ Data_length()

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

Definition at line 27 of file MTF7Trailer.h.

27 { return data_length; }

References data_length.

◆ Dataword()

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

Definition at line 29 of file MTF7Trailer.h.

29 { return dataword; }

References dataword.

◆ Format_errors()

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

Definition at line 28 of file MTF7Trailer.h.

28 { return format_errors; }

References format_errors.

◆ LV1_id()

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

Definition at line 26 of file MTF7Trailer.h.

26 { return lv1_id; }

References lv1_id.

◆ set_crc_32()

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

Definition at line 19 of file MTF7Trailer.h.

19 { crc_32 = bits; }

References bits, and crc_32.

◆ set_data_length()

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

Definition at line 21 of file MTF7Trailer.h.

21 { data_length = bits; }

References bits, and data_length.

◆ set_dataword()

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

Definition at line 23 of file MTF7Trailer.h.

23 { dataword = bits; }

References bits, and dataword.

◆ set_lv1_id()

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

Definition at line 20 of file MTF7Trailer.h.

20 { lv1_id = bits; }

References bits, and lv1_id.

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

l1t::emtf::MTF7Trailer::format_errors
int format_errors
Definition: MTF7Trailer.h:35
l1t::emtf::MTF7Trailer::crc_32
int crc_32
Definition: MTF7Trailer.h:32
l1t::emtf::MTF7Trailer::data_length
int data_length
Definition: MTF7Trailer.h:34
l1t::emtf::MTF7Trailer::lv1_id
int lv1_id
Definition: MTF7Trailer.h:33
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
Definition: EventSelector-behavior.doc:35
l1t::emtf::MTF7Trailer::dataword
uint64_t dataword
Definition: MTF7Trailer.h:36