1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#ifndef DataFormats_RPCDigi_ErrorSDDM_H
#define DataFormats_RPCDigi_ErrorSDDM_H
#include <bitset>
#include <string>
#include "DataFormats/RPCDigi/interface/DataRecord.h"
namespace rpcrawtodigi {
class ErrorSDDM : public DataRecord {
private:
static const unsigned int SDDM_TYPE_FLAG = 0xE801; // 1110100000000001
public:
ErrorSDDM(const DataRecord& r = DataRecord(SDDM_TYPE_FLAG)) : DataRecord(r) {}
static bool matchType(const DataRecord& record) { return (SDDM_TYPE_FLAG == record.data()); }
std::string print() const { return " SDDM "; }
};
} // namespace rpcrawtodigi
#endif
|