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

Constructor & Destructor Documentation

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

Definition at line 34 of file RPCMP7Record.cc.

35  : record_(record)
36 {}
JetCorrectorParameters::Record record
Definition: classes.h:7
std::uint32_t record_
Definition: RPCMP7Record.h:107

Member Function Documentation

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

Member Data Documentation

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

Definition at line 72 of file RPCMP7Record.h.

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

Definition at line 78 of file RPCMP7Record.h.

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

Definition at line 70 of file RPCMP7Record.h.

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

Definition at line 76 of file RPCMP7Record.h.

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

Definition at line 74 of file RPCMP7Record.h.

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

Definition at line 80 of file RPCMP7Record.h.

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

Definition at line 71 of file RPCMP7Record.h.

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

Definition at line 77 of file RPCMP7Record.h.

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

Definition at line 107 of file RPCMP7Record.h.

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

Definition at line 73 of file RPCMP7Record.h.

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

Definition at line 79 of file RPCMP7Record.h.