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 public:
12  EmptyWord() : DataRecord(EW_TYPE) {}
13  ~EmptyWord() override{}
14  std::string print() const { return " EMPTY "; }
15  static bool matchType(const DataRecord & record) { return record.data()==EW_TYPE; }
16 };
17 }
18 #endif
JetCorrectorParameters::Record record
Definition: classes.h:7
~EmptyWord() override
Definition: EmptyWord.h:13
std::string print() const
Definition: EmptyWord.h:14
const Data & data() const
Definition: DataRecord.h:32
static const int EW_TYPE
Definition: EmptyWord.h:10
static bool matchType(const DataRecord &record)
Definition: EmptyWord.h:15