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

◆ MTF7Header() [1/2]

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

◆ MTF7Header() [2/2]

l1t::emtf::MTF7Header::MTF7Header ( )
inline

Definition at line 15 of file MTF7Header.h.

16  : amc_number(-99),
17  bx_id(-99),
18  orbit_number(-99),
19  board_id(-99),
20  lv1_id(-99),
21  data_length(-99),
22  user_id(-99),
23  format_errors(0),
24  dataword(-99){};

◆ ~MTF7Header()

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

Definition at line 26 of file MTF7Header.h.

26 {};

Member Function Documentation

◆ add_format_error()

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

Definition at line 35 of file MTF7Header.h.

References format_errors.

35 { format_errors += 1; }

◆ AMC_number()

int l1t::emtf::MTF7Header::AMC_number ( ) const
inline

Definition at line 38 of file MTF7Header.h.

References amc_number.

38 { return amc_number; }

◆ Board_id()

int l1t::emtf::MTF7Header::Board_id ( ) const
inline

Definition at line 41 of file MTF7Header.h.

References board_id.

41 { return board_id; }

◆ BX_id()

int l1t::emtf::MTF7Header::BX_id ( ) const
inline

Definition at line 39 of file MTF7Header.h.

References bx_id.

39 { return bx_id; }

◆ Data_length()

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

Definition at line 43 of file MTF7Header.h.

References data_length.

43 { return data_length; }

◆ Dataword()

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

Definition at line 46 of file MTF7Header.h.

References dataword.

46 { return dataword; }

◆ Format_errors()

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

Definition at line 45 of file MTF7Header.h.

References format_errors.

45 { return format_errors; }

◆ LV1_id()

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

Definition at line 42 of file MTF7Header.h.

References lv1_id.

42 { return lv1_id; }

◆ Orbit_number()

int l1t::emtf::MTF7Header::Orbit_number ( ) const
inline

Definition at line 40 of file MTF7Header.h.

References orbit_number.

40 { return orbit_number; }

◆ set_amc_number()

void l1t::emtf::MTF7Header::set_amc_number ( int  bits)
inline

◆ set_board_id()

void l1t::emtf::MTF7Header::set_board_id ( int  bits)
inline

◆ set_bx_id()

void l1t::emtf::MTF7Header::set_bx_id ( int  bits)
inline

◆ set_data_length()

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

◆ set_dataword()

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

◆ set_lv1_id()

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

◆ set_orbit_number()

void l1t::emtf::MTF7Header::set_orbit_number ( int  bits)
inline

◆ set_user_id()

void l1t::emtf::MTF7Header::set_user_id ( int  bits)
inline

◆ User_id()

int l1t::emtf::MTF7Header::User_id ( ) const
inline

Definition at line 44 of file MTF7Header.h.

References user_id.

44 { return user_id; }

Member Data Documentation

◆ amc_number

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

Definition at line 49 of file MTF7Header.h.

Referenced by AMC_number(), and set_amc_number().

◆ board_id

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

Definition at line 52 of file MTF7Header.h.

Referenced by Board_id(), and set_board_id().

◆ bx_id

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

Definition at line 50 of file MTF7Header.h.

Referenced by BX_id(), and set_bx_id().

◆ data_length

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

Definition at line 54 of file MTF7Header.h.

Referenced by Data_length(), and set_data_length().

◆ dataword

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

Definition at line 57 of file MTF7Header.h.

Referenced by Dataword(), and set_dataword().

◆ format_errors

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

Definition at line 56 of file MTF7Header.h.

Referenced by add_format_error(), and Format_errors().

◆ lv1_id

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

Definition at line 53 of file MTF7Header.h.

Referenced by LV1_id(), and set_lv1_id().

◆ orbit_number

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

Definition at line 51 of file MTF7Header.h.

Referenced by Orbit_number(), and set_orbit_number().

◆ user_id

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

Definition at line 55 of file MTF7Header.h.

Referenced by set_user_id(), and User_id().