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 const std::uint32_t caption_id_mask_ = 0x0000ff00
 
static unsigned const int caption_id_offset_ = 8
 
static const std::uint32_t id_mask_ = 0xff000000
 
static unsigned const int id_offset_ = 24
 
static const std::uint32_t is_zs_mask_ = 0x00000001
 
static unsigned const int is_zs_offset_ = 0
 
static const std::uint32_t length_mask_ = 0x00ff0000
 
static unsigned const int length_offset_ = 16
 
static const std::uint32_t zs_per_bx_mask_ = 0x00000002
 
static unsigned const int 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.

27 : record_(record) {}

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_

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

Definition at line 68 of file RPCMP7Record.h.

◆ caption_id_offset_

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

Definition at line 74 of file RPCMP7Record.h.

◆ id_mask_

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

Definition at line 66 of file RPCMP7Record.h.

◆ id_offset_

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

Definition at line 72 of file RPCMP7Record.h.

◆ is_zs_mask_

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

Definition at line 70 of file RPCMP7Record.h.

◆ is_zs_offset_

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

Definition at line 76 of file RPCMP7Record.h.

◆ length_mask_

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

Definition at line 67 of file RPCMP7Record.h.

◆ length_offset_

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

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

Definition at line 69 of file RPCMP7Record.h.

◆ zs_per_bx_offset_

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

Definition at line 75 of file RPCMP7Record.h.

AlCaHarvesting_cff.record
record
Definition: AlCaHarvesting_cff.py:42
rpcmp7::BlockHeader::record_
std::uint32_t record_
Definition: RPCMP7Record.h:103