File indexing completed on 2024-04-06 12:05:08
0001 #ifndef DataFormats_RPCDigi_ErrorSDDM_H
0002 #define DataFormats_RPCDigi_ErrorSDDM_H
0003
0004 #include <bitset>
0005 #include <string>
0006 #include "DataFormats/RPCDigi/interface/DataRecord.h"
0007
0008 namespace rpcrawtodigi {
0009
0010 class ErrorSDDM : public DataRecord {
0011 private:
0012 static const unsigned int SDDM_TYPE_FLAG = 0xE801;
0013 public:
0014 ErrorSDDM(const DataRecord& r = DataRecord(SDDM_TYPE_FLAG)) : DataRecord(r) {}
0015 static bool matchType(const DataRecord& record) { return (SDDM_TYPE_FLAG == record.data()); }
0016 std::string print() const { return " SDDM "; }
0017 };
0018
0019 }
0020
0021 #endif