CMS 3D CMS Logo

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

#include <AMC13Header.h>

Public Member Functions

void add_format_error ()
 
 AMC13Header (uint64_t dataword)
 
 AMC13Header ()
 
 AMC13Header (int int_orn, int int_lv1_id, int int_bx_id, int int_source_id, int int_evt_ty, int int_fov, int int_ufov, int int_res, int int_namc, int int_h, int int_x)
 
int BX_id () const
 
uint64_t Dataword () const
 
int Evt_ty () const
 
int Format_Errors () const
 
int FOV () const
 
int H () const
 
int LV1_id () const
 
int Namc () const
 
int ORN () const
 
int Res () const
 
void set_bx_id (int bits)
 
void set_dataword (uint64_t bits)
 
void set_evt_ty (int bits)
 
void set_fov (int bits)
 
void set_h (int bits)
 
void set_lv1_id (int bits)
 
void set_namc (int bits)
 
void set_orn (int bits)
 
void set_res (int bits)
 
void set_source_id (int bits)
 
void set_ufov (int bits)
 
void set_x (int bits)
 
int Source_id () const
 
int UFOV () const
 
int X () const
 
virtual ~AMC13Header ()
 

Private Attributes

int bx_id
 
uint64_t dataword
 
int evt_ty
 
int format_errors
 
int fov
 
int h
 
int lv1_id
 
int namc
 
int orn
 
int res
 
int source_id
 
int ufov
 
int x
 

Detailed Description

Definition at line 11 of file AMC13Header.h.

Constructor & Destructor Documentation

◆ AMC13Header() [1/3]

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

◆ AMC13Header() [2/3]

l1t::emtf::AMC13Header::AMC13Header ( )
inline

Definition at line 16 of file AMC13Header.h.

17  : orn(-99),
18  lv1_id(-99),
19  bx_id(-99),
20  source_id(-99),
21  evt_ty(-99),
22  fov(-99),
23  ufov(-99),
24  res(-99),
25  namc(-99),
26  h(-99),
27  x(-99),
28  format_errors(0),
29  dataword(-99){};

◆ AMC13Header() [3/3]

l1t::emtf::AMC13Header::AMC13Header ( int  int_orn,
int  int_lv1_id,
int  int_bx_id,
int  int_source_id,
int  int_evt_ty,
int  int_fov,
int  int_ufov,
int  int_res,
int  int_namc,
int  int_h,
int  int_x 
)
inline

Definition at line 32 of file AMC13Header.h.

43  : orn(int_orn),
44  lv1_id(int_lv1_id),
45  bx_id(int_bx_id),
46  source_id(int_source_id),
47  evt_ty(int_evt_ty),
48  fov(int_fov),
49  ufov(int_ufov),
50  res(int_res),
51  namc(int_namc),
52  h(int_h),
53  x(int_x),
54  format_errors(0),
55  dataword(-99){};

◆ ~AMC13Header()

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

Definition at line 57 of file AMC13Header.h.

57 {};

Member Function Documentation

◆ add_format_error()

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

Definition at line 70 of file AMC13Header.h.

References format_errors.

70 { format_errors += 1; }

◆ BX_id()

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

Definition at line 75 of file AMC13Header.h.

References bx_id.

75 { return bx_id; }

◆ Dataword()

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

Definition at line 85 of file AMC13Header.h.

References dataword.

85 { return dataword; }

◆ Evt_ty()

int l1t::emtf::AMC13Header::Evt_ty ( ) const
inline

Definition at line 77 of file AMC13Header.h.

References evt_ty.

77 { return evt_ty; }

◆ Format_Errors()

int l1t::emtf::AMC13Header::Format_Errors ( ) const
inline

Definition at line 84 of file AMC13Header.h.

References format_errors.

84 { return format_errors; }

◆ FOV()

int l1t::emtf::AMC13Header::FOV ( ) const
inline

Definition at line 78 of file AMC13Header.h.

References fov.

78 { return fov; }

◆ H()

int l1t::emtf::AMC13Header::H ( ) const
inline

Definition at line 82 of file AMC13Header.h.

References h.

82 { return h; }

◆ LV1_id()

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

Definition at line 74 of file AMC13Header.h.

References lv1_id.

74 { return lv1_id; }

