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 const std::uint32_t first_word_mask_ = 0xff000000
 
static unsigned const int first_word_offset_ = 24
 
static const std::uint32_t is_zs_mask_ = 0x00000001
 
static unsigned const int is_zs_offset_ = 0
 
static const std::uint32_t total_length_mask_ = 0x00ff0000
 
static unsigned const int 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.

29 : record_(record) {}

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_

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

Definition at line 108 of file RPCMP7Record.h.

◆ first_word_offset_

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

Definition at line 112 of file RPCMP7Record.h.

◆ is_zs_mask_

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

Definition at line 110 of file RPCMP7Record.h.

◆ is_zs_offset_

unsigned const int 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_

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

Definition at line 109 of file RPCMP7Record.h.

◆ total_length_offset_

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

Definition at line 113 of file RPCMP7Record.h.

rpcmp7::BXHeader::record_
std::uint32_t record_
Definition: RPCMP7Record.h:137
GlobalPosition_Frontier_DevDB_cff.record
record
Definition: GlobalPosition_Frontier_DevDB_cff.py:10