Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:05:08

0001 #include "DataFormats/RPCDigi/interface/ErrorRDM.h"
0002 
0003 using namespace rpcrawtodigi;
0004 
0005 bool ErrorRDM::matchType(const DataRecord& record) {
0006   return (RDM_TYPE_FLAG == static_cast<unsigned int>(record.data() >> RDM_TYPE_SHIFT));
0007 }
0008 
0009 unsigned int ErrorRDM::rmb() const { return (theData & RMB_MASK); }
0010 
0011 std::string ErrorRDM::print() const {
0012   std::ostringstream str;
0013   str << " RDM,  rmb: " << rmb();
0014   return str.str();
0015 }