CMS 3D CMS Logo

List of all members | Public Member Functions | Protected Attributes | Static Protected Attributes
rpcmp7::BlockHeader Class Reference

#include <RPCMP7Record.h>

Public Member Functions

 BlockHeader (std::uint32_t const record=0x0)
 
unsigned int getCaptionId () const
 
unsigned int getId () const
 
unsigned int getLength () const
 
std::uint32_t const & getRecord () const
 
bool hasZeroSuppressionPerBX () const
 
bool isZeroSuppressed () const
 
bool isZeroSuppressionInverted () const
 
void reset ()
 
void set (std::uint32_t const record)
 
void setCaptionId (unsigned int caption_id)
 
void setId (unsigned int id)
 
void setLength (unsigned int length)
 
void setZeroSuppressed (bool is_zs)
 
void setZeroSuppressionInverted (bool zs_inverted)
 
void setZeroSuppressionPerBX (bool zs_per_bx)
 

Protected Attributes

std::uint32_t record_
 

Static Protected Attributes

static std::uint32_t const caption_id_mask_ = 0x0000ff00
 
static unsigned int const caption_id_offset_ = 8
 
static std::uint32_t const id_mask_ = 0xff000000
 
static unsigned int const id_offset_ = 24
 
static std::uint32_t const is_zs_mask_ = 0x00000001
 
static unsigned int const is_zs_offset_ = 0
 
static std::uint32_t const length_mask_ = 0x00ff0000
 
static unsigned int const length_offset_ = 16
 
static std::uint32_t const zs_per_bx_mask_ = 0x00000002
 
static unsigned int const zs_per_bx_offset_ = 1
 

Detailed Description

Definition at line 64 of file RPCMP7Record.h.

Constructor & Destructor Documentation

◆ BlockHeader()

rpcmp7::BlockHeader::BlockHeader ( std::uint32_t const  record = 0x0)

Definition at line 27 of file RPCMP7Record.cc.

Member Function Documentation

◆ getCaptionId()

unsigned int rpcmp7::BlockHeader::getCaptionId ( ) const

◆ getId()

unsigned int rpcmp7::BlockHeader::getId ( ) const

◆ getLength()

unsigned int rpcmp7::BlockHeader::getLength ( ) const

◆ getRecord()

std::uint32_t const& rpcmp7::BlockHeader::getRecord ( ) const

◆ hasZeroSuppressionPerBX()

bool rpcmp7::BlockHeader::hasZeroSuppressionPerBX ( ) const

◆ isZeroSuppressed()

bool rpcmp7::BlockHeader::isZeroSuppressed ( ) const

◆ isZeroSuppressionInverted()

bool rpcmp7::BlockHeader::isZeroSuppressionInverted ( ) const

◆ reset()

void rpcmp7::BlockHeader::reset ( )

◆ set()

void rpcmp7::BlockHeader::set ( std::uint32_t const  record)

◆ setCaptionId()

void rpcmp7::BlockHeader::setCaptionId ( unsigned int  caption_id)

◆ setId()

void rpcmp7::BlockHeader::setId ( unsigned int  id)

◆ setLength()

void rpcmp7::BlockHeader::setLength ( unsigned int  length)

◆ setZeroSuppressed()

void rpcmp7::BlockHeader::setZeroSuppressed ( bool  is_zs)

◆ setZeroSuppressionInverted()

void rpcmp7::BlockHeader::setZeroSuppressionInverted ( bool  zs_inverted)

◆ setZeroSuppressionPerBX()

void rpcmp7::BlockHeader::setZeroSuppressionPerBX ( bool  zs_per_bx)

Member Data Documentation

◆ caption_id_mask_

std::uint32_t const rpcmp7::BlockHeader::caption_id_mask_ = 0x0000ff00
staticprotected

Definition at line 68 of file RPCMP7Record.h.

◆ caption_id_offset_

unsigned int const rpcmp7::BlockHeader::caption_id_offset_ = 8
staticprotected

Definition at line 74 of file RPCMP7Record.h.

◆ id_mask_

std::uint32_t const rpcmp7::BlockHeader::id_mask_ = 0xff000000
staticprotected

Definition at line 66 of file RPCMP7Record.h.

◆ id_offset_

unsigned int const rpcmp7::BlockHeader::id_offset_ = 24
staticprotected

Definition at line 72 of file RPCMP7Record.h.

◆ is_zs_mask_

std::uint32_t const rpcmp7::BlockHeader::is_zs_mask_ = 0x00000001
staticprotected

Definition at line 70 of file RPCMP7Record.h.

◆ is_zs_offset_

unsigned int const rpcmp7::BlockHeader::is_zs_offset_ = 0
staticprotected

Definition at line 76 of file RPCMP7Record.h.

◆ length_mask_

std::uint32_t const rpcmp7::BlockHeader::length_mask_ = 0x00ff0000
staticprotected

Definition at line 67 of file RPCMP7Record.h.

◆ length_offset_

unsigned int const rpcmp7::BlockHeader::length_offset_ = 16
staticprotected

Definition at line 73 of file RPCMP7Record.h.

◆ record_

std::uint32_t rpcmp7::BlockHeader::record_
protected

Definition at line 103 of file RPCMP7Record.h.

◆ zs_per_bx_mask_

std::uint32_t const rpcmp7::BlockHeader::zs_per_bx_mask_ = 0x00000002
staticprotected

Definition at line 69 of file RPCMP7Record.h.

◆ zs_per_bx_offset_

unsigned int const rpcmp7::BlockHeader::zs_per_bx_offset_ = 1
staticprotected

Definition at line 75 of file RPCMP7Record.h.