◆ Namc()

int l1t::emtf::AMC13Header::Namc ( ) const
inline

Definition at line 81 of file AMC13Header.h.

References namc.

81 { return namc; }

◆ ORN()

int l1t::emtf::AMC13Header::ORN ( ) const
inline

Definition at line 73 of file AMC13Header.h.

References orn.

73 { return orn; }

◆ Res()

int l1t::emtf::AMC13Header::Res ( ) const
inline

Definition at line 80 of file AMC13Header.h.

References res.

80 { return res; }

◆ set_bx_id()

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

◆ set_dataword()

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

◆ set_evt_ty()

void l1t::emtf::AMC13Header::set_evt_ty ( int  bits)
inline

◆ set_fov()

void l1t::emtf::AMC13Header::set_fov ( int  bits)
inline

◆ set_h()

void l1t::emtf::AMC13Header::set_h ( int  bits)
inline

◆ set_lv1_id()

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

◆ set_namc()

void l1t::emtf::AMC13Header::set_namc ( int  bits)
inline

◆ set_orn()

void l1t::emtf::AMC13Header::set_orn ( int  bits)
inline

◆ set_res()

void l1t::emtf::AMC13Header::set_res ( int  bits)
inline

◆ set_source_id()

void l1t::emtf::AMC13Header::set_source_id ( int  bits)
inline

◆ set_ufov()

void l1t::emtf::AMC13Header::set_ufov ( int  bits)
inline

◆ set_x()

void l1t::emtf::AMC13Header::set_x ( int  bits)
inline

◆ Source_id()

int l1t::emtf::AMC13Header::Source_id ( ) const
inline

Definition at line 76 of file AMC13Header.h.

References source_id.

76 { return source_id; }

◆ UFOV()

int l1t::emtf::AMC13Header::UFOV ( ) const
inline

Definition at line 79 of file AMC13Header.h.

References ufov.

79 { return ufov; }

◆ X()

int l1t::emtf::AMC13Header::X ( ) const
inline

Definition at line 83 of file AMC13Header.h.

References x.

Referenced by svgfig.Curve.Sample::__repr__().

83 { return x; }

Member Data Documentation

◆ bx_id

int l1t::emtf::AMC13Header::bx_id
private

Definition at line 90 of file AMC13Header.h.

Referenced by BX_id(), and set_bx_id().

◆ dataword

uint64_t l1t::emtf::AMC13Header::dataword
private

Definition at line 100 of file AMC13Header.h.

Referenced by Dataword(), and set_dataword().

◆ evt_ty

int l1t::emtf::AMC13Header::evt_ty
private

Definition at line 92 of file AMC13Header.h.

Referenced by Evt_ty(), and set_evt_ty().

◆ format_errors

int l1t::emtf::AMC13Header::format_errors
private

Definition at line 99 of file AMC13Header.h.

Referenced by add_format_error(), and Format_Errors().

◆ fov

int l1t::emtf::AMC13Header::fov
private

Definition at line 93 of file AMC13Header.h.

Referenced by FOV(), and set_fov().

◆ h

int l1t::emtf::AMC13Header::h
private

Definition at line 97 of file AMC13Header.h.

Referenced by H(), and set_h().

◆ lv1_id

int l1t::emtf::AMC13Header::lv1_id
private

Definition at line 89 of file AMC13Header.h.

Referenced by LV1_id(), and set_lv1_id().

◆ namc

int l1t::emtf::AMC13Header::namc
private

Definition at line 96 of file AMC13Header.h.

Referenced by Namc(), and set_namc().

◆ orn

int l1t::emtf::AMC13Header::orn
private

Definition at line 88 of file AMC13Header.h.

Referenced by ORN(), and set_orn().

◆ res

int l1t::emtf::AMC13Header::res
private

Definition at line 95 of file AMC13Header.h.

Referenced by Res().

◆ source_id

int l1t::emtf::AMC13Header::source_id
private

Definition at line 91 of file AMC13Header.h.

Referenced by set_source_id(), and Source_id().

◆ ufov

int l1t::emtf::AMC13Header::ufov
private

Definition at line 94 of file AMC13Header.h.

Referenced by set_ufov(), and UFOV().

◆ x

int l1t::emtf::AMC13Header::x
private