CMS 3D CMS Logo

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

#include <ErrorSDDM.h>

Inheritance diagram for rpcrawtodigi::ErrorSDDM:
rpcrawtodigi::DataRecord

Public Member Functions

 ErrorSDDM (const DataRecord &r=DataRecord(SDDM_TYPE_FLAG))
 
std::string print () const
 
- 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 unsigned int SDDM_TYPE_FLAG = 0xE801
 

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 10 of file ErrorSDDM.h.

Constructor & Destructor Documentation

◆ ErrorSDDM()

rpcrawtodigi::ErrorSDDM::ErrorSDDM ( const DataRecord r = DataRecord(SDDM_TYPE_FLAG))
inline

Definition at line 14 of file ErrorSDDM.h.

14 : DataRecord(r) {}

Member Function Documentation

◆ matchType()

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

Definition at line 15 of file ErrorSDDM.h.

15 { return (SDDM_TYPE_FLAG == record.data()); }

References AlCaHarvesting_cff::record, and SDDM_TYPE_FLAG.

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

◆ print()

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

Definition at line 16 of file ErrorSDDM.h.

16 { return " SDDM "; }

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

Member Data Documentation

◆ SDDM_TYPE_FLAG

const unsigned int rpcrawtodigi::ErrorSDDM::SDDM_TYPE_FLAG = 0xE801
staticprivate

Definition at line 12 of file ErrorSDDM.h.

Referenced by matchType().

rpcrawtodigi::DataRecord::DataRecord
DataRecord(const Data &data=None)
Definition: DataRecord.h:27
rpcrawtodigi::ErrorSDDM::SDDM_TYPE_FLAG
static const unsigned int SDDM_TYPE_FLAG
Definition: ErrorSDDM.h:12
AlCaHarvesting_cff.record
record
Definition: AlCaHarvesting_cff.py:42
alignCSCRings.r
r
Definition: alignCSCRings.py:93