CMS 3D CMS Logo

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 } // namespace rpcrawtodigi
20 
21 #endif
rpcrawtodigi::DataRecord
Definition: DataRecord.h:10
rpcrawtodigi
Definition: DataRecord.h:9
rpcrawtodigi::DataRecord::DataRecord
DataRecord(const Data &data=None)
Definition: DataRecord.h:27
rpcrawtodigi::ErrorSDDM
Definition: ErrorSDDM.h:10
rpcrawtodigi::ErrorSDDM::SDDM_TYPE_FLAG
static const unsigned int SDDM_TYPE_FLAG
Definition: ErrorSDDM.h:12
rpcrawtodigi::ErrorSDDM::matchType
static bool matchType(const DataRecord &record)
Definition: ErrorSDDM.h:15
AlCaHarvesting_cff.record
record
Definition: AlCaHarvesting_cff.py:42
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
alignCSCRings.r
r
Definition: alignCSCRings.py:93
rpcrawtodigi::ErrorSDDM::ErrorSDDM
ErrorSDDM(const DataRecord &r=DataRecord(SDDM_TYPE_FLAG))
Definition: ErrorSDDM.h:14
DataRecord.h
rpcrawtodigi::ErrorSDDM::print
std::string print() const
Definition: ErrorSDDM.h:16