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 110 of file RPCMP7Record.h.

Constructor & Destructor Documentation

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

Definition at line 38 of file RPCMP7Record.cc.

39  : record_(record)
40 {}
JetCorrectorParameters::Record record
Definition: classes.h:7
std::uint32_t record_
Definition: RPCMP7Record.h:142

Member Function Documentation

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

Member Data Documentation

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

Definition at line 113 of file RPCMP7Record.h.

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

Definition at line 117 of file RPCMP7Record.h.

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

Definition at line 115 of file RPCMP7Record.h.

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

Definition at line 119 of file RPCMP7Record.h.

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

Definition at line 142 of file RPCMP7Record.h.

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

Definition at line 114 of file RPCMP7Record.h.

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

Definition at line 118 of file RPCMP7Record.h.