Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:05:08

0001 #ifndef DataFormats_RPCDigi_EmptyWord_H
0002 #define DataFormats_RPCDigi_EmptyWord_H
0003 
0004 #include "DataFormats/RPCDigi/interface/DataRecord.h"
0005 #include <string>
0006 
0007 namespace rpcrawtodigi {
0008   class EmptyWord : public DataRecord {
0009   private:
0010     static const int EW_TYPE = 0xE800;
0011 
0012   public:
0013     EmptyWord() : DataRecord(EW_TYPE) {}
0014     ~EmptyWord() override {}
0015     std::string print() const { return " EMPTY "; }
0016     static bool matchType(const DataRecord& record) { return record.data() == EW_TYPE; }
0017   };
0018 }  // namespace rpcrawtodigi
0019 #endif