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:
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
rpcrawtodigi::DataRecord
Definition: DataRecord.h:10
GlobalPosition_Frontier_DevDB_cff.record
record
Definition: GlobalPosition_Frontier_DevDB_cff.py:10
rpcrawtodigi::EmptyWord
Definition: EmptyWord.h:8
rpcrawtodigi
Definition: DataRecord.h:9
rpcrawtodigi::EmptyWord::~EmptyWord
~EmptyWord() override
Definition: EmptyWord.h:14
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
rpcrawtodigi::EmptyWord::matchType
static bool matchType(const DataRecord &record)
Definition: EmptyWord.h:16
rpcrawtodigi::EmptyWord::print
std::string print() const
Definition: EmptyWord.h:15
rpcrawtodigi::EmptyWord::EW_TYPE
static const int EW_TYPE
Definition: EmptyWord.h:10
DataRecord.h
rpcrawtodigi::EmptyWord::EmptyWord
EmptyWord()
Definition: EmptyWord.h:13