CMS 3D CMS Logo

EmptyWord.h
Go to the documentation of this file.
1 #ifndef DataFormats_RPCDigi_EmptyWord_H
2 #define DataFormats_RPCDigi_EmptyWord_H
3 
5 #include <string>
6 
7 namespace rpcrawtodigi {
8  class EmptyWord : public DataRecord {
9  private:
10  static const int EW_TYPE = 0xE800;
11 
12  public:
13  EmptyWord() : DataRecord(EW_TYPE) {}
14  ~EmptyWord() override {}
15  std::string print() const { return " EMPTY "; }
16  static bool matchType(const DataRecord& record) { return record.data() == EW_TYPE; }
17  };
18 } // namespace rpcrawtodigi
19 #endif
JetCorrectorParameters::Record record
Definition: classes.h:7
~EmptyWord() override
Definition: EmptyWord.h:14
std::string print() const
Definition: EmptyWord.h:15
const Data & data() const
Definition: DataRecord.h:31
static const int EW_TYPE
Definition: EmptyWord.h:10
static bool matchType(const DataRecord &record)
Definition: EmptyWord.h:16