CMS 3D CMS Logo

ErrorRCDM.cc
Go to the documentation of this file.
2 
3 using namespace rpcrawtodigi;
4 
6  return (RCDM_TYPE_FLAG == static_cast<unsigned int>(record.data() >> RCDM_TYPE_SHIFT));
7 }
8 
9 unsigned int ErrorRCDM::rmb() const { return ((theData >> RMB_SHIFT) & RMB_MASK); }
10 
11 unsigned int ErrorRCDM::link() const { return (theData & LNK_MASK); }
12 
14  std::ostringstream str;
15  str << " RCDM, rmb: " << rmb() << " lnk: " << link();
16  return str.str();
17 }
rpcrawtodigi::ErrorRCDM::link
unsigned int link() const
Definition: ErrorRCDM.cc:11
rpcrawtodigi::ErrorRCDM::RMB_SHIFT
static const unsigned int RMB_SHIFT
Definition: ErrorRCDM.h:25
rpcrawtodigi::DataRecord
Definition: DataRecord.h:10
ErrorRCDM.h
GlobalPosition_Frontier_DevDB_cff.record
record
Definition: GlobalPosition_Frontier_DevDB_cff.py:10
rpcrawtodigi::ErrorRCDM::matchType
static bool matchType(const DataRecord &record)
Definition: ErrorRCDM.cc:5
rpcrawtodigi::ErrorRCDM::RCDM_TYPE_FLAG
static const unsigned int RCDM_TYPE_FLAG
Definition: ErrorRCDM.h:21
rpcrawtodigi
Definition: DataRecord.h:9
rpcrawtodigi::ErrorRCDM::LNK_MASK
static const unsigned int LNK_MASK
Definition: ErrorRCDM.h:27
rpcrawtodigi::ErrorRCDM::rmb
unsigned int rmb() const
Definition: ErrorRCDM.cc:9
str
#define str(s)
Definition: TestProcessor.cc:48
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
rpcrawtodigi::ErrorRCDM::RCDM_TYPE_SHIFT
static const unsigned int RCDM_TYPE_SHIFT
Definition: ErrorRCDM.h:22
rpcrawtodigi::ErrorRCDM::print
std::string print() const
Definition: ErrorRCDM.cc:13
rpcrawtodigi::ErrorRCDM::RMB_MASK
static const unsigned int RMB_MASK
Definition: ErrorRCDM.h:24
rpcrawtodigi::DataRecord::theData
Data theData
Definition: DataRecord.h:46