DataFormats
RPCDigi
src
ErrorRDM.cc
Go to the documentation of this file.
1
#include "
DataFormats/RPCDigi/interface/ErrorRDM.h
"
2
3
using namespace
rpcrawtodigi
;
4
5
bool
ErrorRDM::matchType
(
const
DataRecord
&
record
) {
6
return
(
RDM_TYPE_FLAG
== static_cast<unsigned int>(
record
.data() >>
RDM_TYPE_SHIFT
));
7
}
8
9
unsigned
int
ErrorRDM::rmb
()
const
{
return
(
theData
&
RMB_MASK
); }
10
11
std::string
ErrorRDM::print
()
const
{
12
std::ostringstream
str
;
13
str
<<
" RDM, rmb: "
<<
rmb
();
14
return
str
.str();
15
}
rpcrawtodigi::ErrorRDM::matchType
static bool matchType(const DataRecord &record)
Definition:
ErrorRDM.cc:5
rpcrawtodigi::DataRecord
Definition:
DataRecord.h:10
rpcrawtodigi::ErrorRDM::RMB_MASK
static const unsigned int RMB_MASK
Definition:
ErrorRDM.h:22
ErrorRDM.h
GlobalPosition_Frontier_DevDB_cff.record
record
Definition:
GlobalPosition_Frontier_DevDB_cff.py:10
rpcrawtodigi
Definition:
DataRecord.h:9
str
#define str(s)
Definition:
TestProcessor.cc:48
rpcrawtodigi::ErrorRDM::RDM_TYPE_SHIFT
static const unsigned int RDM_TYPE_SHIFT
Definition:
ErrorRDM.h:21
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
rpcrawtodigi::ErrorRDM::RDM_TYPE_FLAG
static const unsigned int RDM_TYPE_FLAG
Definition:
ErrorRDM.h:20
rpcrawtodigi::ErrorRDM::rmb
unsigned int rmb() const
Definition:
ErrorRDM.cc:9
rpcrawtodigi::ErrorRDM::print
std::string print() const
Definition:
ErrorRDM.cc:11
rpcrawtodigi::DataRecord::theData
Data theData
Definition:
DataRecord.h:46
Generated for CMSSW Reference Manual by
1.8.16