CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
ErrorSDDM.h
Go to the documentation of this file.
1 #ifndef DataFormats_RPCDigi_ErrorSDDM_H
2 #define DataFormats_RPCDigi_ErrorSDDM_H
3 
4 #include <bitset>
5 #include <string>
7 
8 namespace rpcrawtodigi {
9 
10 class ErrorSDDM : public DataRecord {
11 private:
12  static const unsigned int SDDM_TYPE_FLAG = 0xE801; // 1110100000000001
13 public:
15  static bool matchType(const DataRecord & record) { return ( SDDM_TYPE_FLAG == record.data() ); }
16  std::string print() const { return " SDDM "; }
17 };
18 
19 }
20 
21 #endif
DataRecord(const Data &data=None)
Definition: DataRecord.h:28
const Data & data() const
Definition: DataRecord.h:32
static const unsigned int SDDM_TYPE_FLAG
Definition: ErrorSDDM.h:12
static bool matchType(const DataRecord &record)
Definition: ErrorSDDM.h:15
ErrorSDDM(const DataRecord &r=DataRecord(SDDM_TYPE_FLAG))
Definition: ErrorSDDM.h:14
std::string print() const
Definition: ErrorSDDM.h:16