CMS 3D CMS Logo

CMSSW_4_4_3_patch1/src/DataFormats/RPCDigi/interface/ErrorSDDM.h

Go to the documentation of this file.
00001 #ifndef DataFormats_RPCDigi_ErrorSDDM_H
00002 #define DataFormats_RPCDigi_ErrorSDDM_H
00003 
00004 #include <bitset>
00005 #include <string> 
00006 #include "DataFormats/RPCDigi/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 = DataRecord(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