CMS 3D CMS Logo

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 }
static const unsigned int RDM_TYPE_FLAG
Definition: ErrorRDM.h:20
JetCorrectorParameters::Record record
Definition: classes.h:7
static const unsigned int RDM_TYPE_SHIFT
Definition: ErrorRDM.h:21
static bool matchType(const DataRecord &record)
Definition: ErrorRDM.cc:5
unsigned int rmb() const
Definition: ErrorRDM.cc:9
const Data & data() const
Definition: DataRecord.h:31
static const unsigned int RMB_MASK
Definition: ErrorRDM.h:22
#define str(s)
std::string print() const
Definition: ErrorRDM.cc:11