CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
ErrorRDM.h
Go to the documentation of this file.
1 #ifndef DataFormats_RPCDigi_ErrorRDM_H
2 #define DataFormats_RPCDigi_ErrorRDM_H
3 
4 #include <bitset>
5 #include <string>
7 
8 namespace rpcrawtodigi {
9 
10 class ErrorRDM : public DataRecord {
11 public:
12 
14 
15  static bool matchType(const DataRecord & record);
16  std::string print() const;
17 
18  unsigned int rmb() const;
19 
20 private:
21  static const unsigned int RDM_TYPE_FLAG = 0x3A1; // 1110100001
22  static const unsigned int RDM_TYPE_SHIFT = 6;
23  static const unsigned int RMB_MASK = 0x3F; // 111111
24 };
25 
26 }
27 
28 #endif
static const unsigned int RDM_TYPE_FLAG
Definition: ErrorRDM.h:21
JetCorrectorParameters::Record record
Definition: classes.h:7
static const unsigned int RDM_TYPE_SHIFT
Definition: ErrorRDM.h:22
static bool matchType(const DataRecord &record)
Definition: ErrorRDM.cc:5
ErrorRDM(const DataRecord r)
Definition: ErrorRDM.h:13
unsigned int rmb() const
Definition: ErrorRDM.cc:10
static const unsigned int RMB_MASK
Definition: ErrorRDM.h:23
std::string print() const
Definition: ErrorRDM.cc:15