00001 #ifndef EventFilter_RPCRawToDigi_ErrorSDDM_H 00002 #define EventFilter_RPCRawToDigi_ErrorSDDM_H 00003 00004 #include <bitset> 00005 #include <string> 00006 #include "EventFilter/RPCRawToDigi/interface/DataRecord.h" 00007 00008 namespace rpcrawtodigi { 00009 00010 class ErrorSDDM : public DataRecord { 00011 private: 00012 static const unsigned int SDDM_TYPE_FLAG = 0xE801; // 1110100000000001 00013 public: 00014 ErrorSDDM(const DataRecord & r = SDDM_TYPE_FLAG) : DataRecord(r) {} 00015 static bool matchType(const DataRecord & record) { return ( SDDM_TYPE_FLAG == record.data() ); } 00016 std::string print() const { return " SDDM "; } 00017 }; 00018 00019 } 00020 00021 #endif