CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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

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

Definition at line 14 of file ErrorSDDM.h.

14 : DataRecord(r) {}
DataRecord(const Data &data=None)
Definition: DataRecord.h:28

Member Function Documentation

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

Definition at line 15 of file ErrorSDDM.h.

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

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

15 { return ( SDDM_TYPE_FLAG == record.data() ); }
JetCorrectorParameters::Record record
Definition: classes.h:11
static const unsigned int SDDM_TYPE_FLAG
Definition: ErrorSDDM.h:12
std::string rpcrawtodigi::ErrorSDDM::print ( void  ) const
inline

Definition at line 16 of file ErrorSDDM.h.

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

16 { return " SDDM "; }

Member Data Documentation

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

Definition at line 12 of file ErrorSDDM.h.

Referenced by matchType().