CMS 3D CMS Logo

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
ErrorRDM.cc
Go to the documentation of this file.
2 
3 using namespace rpcrawtodigi;
4 
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 
12  std::ostringstream str;
13  str << " RDM, rmb: " << rmb();
14  return str.str();
15 }
unsigned int rmb() const
Definition: ErrorRDM.cc:9
static const unsigned int RDM_TYPE_FLAG
Definition: ErrorRDM.h:20
static const unsigned int RDM_TYPE_SHIFT
Definition: ErrorRDM.h:21
static bool matchType(const DataRecord &record)
Definition: ErrorRDM.cc:5
std::string print() const
Definition: ErrorRDM.cc:11
static const unsigned int RMB_MASK
Definition: ErrorRDM.h:22
#define str(s)