CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
ErrorRDM.cc
Go to the documentation of this file.
2 
3 using namespace rpcrawtodigi;
4 
6 {
7  return ( RDM_TYPE_FLAG == static_cast<unsigned int>(record.data() >> RDM_TYPE_SHIFT) );
8 }
9 
10 unsigned int ErrorRDM::rmb() const
11 {
12  return (theData & RMB_MASK);
13 }
14 
16 {
17  std::ostringstream str;
18  str <<" RDM, rmb: "<< rmb();
19  return str.str();
20 }
21 
22 
static const unsigned int RDM_TYPE_FLAG
Definition: ErrorRDM.h:21
JetCorrectorParameters::Record record
Definition: classes.h:13
static const unsigned int RDM_TYPE_SHIFT
Definition: ErrorRDM.h:22
static bool matchType(const DataRecord &record)
Definition: ErrorRDM.cc:5
unsigned int rmb() const
Definition: ErrorRDM.cc:10
const Data & data() const
Definition: DataRecord.h:32
static const unsigned int RMB_MASK
Definition: ErrorRDM.h:23
std::string print() const
Definition: ErrorRDM.cc:15