CMS 3D CMS Logo

List of all members | Public Member Functions | Static Public Member Functions | Static Private Attributes
rpcrawtodigi::EmptyWord Class Reference

#include <EmptyWord.h>

Inheritance diagram for rpcrawtodigi::EmptyWord:
rpcrawtodigi::DataRecord

Public Member Functions

 EmptyWord ()
 
std::string print () const
 
virtual ~EmptyWord ()
 
- Public Member Functions inherited from rpcrawtodigi::DataRecord
const Datadata () const
 
 DataRecord (const Data &data=None)
 
std::string print () const
 
DataRecordType type () const
 
virtual ~DataRecord ()
 

Static Public Member Functions

static bool matchType (const DataRecord &record)
 
- Static Public Member Functions inherited from rpcrawtodigi::DataRecord
static std::string name (const DataRecordType &code)
 
static std::string print (const DataRecord &record)
 

Static Private Attributes

static const int EW_TYPE = 0xE800
 

Additional Inherited Members

- Public Types inherited from rpcrawtodigi::DataRecord
typedef uint16_t Data
 
enum  DataRecordType {
  None = 0, StartOfBXData = 1, StartOfTbLinkInputNumberData = 2, ChamberData = 3,
  Empty = 4, RDDM = 5, SDDM = 6, RCDM = 7,
  RDM = 8, UndefinedType = 9
}
 
- Protected Attributes inherited from rpcrawtodigi::DataRecord
Data theData
 

Detailed Description

Definition at line 8 of file EmptyWord.h.

Constructor & Destructor Documentation

rpcrawtodigi::EmptyWord::EmptyWord ( )
inline

Definition at line 12 of file EmptyWord.h.

12 : DataRecord(EW_TYPE) {}
DataRecord(const Data &data=None)
Definition: DataRecord.h:28
static const int EW_TYPE
Definition: EmptyWord.h:10
virtual rpcrawtodigi::EmptyWord::~EmptyWord ( )
inlinevirtual

Definition at line 13 of file EmptyWord.h.

13 {}

Member Function Documentation

static bool rpcrawtodigi::EmptyWord::matchType ( const DataRecord record)
inlinestatic

Definition at line 15 of file EmptyWord.h.

References rpcrawtodigi::DataRecord::data(), and EW_TYPE.

Referenced by rpcrawtodigi::DataRecord::print(), and rpcrawtodigi::DataRecord::type().

15 { return record.data()==EW_TYPE; }
JetCorrectorParameters::Record record
Definition: classes.h:7
static const int EW_TYPE
Definition: EmptyWord.h:10
std::string rpcrawtodigi::EmptyWord::print ( void  ) const
inline

Definition at line 14 of file EmptyWord.h.

Referenced by rpcrawtodigi::DataRecord::print().

14 { return " EMPTY "; }

Member Data Documentation

const int rpcrawtodigi::EmptyWord::EW_TYPE = 0xE800
staticprivate

Definition at line 10 of file EmptyWord.h.

Referenced by matchType().