CMS 3D CMS Logo

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:
13 
14  static bool matchType(const DataRecord& record);
15  std::string print() const;
16 
17  unsigned int rmb() const;
18 
19  private:
20  static const unsigned int RDM_TYPE_FLAG = 0x3A1; // 1110100001
21  static const unsigned int RDM_TYPE_SHIFT = 6;
22  static const unsigned int RMB_MASK = 0x3F; // 111111
23  };
24 
25 } // namespace rpcrawtodigi
26 
27 #endif
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
rpcrawtodigi::ErrorRDM::ErrorRDM
ErrorRDM(const DataRecord r)
Definition: ErrorRDM.h:12
rpcrawtodigi
Definition: DataRecord.h:9
rpcrawtodigi::ErrorRDM
Definition: ErrorRDM.h:10
rpcrawtodigi::ErrorRDM::RDM_TYPE_SHIFT
static const unsigned int RDM_TYPE_SHIFT
Definition: ErrorRDM.h:21
AlCaHarvesting_cff.record
record
Definition: AlCaHarvesting_cff.py:42
rpcrawtodigi::ErrorRDM::RDM_TYPE_FLAG
static const unsigned int RDM_TYPE_FLAG
Definition: ErrorRDM.h:20
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
alignCSCRings.r
r
Definition: alignCSCRings.py:93
DataRecord.h
rpcrawtodigi::ErrorRDM::rmb
unsigned int rmb() const
Definition: ErrorRDM.cc:9
rpcrawtodigi::ErrorRDM::print
std::string print() const
Definition: ErrorRDM.cc:11