Line Code
1 2 3 4 5 6 7 8 9 10
#include "DataFormats/RPCDigi/interface/RecordBX.h"
using namespace rpcrawtodigi;

bool RecordBX::matchType(const DataRecord& record) { return (BX_TYPE_FLAG == (record.data() >> BX_TYPE_SHIFT)); }

std::string RecordBX::print() const {
  std::ostringstream str;
  str << " BX,    bx = " << bx();
  return str.str();
}