CMS 3D CMS Logo

List of all members | Public Member Functions | Static Public Attributes | Protected Attributes
RPCLBRecord Class Reference

#include <RPCLBRecord.h>

Public Member Functions

unsigned int getBCN () const
 
unsigned int getConnector () const
 
unsigned int getDelay () const
 
unsigned int getLinkBoard () const
 
unsigned int getPartition () const
 
std::uint8_t getPartitionData () const
 
std::uint32_t const & getRecord () const
 
bool isBC0 () const
 
bool isEOD () const
 
bool operator< (RPCLBRecord const &rhs) const
 
void reset ()
 
 RPCLBRecord (std::uint32_t const record=0x0)
 
 RPCLBRecord (unsigned int bcn, bool bc0, unsigned int link_board, bool eod, unsigned int delay, unsigned int connector, unsigned int partition, std::uint8_t data)
 
void set (std::uint32_t const record=0x0)
 
void setBC0 (bool bc0)
 
void setBCN (unsigned int bcn)
 
void setConnector (unsigned int connector)
 
void setDelay (unsigned int delay)
 
void setEOD (bool eod)
 
void setLinkBoard (unsigned int link_board)
 
void setPartition (unsigned int partition)
 
void setPartitionData (std::uint8_t data)
 

Static Public Attributes

static std::uint32_t const bc0_mask_ = 0x01000000
 
static unsigned int const bc0_offset_ = 24
 
static std::uint32_t const bcn_mask_ = 0xfe000000
 
static unsigned int const bcn_offset_ = 25
 
static std::uint32_t const connector_mask_ = 0x00000e00
 
static unsigned int const connector_offset_ = 9
 
static std::uint32_t const delay_mask_ = 0x00007000
 
static unsigned int const delay_offset_ = 12
 
static std::uint32_t const eod_mask_ = 0x00008000
 
static unsigned int const eod_offset_ = 15
 
static std::uint32_t const link_board_mask_ = 0x00060000
 
static unsigned int const link_board_offset_ = 17
 
static std::uint32_t const partition_data_mask_ = 0x000000ff
 
static unsigned int const partition_data_offset_ = 0
 
static std::uint32_t const partition_mask_ = 0x00000100
 
static unsigned int const partition_offset_ = 8
 

Protected Attributes

std::uint32_t record_
 

Detailed Description

Definition at line 6 of file RPCLBRecord.h.

Constructor & Destructor Documentation

RPCLBRecord::RPCLBRecord ( std::uint32_t const  record = 0x0)

Definition at line 3 of file RPCLBRecord.cc.

3 : record_(record) {}
JetCorrectorParameters::Record record
Definition: classes.h:7
std::uint32_t record_
Definition: RPCLBRecord.h:65
RPCLBRecord::RPCLBRecord ( unsigned int  bcn,
bool  bc0,
unsigned int  link_board,
bool  eod,
unsigned int  delay,
unsigned int  connector,
unsigned int  partition,
std::uint8_t  data 
)

Definition at line 5 of file RPCLBRecord.cc.

References setBC0(), setBCN(), setConnector(), setDelay(), setEOD(), setLinkBoard(), setPartition(), and setPartitionData().

13  : record_(0x00) {
14  setBCN(bcn);
15  setBC0(bc0);
16  setLinkBoard(link_board);
17  setEOD(eod);
18  setDelay(delay);
19  setConnector(connector);
20  setPartition(partition);
22 }
void setPartitionData(std::uint8_t data)
void setPartition(unsigned int partition)
void setBCN(unsigned int bcn)
void setDelay(unsigned int delay)
void setLinkBoard(unsigned int link_board)
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:79
std::uint32_t record_
Definition: RPCLBRecord.h:65
void setEOD(bool eod)
void setConnector(unsigned int connector)
void setBC0(bool bc0)

Member Function Documentation

unsigned int RPCLBRecord::getBCN ( ) const
unsigned int RPCLBRecord::getConnector ( ) const
unsigned int RPCLBRecord::getDelay ( ) const
unsigned int RPCLBRecord::getLinkBoard ( ) const
unsigned int RPCLBRecord::getPartition ( ) const
std::uint8_t RPCLBRecord::getPartitionData ( ) const
std::uint32_t const& RPCLBRecord::getRecord ( ) const
bool RPCLBRecord::isBC0 ( ) const
bool RPCLBRecord::isEOD ( ) const
bool RPCLBRecord::operator< ( RPCLBRecord const &  rhs) const
void RPCLBRecord::reset ( )
void RPCLBRecord::set ( std::uint32_t const  record = 0x0)
void RPCLBRecord::setBC0 ( bool  bc0)

Referenced by RPCLBRecord().

void RPCLBRecord::setBCN ( unsigned int  bcn)

Referenced by RPCLBRecord().

void RPCLBRecord::setConnector ( unsigned int  connector)

Referenced by RPCLBRecord().

void RPCLBRecord::setDelay ( unsigned int  delay)

Referenced by RPCLBRecord().

void RPCLBRecord::setEOD ( bool  eod)

Referenced by RPCLBRecord().

void RPCLBRecord::setLinkBoard ( unsigned int  link_board)

Referenced by RPCLBRecord().

void RPCLBRecord::setPartition ( unsigned int  partition)

Referenced by RPCLBRecord().

void RPCLBRecord::setPartitionData ( std::uint8_t  data)

Referenced by RPCLBRecord().

Member Data Documentation

std::uint32_t const RPCLBRecord::bc0_mask_ = 0x01000000
static

Definition at line 11 of file RPCLBRecord.h.

unsigned int const RPCLBRecord::bc0_offset_ = 24
static

Definition at line 20 of file RPCLBRecord.h.

std::uint32_t const RPCLBRecord::bcn_mask_ = 0xfe000000
static

Definition at line 10 of file RPCLBRecord.h.

unsigned int const RPCLBRecord::bcn_offset_ = 25
static

Definition at line 19 of file RPCLBRecord.h.

std::uint32_t const RPCLBRecord::connector_mask_ = 0x00000e00
static

Definition at line 15 of file RPCLBRecord.h.

unsigned int const RPCLBRecord::connector_offset_ = 9
static

Definition at line 24 of file RPCLBRecord.h.

std::uint32_t const RPCLBRecord::delay_mask_ = 0x00007000
static

Definition at line 14 of file RPCLBRecord.h.

unsigned int const RPCLBRecord::delay_offset_ = 12
static

Definition at line 23 of file RPCLBRecord.h.

std::uint32_t const RPCLBRecord::eod_mask_ = 0x00008000
static

Definition at line 13 of file RPCLBRecord.h.

unsigned int const RPCLBRecord::eod_offset_ = 15
static

Definition at line 22 of file RPCLBRecord.h.

std::uint32_t const RPCLBRecord::link_board_mask_ = 0x00060000
static

Definition at line 12 of file RPCLBRecord.h.

unsigned int const RPCLBRecord::link_board_offset_ = 17
static

Definition at line 21 of file RPCLBRecord.h.

std::uint32_t const RPCLBRecord::partition_data_mask_ = 0x000000ff
static

Definition at line 17 of file RPCLBRecord.h.

unsigned int const RPCLBRecord::partition_data_offset_ = 0
static

Definition at line 26 of file RPCLBRecord.h.

std::uint32_t const RPCLBRecord::partition_mask_ = 0x00000100
static

Definition at line 16 of file RPCLBRecord.h.

unsigned int const RPCLBRecord::partition_offset_ = 8
static

Definition at line 25 of file RPCLBRecord.h.

std::uint32_t RPCLBRecord::record_
protected

Definition at line 65 of file RPCLBRecord.h.