CMS 3D CMS Logo

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

#include <RPCMP7Record.h>

Public Member Functions

unsigned int getAlgoVersion () const
 
unsigned int getFirmwareVersion () const
 
std::uint64_t const & getRecord () const
 
void reset ()
 
void set (std::uint64_t const word)
 
void setAlgoVersion (unsigned int algo_rev)
 
void setFirmwareVersion (unsigned int fw_rev)
 
 SubHeader (std::uint64_t const record=0x0)
 

Protected Attributes

std::uint64_t record_
 

Static Protected Attributes

static const std::uint64_t algo_rev_mask_ = 0xffffffff00000000
 
static unsigned const int algo_rev_offset_ = 32
 
static const std::uint64_t fw_rev_mask_ = 0x0000000000ffffff
 
static unsigned const int fw_rev_offset_ = 0
 

Detailed Description

Definition at line 38 of file RPCMP7Record.h.

Constructor & Destructor Documentation

◆ SubHeader()

rpcmp7::SubHeader::SubHeader ( std::uint64_t const  record = 0x0)

Definition at line 25 of file RPCMP7Record.cc.

25 : record_(record) {}

Member Function Documentation

◆ getAlgoVersion()

unsigned int rpcmp7::SubHeader::getAlgoVersion ( ) const

◆ getFirmwareVersion()

unsigned int rpcmp7::SubHeader::getFirmwareVersion ( ) const

◆ getRecord()

std::uint64_t const& rpcmp7::SubHeader::getRecord ( ) const

◆ reset()

void rpcmp7::SubHeader::reset ( )

◆ set()

void rpcmp7::SubHeader::set ( std::uint64_t const  word)

◆ setAlgoVersion()

void rpcmp7::SubHeader::setAlgoVersion ( unsigned int  algo_rev)

◆ setFirmwareVersion()

void rpcmp7::SubHeader::setFirmwareVersion ( unsigned int  fw_rev)

Member Data Documentation

◆ algo_rev_mask_

const std::uint64_t rpcmp7::SubHeader::algo_rev_mask_ = 0xffffffff00000000
staticprotected

Definition at line 40 of file RPCMP7Record.h.

◆ algo_rev_offset_

unsigned const int rpcmp7::SubHeader::algo_rev_offset_ = 32
staticprotected

Definition at line 43 of file RPCMP7Record.h.

◆ fw_rev_mask_

const std::uint64_t rpcmp7::SubHeader::fw_rev_mask_ = 0x0000000000ffffff
staticprotected

Definition at line 41 of file RPCMP7Record.h.

◆ fw_rev_offset_

unsigned const int rpcmp7::SubHeader::fw_rev_offset_ = 0
staticprotected

Definition at line 44 of file RPCMP7Record.h.

◆ record_

std::uint64_t rpcmp7::SubHeader::record_
protected

Definition at line 61 of file RPCMP7Record.h.

rpcmp7::SubHeader::record_
std::uint64_t record_
Definition: RPCMP7Record.h:61
AlCaHarvesting_cff.record
record
Definition: AlCaHarvesting_cff.py:42