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 ()
 
 MTF7Trailer (int int_crc_32, int int_lv1_id, int int_data_length)
 
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

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

Definition at line 17 of file MTF7Trailer.h.

l1t::emtf::MTF7Trailer::MTF7Trailer ( int  int_crc_32,
int  int_lv1_id,
int  int_data_length 
)
inline

Definition at line 22 of file MTF7Trailer.h.

22  :
23  crc_32(int_crc_32), lv1_id(int_lv1_id), data_length(int_data_length), format_errors(0), dataword(-99)
24  {};
virtual l1t::emtf::MTF7Trailer::~MTF7Trailer ( )
inlinevirtual

Definition at line 26 of file MTF7Trailer.h.

26 {};

Member Function Documentation

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

Definition at line 31 of file MTF7Trailer.h.

References format_errors.

31 { format_errors += 1; }
int l1t::emtf::MTF7Trailer::CRC_32 ( ) const
inline

Definition at line 34 of file MTF7Trailer.h.

References crc_32.

34 { return crc_32; }
int l1t::emtf::MTF7Trailer::Data_length ( ) const
inline

Definition at line 36 of file MTF7Trailer.h.

References data_length.

36 { return data_length; }
uint64_t l1t::emtf::MTF7Trailer::Dataword ( ) const
inline

Definition at line 38 of file MTF7Trailer.h.

References dataword.

38 { return dataword; }
int l1t::emtf::MTF7Trailer::Format_Errors ( ) const
inline

Definition at line 37 of file MTF7Trailer.h.

References format_errors.

37 { return format_errors; }
int l1t::emtf::MTF7Trailer::LV1_id ( ) const
inline

Definition at line 35 of file MTF7Trailer.h.

References lv1_id.

35 { return lv1_id; }
void l1t::emtf::MTF7Trailer::set_crc_32 ( int  bits)
inline

Definition at line 28 of file MTF7Trailer.h.

References bits, and crc_32.

28 { crc_32 = 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
void l1t::emtf::MTF7Trailer::set_data_length ( int  bits)
inline

Definition at line 30 of file MTF7Trailer.h.

References bits, and data_length.

30 { data_length = 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
void l1t::emtf::MTF7Trailer::set_dataword ( uint64_t  bits)
inline

Definition at line 32 of file MTF7Trailer.h.

References bits.

32 { dataword = 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
void l1t::emtf::MTF7Trailer::set_lv1_id ( int  bits)
inline

Definition at line 29 of file MTF7Trailer.h.

References bits, and lv1_id.

29 { lv1_id = 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

Member Data Documentation

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

Definition at line 41 of file MTF7Trailer.h.

Referenced by CRC_32(), and set_crc_32().

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

Definition at line 43 of file MTF7Trailer.h.

Referenced by Data_length(), and set_data_length().

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

Definition at line 45 of file MTF7Trailer.h.

Referenced by Dataword().

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

Definition at line 44 of file MTF7Trailer.h.

Referenced by add_format_error(), and Format_Errors().

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

Definition at line 42 of file MTF7Trailer.h.

Referenced by LV1_id(), and set_lv1_id().