CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_5_3_14/src/DataFormats/RPCDigi/interface/EmptyWord.h

Go to the documentation of this file.
00001 #ifndef DataFormats_RPCDigi_EmptyWord_H
00002 #define DataFormats_RPCDigi_EmptyWord_H
00003 
00004 #include "DataFormats/RPCDigi/interface/DataRecord.h"
00005 #include <string>
00006 
00007 namespace rpcrawtodigi{
00008 class EmptyWord : public DataRecord {
00009 private:
00010   static const int  EW_TYPE = 0xE800;
00011 public:
00012   EmptyWord() : DataRecord(EW_TYPE) {}
00013   virtual ~EmptyWord(){}
00014   std::string print()  const { return " EMPTY "; }
00015   static bool matchType(const DataRecord & record) { return record.data()==EW_TYPE; }
00016 };
00017 }
00018 #endif