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

35 { format_errors += 1; }

References format_errors.

◆ AMC_number()

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

Definition at line 38 of file MTF7Header.h.

38 { return amc_number; }

References amc_number.

◆ Board_id()

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

Definition at line 41 of file MTF7Header.h.

41 { return board_id; }

References board_id.

◆ BX_id()

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

Definition at line 39 of file MTF7Header.h.

39 { return bx_id; }

References bx_id.

◆ Data_length()

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

Definition at line 43 of file MTF7Header.h.

43 { return data_length; }

References data_length.

◆ Dataword()

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

Definition at line 46 of file MTF7Header.h.

46 { return dataword; }

References dataword.

◆ Format_errors()

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

Definition at line 45 of file MTF7Header.h.

45 { return format_errors; }

References format_errors.

◆ LV1_id()

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

Definition at line 42 of file MTF7Header.h.

42 { return lv1_id; }

References lv1_id.

◆ Orbit_number()

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

Definition at line 40 of file MTF7Header.h.

40 { return orbit_number; }

References orbit_number.

◆ set_amc_number()

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

Definition at line 28 of file MTF7Header.h.

28 { amc_number = bits; }

References amc_number, and bits.

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

◆ set_board_id()

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

Definition at line 31 of file MTF7Header.h.

31 { board_id = bits; }

References bits, and board_id.

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

◆ set_bx_id()

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

Definition at line 29 of file MTF7Header.h.

29 { bx_id = bits; }

References bits, and bx_id.

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

◆ set_data_length()

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

Definition at line 33 of file MTF7Header.h.

33 { data_length = bits; }

References bits, and data_length.

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

◆ set_dataword()

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

Definition at line 36 of file MTF7Header.h.

36 { dataword = bits; }

References bits, and dataword.

◆ set_lv1_id()

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

Definition at line 32 of file MTF7Header.h.

32 { lv1_id = bits; }

References bits, and lv1_id.

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

◆ set_orbit_number()

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

Definition at line 30 of file MTF7Header.h.

30 { orbit_number = bits; }

References bits, and orbit_number.

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

◆ set_user_id()

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

Definition at line 34 of file MTF7Header.h.

34 { user_id = bits; }

References bits, and user_id.

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

◆ User_id()

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

Definition at line 44 of file MTF7Header.h.

44 { return user_id; }

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

l1t::emtf::MTF7Header::dataword
uint64_t dataword
Definition: MTF7Header.h:57
l1t::emtf::MTF7Header::data_length
int data_length
Definition: MTF7Header.h:54
l1t::emtf::MTF7Header::user_id
int user_id
Definition: MTF7Header.h:55
l1t::emtf::MTF7Header::orbit_number
int orbit_number
Definition: MTF7Header.h:51
l1t::emtf::MTF7Header::format_errors
int format_errors
Definition: MTF7Header.h:56
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::MTF7Header::lv1_id
int lv1_id
Definition: MTF7Header.h:53
l1t::emtf::MTF7Header::board_id
int board_id
Definition: MTF7Header.h:52
l1t::emtf::MTF7Header::amc_number
int amc_number
Definition: MTF7Header.h:49
l1t::emtf::MTF7Header::bx_id
int bx_id
Definition: MTF7Header.h:50