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
 
 ~EmptyWord () override
 
- 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

◆ EmptyWord()

rpcrawtodigi::EmptyWord::EmptyWord ( )
inline

Definition at line 13 of file EmptyWord.h.

13 : DataRecord(EW_TYPE) {}

◆ ~EmptyWord()

rpcrawtodigi::EmptyWord::~EmptyWord ( )
inlineoverride

Definition at line 14 of file EmptyWord.h.

14 {}

Member Function Documentation

◆ matchType()

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

Definition at line 16 of file EmptyWord.h.

16 { return record.data() == EW_TYPE; }

References EW_TYPE, and AlCaHarvesting_cff::record.

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

◆ print()

std::string rpcrawtodigi::EmptyWord::print ( void  ) const
inline

Definition at line 15 of file EmptyWord.h.

15 { return " EMPTY "; }

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

Member Data Documentation

◆ EW_TYPE

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

Definition at line 10 of file EmptyWord.h.

Referenced by matchType().

rpcrawtodigi::DataRecord::DataRecord
DataRecord(const Data &data=None)
Definition: DataRecord.h:27
rpcrawtodigi::EmptyWord::EW_TYPE
static const int EW_TYPE
Definition: EmptyWord.h:10
AlCaHarvesting_cff.record
record
Definition: AlCaHarvesting_cff.py:42