CMS 3D CMS Logo

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

#include <MTF7Header.h>

Public Member Functions

void add_format_error ()
 
int AMC_number () const
 
int Board_id () const
 
int BX_id () const
 
int Data_length () const
 
uint64_t Dataword () const
 
int Format_errors () const
 
int LV1_id () const
 
 MTF7Header (uint64_t dataword)
 
 MTF7Header ()
 
int Orbit_number () const
 
void set_amc_number (int bits)
 
void set_board_id (int bits)
 
void set_bx_id (int bits)
 
void set_data_length (int bits)
 
void set_dataword (uint64_t bits)
 
void set_lv1_id (int bits)
 
void set_orbit_number (int bits)
 
void set_user_id (int bits)
 
int User_id () const
 
virtual ~MTF7Header ()
 

Private Attributes

int amc_number
 
int board_id
 
int bx_id
 
int data_length
 
uint64_t dataword
 
int format_errors
 
int lv1_id
 
int orbit_number
 
int user_id
 

Detailed Description

Definition at line 11 of file MTF7Header.h.

Constructor & Destructor Documentation

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

Definition at line 16 of file MTF7Header.h.

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

Definition at line 21 of file MTF7Header.h.

21 {};

Member Function Documentation

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

Definition at line 30 of file MTF7Header.h.

References format_errors.

30 { format_errors += 1; }
int l1t::emtf::MTF7Header::AMC_number ( ) const
inline

Definition at line 33 of file MTF7Header.h.

References amc_number.

33 { return amc_number; }
int l1t::emtf::MTF7Header::Board_id ( ) const
inline

Definition at line 36 of file MTF7Header.h.

References board_id.

36 { return board_id; }
int l1t::emtf::MTF7Header::BX_id ( ) const
inline

Definition at line 34 of file MTF7Header.h.

References bx_id.

34 { return bx_id; }
int l1t::emtf::MTF7Header::Data_length ( ) const
inline

Definition at line 38 of file MTF7Header.h.

References data_length.

38 { return data_length; }
uint64_t l1t::emtf::MTF7Header::Dataword ( ) const
inline

Definition at line 41 of file MTF7Header.h.

References dataword.

41 { return dataword; }
int l1t::emtf::MTF7Header::Format_errors ( ) const
inline

Definition at line 40 of file MTF7Header.h.

References format_errors.

40 { return format_errors; }
int l1t::emtf::MTF7Header::LV1_id ( ) const
inline

Definition at line 37 of file MTF7Header.h.

References lv1_id.

37 { return lv1_id; }
int l1t::emtf::MTF7Header::Orbit_number ( ) const
inline

Definition at line 35 of file MTF7Header.h.

References orbit_number.

35 { return orbit_number; }
void l1t::emtf::MTF7Header::set_amc_number ( int  bits)
inline

Definition at line 23 of file MTF7Header.h.

References amc_number, and bits.

Referenced by l1t::stage2::emtf::HeadersBlockUnpacker::unpack().

23 { amc_number = 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::MTF7Header::set_board_id ( int  bits)
inline

Definition at line 26 of file MTF7Header.h.

References bits, and board_id.

Referenced by l1t::stage2::emtf::HeadersBlockUnpacker::unpack().

26 { board_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
void l1t::emtf::MTF7Header::set_bx_id ( int  bits)
inline

Definition at line 24 of file MTF7Header.h.

References bits, and bx_id.

Referenced by l1t::stage2::emtf::HeadersBlockUnpacker::unpack().

24 { bx_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
void l1t::emtf::MTF7Header::set_data_length ( int  bits)
inline

Definition at line 28 of file MTF7Header.h.

References bits, and data_length.

Referenced by l1t::stage2::emtf::HeadersBlockUnpacker::unpack().

28 { 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::MTF7Header::set_dataword ( uint64_t  bits)
inline

Definition at line 31 of file MTF7Header.h.

References bits.

31 { 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::MTF7Header::set_lv1_id ( int  bits)
inline

Definition at line 27 of file MTF7Header.h.

References bits, and lv1_id.

Referenced by l1t::stage2::emtf::HeadersBlockUnpacker::unpack().

27 { 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
void l1t::emtf::MTF7Header::set_orbit_number ( int  bits)
inline

Definition at line 25 of file MTF7Header.h.

References bits, and orbit_number.

Referenced by l1t::stage2::emtf::HeadersBlockUnpacker::unpack().

25 { orbit_number = 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::MTF7Header::set_user_id ( int  bits)
inline

Definition at line 29 of file MTF7Header.h.

References bits, and user_id.

Referenced by l1t::stage2::emtf::HeadersBlockUnpacker::unpack().

29 { user_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
int l1t::emtf::MTF7Header::User_id ( ) const
inline

Definition at line 39 of file MTF7Header.h.

References user_id.

39 { return user_id; }

Member Data Documentation

int l1t::emtf::MTF7Header::amc_number
private

Definition at line 44 of file MTF7Header.h.

Referenced by AMC_number(), and set_amc_number().

int l1t::emtf::MTF7Header::board_id
private

Definition at line 47 of file MTF7Header.h.

Referenced by Board_id(), and set_board_id().

int l1t::emtf::MTF7Header::bx_id
private

Definition at line 45 of file MTF7Header.h.

Referenced by BX_id(), and set_bx_id().

int l1t::emtf::MTF7Header::data_length
private

Definition at line 49 of file MTF7Header.h.

Referenced by Data_length(), and set_data_length().

uint64_t l1t::emtf::MTF7Header::dataword
private

Definition at line 52 of file MTF7Header.h.

Referenced by Dataword().

int l1t::emtf::MTF7Header::format_errors
private

Definition at line 51 of file MTF7Header.h.

Referenced by add_format_error(), and Format_errors().

int l1t::emtf::MTF7Header::lv1_id
private

Definition at line 48 of file MTF7Header.h.

Referenced by LV1_id(), and set_lv1_id().

int l1t::emtf::MTF7Header::orbit_number
private

Definition at line 46 of file MTF7Header.h.

Referenced by Orbit_number(), and set_orbit_number().

int l1t::emtf::MTF7Header::user_id
private

Definition at line 50 of file MTF7Header.h.

Referenced by set_user_id(), and User_id().