test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 ()
 
 MTF7Header (int int_amc_number, int int_bx_id, int int_orbit_number, int int_board_id, int int_lv1_id, int int_data_length, int int_user_id)
 
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 17 of file MTF7Header.h.

l1t::emtf::MTF7Header::MTF7Header ( int  int_amc_number,
int  int_bx_id,
int  int_orbit_number,
int  int_board_id,
int  int_lv1_id,
int  int_data_length,
int  int_user_id 
)
inline

Definition at line 23 of file MTF7Header.h.

24  :
25  amc_number(int_amc_number), bx_id(int_bx_id), orbit_number(int_orbit_number), board_id(int_board_id), lv1_id(int_lv1_id),
26  data_length(int_data_length), user_id(int_user_id), format_errors(0), dataword(-99)
27  {};
virtual l1t::emtf::MTF7Header::~MTF7Header ( )
inlinevirtual

Definition at line 29 of file MTF7Header.h.

29 {};

Member Function Documentation

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

Definition at line 38 of file MTF7Header.h.

References format_errors.

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

Definition at line 41 of file MTF7Header.h.

References amc_number.

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

Definition at line 44 of file MTF7Header.h.

References board_id.

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

Definition at line 42 of file MTF7Header.h.

References bx_id.

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

Definition at line 46 of file MTF7Header.h.

References data_length.

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

Definition at line 49 of file MTF7Header.h.

References dataword.

49 { return dataword; }
int l1t::emtf::MTF7Header::Format_Errors ( ) const
inline

Definition at line 48 of file MTF7Header.h.

References format_errors.

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

Definition at line 45 of file MTF7Header.h.

References lv1_id.

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

Definition at line 43 of file MTF7Header.h.

References orbit_number.

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

Definition at line 31 of file MTF7Header.h.

References amc_number, and bits.

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

31 { 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 34 of file MTF7Header.h.

References bits, and board_id.

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

34 { 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 32 of file MTF7Header.h.

References bits, and bx_id.

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

32 { 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 36 of file MTF7Header.h.

References bits, and data_length.

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

36 { 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 39 of file MTF7Header.h.

References bits.

39 { 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 35 of file MTF7Header.h.

References bits, and lv1_id.

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

35 { 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 33 of file MTF7Header.h.

References bits, and orbit_number.

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

33 { 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 37 of file MTF7Header.h.

References bits, and user_id.

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

37 { 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 47 of file MTF7Header.h.

References user_id.

47 { return user_id; }

Member Data Documentation

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

Definition at line 52 of file MTF7Header.h.

Referenced by AMC_number(), and set_amc_number().

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

Definition at line 55 of file MTF7Header.h.

Referenced by Board_id(), and set_board_id().

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

Definition at line 53 of file MTF7Header.h.

Referenced by BX_id(), and set_bx_id().

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

Definition at line 57 of file MTF7Header.h.

Referenced by Data_length(), and set_data_length().

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

Definition at line 60 of file MTF7Header.h.

Referenced by Dataword().

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

Definition at line 59 of file MTF7Header.h.

Referenced by add_format_error(), and Format_Errors().

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

Definition at line 56 of file MTF7Header.h.

Referenced by LV1_id(), and set_lv1_id().

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

Definition at line 54 of file MTF7Header.h.

Referenced by Orbit_number(), and set_orbit_number().

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

Definition at line 58 of file MTF7Header.h.

Referenced by set_user_id(), and User_id().