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

l1t::emtf::AMC13Header::AMC13Header ( uint64_t  dataword)
explicit
l1t::emtf::AMC13Header::AMC13Header ( )
inline
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 23 of file AMC13Header.h.

24  :
25  orn(int_orn), lv1_id(int_lv1_id), bx_id(int_bx_id), source_id(int_source_id), evt_ty(int_evt_ty), fov(int_fov), ufov(int_ufov),
26  res(int_res), namc(int_namc), h(int_h), x(int_x), format_errors(0), dataword(-99)
27  {};
virtual l1t::emtf::AMC13Header::~AMC13Header ( )
inlinevirtual

Definition at line 29 of file AMC13Header.h.

29 {};

Member Function Documentation

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

Definition at line 42 of file AMC13Header.h.

References format_errors.

42 { format_errors += 1; }
int l1t::emtf::AMC13Header::BX_id ( ) const
inline

Definition at line 47 of file AMC13Header.h.

References bx_id.

47 { return bx_id; }
uint64_t l1t::emtf::AMC13Header::Dataword ( ) const
inline

Definition at line 57 of file AMC13Header.h.

References dataword.

57 { return dataword; }
int l1t::emtf::AMC13Header::Evt_ty ( ) const
inline

Definition at line 49 of file AMC13Header.h.

References evt_ty.

49 { return evt_ty; }
int l1t::emtf::AMC13Header::Format_Errors ( ) const
inline

Definition at line 56 of file AMC13Header.h.

References format_errors.

56 { return format_errors; }
int l1t::emtf::AMC13Header::FOV ( ) const
inline

Definition at line 50 of file AMC13Header.h.

References fov.

50 { return fov; }
int l1t::emtf::AMC13Header::H ( ) const
inline

Definition at line 54 of file AMC13Header.h.

References h.

54 { return h; }
int l1t::emtf::AMC13Header::LV1_id ( ) const
inline

Definition at line 46 of file AMC13Header.h.

References lv1_id.

46 { return lv1_id; }
int l1t::emtf::AMC13Header::Namc ( ) const
inline

Definition at line 53 of file AMC13Header.h.

References namc.

53 { return namc; }
int l1t::emtf::AMC13Header::ORN ( ) const
inline

Definition at line 45 of file AMC13Header.h.

References orn.

45 { return orn; }
int l1t::emtf::AMC13Header::Res ( ) const
inline

Definition at line 52 of file AMC13Header.h.

References res.

52 { return res; }
void l1t::emtf::AMC13Header::set_bx_id ( int  bits)
inline

Definition at line 33 of file AMC13Header.h.

References bits, and bx_id.

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

Definition at line 43 of file AMC13Header.h.

References bits.

43 { 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::AMC13Header::set_evt_ty ( int  bits)
inline

Definition at line 35 of file AMC13Header.h.

References bits, and evt_ty.

35 { evt_ty = 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::AMC13Header::set_fov ( int  bits)
inline

Definition at line 36 of file AMC13Header.h.

References bits, and fov.

36 { fov = 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::AMC13Header::set_h ( int  bits)
inline

Definition at line 40 of file AMC13Header.h.

References bits.

40 { h = 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::AMC13Header::set_lv1_id ( int  bits)
inline

Definition at line 32 of file AMC13Header.h.

References bits, and lv1_id.

32 { 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::AMC13Header::set_namc ( int  bits)
inline

Definition at line 39 of file AMC13Header.h.

References bits, and namc.

39 { namc = 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::AMC13Header::set_orn ( int  bits)
inline

Definition at line 31 of file AMC13Header.h.

References bits, and orn.

31 { orn = 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::AMC13Header::set_res ( int  bits)
inline

Definition at line 38 of file AMC13Header.h.

References bits.

38 { res = 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: Electron.h:4
void l1t::emtf::AMC13Header::set_source_id ( int  bits)
inline

Definition at line 34 of file AMC13Header.h.

References bits, and source_id.

34 { source_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::AMC13Header::set_ufov ( int  bits)
inline

Definition at line 37 of file AMC13Header.h.

References bits, and ufov.

37 { ufov = 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::AMC13Header::set_x ( int  bits)
inline

Definition at line 41 of file AMC13Header.h.

References bits, and x.

41 { x = 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::AMC13Header::Source_id ( ) const
inline

Definition at line 48 of file AMC13Header.h.

References source_id.

48 { return source_id; }
int l1t::emtf::AMC13Header::UFOV ( ) const
inline

Definition at line 51 of file AMC13Header.h.

References ufov.

51 { return ufov; }
int l1t::emtf::AMC13Header::X ( ) const
inline

Definition at line 55 of file AMC13Header.h.

References x.

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

55 { return x; }

Member Data Documentation

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

Definition at line 62 of file AMC13Header.h.

Referenced by BX_id(), and set_bx_id().

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

Definition at line 72 of file AMC13Header.h.

Referenced by Dataword().

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

Definition at line 64 of file AMC13Header.h.

Referenced by Evt_ty(), and set_evt_ty().

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

Definition at line 71 of file AMC13Header.h.

Referenced by add_format_error(), and Format_Errors().

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

Definition at line 65 of file AMC13Header.h.

Referenced by FOV(), and set_fov().

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

Definition at line 69 of file AMC13Header.h.

Referenced by H().

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

Definition at line 61 of file AMC13Header.h.

Referenced by LV1_id(), and set_lv1_id().

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

Definition at line 68 of file AMC13Header.h.

Referenced by Namc(), and set_namc().

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

Definition at line 60 of file AMC13Header.h.

Referenced by ORN(), and set_orn().

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

Definition at line 67 of file AMC13Header.h.

Referenced by Res().

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

Definition at line 63 of file AMC13Header.h.

Referenced by set_source_id(), and Source_id().

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

Definition at line 66 of file AMC13Header.h.

Referenced by set_ufov(), and UFOV().

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