CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Attributes | Static Protected Attributes
rpcamc13::Header Class Reference

#include <RPCAMC13Record.h>

Public Member Functions

unsigned int getFirmwareVersion () const
 
unsigned int getNAMC () const
 
unsigned int getOrbitCounter () const
 
std::uint64_t const & getRecord () const
 
 Header (std::uint64_t const record=0x0)
 
 Header (unsigned int ufov, unsigned int n_amc, unsigned int orbit_counter)
 
void reset ()
 
void set (std::uint64_t const record)
 
void setFirmwareVersion (unsigned int ufov)
 
void setNAMC (unsigned int n_amc)
 
void setOrbitCounter (unsigned int orbit_counter)
 

Protected Attributes

std::uint64_t record_
 

Static Protected Attributes

static std::uint64_t const n_amc_mask_ = 0x00f0000000000000
 
static unsigned int const n_amc_offset_ = 52
 
static std::uint64_t const orbit_counter_mask_ = 0x0000000ffffffff0
 
static unsigned int const orbit_counter_offset_ = 4
 
static std::uint64_t const ufov_mask_ = 0xf000000000000000
 
static unsigned int const ufov_offset_ = 60
 

Detailed Description

Definition at line 9 of file RPCAMC13Record.h.

Constructor & Destructor Documentation

Header::Header ( std::uint64_t const  record = 0x0)
Header::Header ( unsigned int  ufov,
unsigned int  n_amc,
unsigned int  orbit_counter 
)

Definition at line 7 of file RPCAMC13Record.cc.

References setFirmwareVersion(), setNAMC(), and setOrbitCounter().

7  : record_(0x0) {
8  setFirmwareVersion(ufov);
9  setNAMC(n_amc);
10  setOrbitCounter(orbit_counter);
11  }
void setNAMC(unsigned int n_amc)
void setOrbitCounter(unsigned int orbit_counter)
std::uint64_t record_
void setFirmwareVersion(unsigned int ufov)

Member Function Documentation

unsigned int rpcamc13::Header::getFirmwareVersion ( ) const
unsigned int rpcamc13::Header::getNAMC ( ) const
unsigned int rpcamc13::Header::getOrbitCounter ( ) const
std::uint64_t const& rpcamc13::Header::getRecord ( ) const
void rpcamc13::Header::reset ( )
void rpcamc13::Header::set ( std::uint64_t const  record)
void rpcamc13::Header::setFirmwareVersion ( unsigned int  ufov)

Referenced by Header().

void rpcamc13::Header::setNAMC ( unsigned int  n_amc)

Referenced by Header().

void rpcamc13::Header::setOrbitCounter ( unsigned int  orbit_counter)

Referenced by Header().

Member Data Documentation

std::uint64_t const rpcamc13::Header::n_amc_mask_ = 0x00f0000000000000
staticprotected

Definition at line 12 of file RPCAMC13Record.h.

unsigned int const rpcamc13::Header::n_amc_offset_ = 52
staticprotected

Definition at line 16 of file RPCAMC13Record.h.

std::uint64_t const rpcamc13::Header::orbit_counter_mask_ = 0x0000000ffffffff0
staticprotected

Definition at line 13 of file RPCAMC13Record.h.

unsigned int const rpcamc13::Header::orbit_counter_offset_ = 4
staticprotected

Definition at line 17 of file RPCAMC13Record.h.

std::uint64_t rpcamc13::Header::record_
protected

Definition at line 37 of file RPCAMC13Record.h.

std::uint64_t const rpcamc13::Header::ufov_mask_ = 0xf000000000000000
staticprotected

Definition at line 11 of file RPCAMC13Record.h.

unsigned int const rpcamc13::Header::ufov_offset_ = 60
staticprotected

Definition at line 15 of file RPCAMC13Record.h.