CMS 3D CMS Logo

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

#include <RPCMP7Record.h>

Public Member Functions

 BXHeader (std::uint32_t const record=0x0)
 
unsigned int getBXId () const
 
unsigned int getFirstWord () const
 
std::uint32_t const & getRecord () const
 
unsigned int getTotalBX () const
 
unsigned int getTotalLength () const
 
bool isZeroSuppressed () const
 
void reset ()
 
void set (std::uint32_t const record)
 
void setFirstWord (unsigned int first_word)
 
void setTotalLength (unsigned int length)
 
void setZeroSuppressed (bool zs)
 

Protected Attributes

std::uint32_t record_
 

Static Protected Attributes

static std::uint32_t const first_word_mask_ = 0xff000000
 
static unsigned int const first_word_offset_ = 24
 
static std::uint32_t const is_zs_mask_ = 0x00000001
 
static unsigned int const is_zs_offset_ = 0
 
static std::uint32_t const total_length_mask_ = 0x00ff0000
 
static unsigned int const total_length_offset_ = 16
 

Detailed Description

Definition at line 106 of file RPCMP7Record.h.

Constructor & Destructor Documentation

◆ BXHeader()

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

Definition at line 29 of file RPCMP7Record.cc.

Member Function Documentation

◆ getBXId()

unsigned int rpcmp7::BXHeader::getBXId ( ) const

◆ getFirstWord()

unsigned int rpcmp7::BXHeader::getFirstWord ( ) const

◆ getRecord()

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

◆ getTotalBX()

unsigned int rpcmp7::BXHeader::getTotalBX ( ) const

◆ getTotalLength()

unsigned int rpcmp7::BXHeader::getTotalLength ( ) const

◆ isZeroSuppressed()

bool rpcmp7::BXHeader::isZeroSuppressed ( ) const

◆ reset()

void rpcmp7::BXHeader::reset ( )

◆ set()

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

◆ setFirstWord()

void rpcmp7::BXHeader::setFirstWord ( unsigned int  first_word)

◆ setTotalLength()

void rpcmp7::BXHeader::setTotalLength ( unsigned int  length)

◆ setZeroSuppressed()

void rpcmp7::BXHeader::setZeroSuppressed ( bool  zs)

Member Data Documentation

◆ first_word_mask_

std::uint32_t const rpcmp7::BXHeader::first_word_mask_ = 0xff000000
staticprotected

Definition at line 108 of file RPCMP7Record.h.

◆ first_word_offset_

unsigned int const rpcmp7::BXHeader::first_word_offset_ = 24
staticprotected

Definition at line 112 of file RPCMP7Record.h.

◆ is_zs_mask_

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

Definition at line 110 of file RPCMP7Record.h.

◆ is_zs_offset_

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

Definition at line 114 of file RPCMP7Record.h.

◆ record_

std::uint32_t rpcmp7::BXHeader::record_
protected

Definition at line 137 of file RPCMP7Record.h.

◆ total_length_mask_

std::uint32_t const rpcmp7::BXHeader::total_length_mask_ = 0x00ff0000
staticprotected

Definition at line 109 of file RPCMP7Record.h.

◆ total_length_offset_

unsigned int const rpcmp7::BXHeader::total_length_offset_ = 16
staticprotected

Definition at line 113 of file RPCMP7Record.h.