17 if(
payload.size() != 4) { errors += 1;
edm::LogError(
"L1T|EMTF") <<
"Payload size in 'RPC Data Record' is different than expected"; }
31 if(
GetHexBits(RPCa, 15, 15) != 0) { errors += 1;
edm::LogError(
"L1T|EMTF") <<
"Format identifier bits in RPCa are incorrect"; }
32 if(
GetHexBits(RPCb, 15, 15) != 0) { errors += 1;
edm::LogError(
"L1T|EMTF") <<
"Format identifier bits in RPCb are incorrect"; }
33 if(
GetHexBits(RPCc, 12, 13) != 0) { errors += 1;
edm::LogError(
"L1T|EMTF") <<
"Format identifier bits in RPCc are incorrect"; }
34 if(
GetHexBits(RPCc, 15, 15) != 1) { errors += 1;
edm::LogError(
"L1T|EMTF") <<
"Format identifier bits in RPCc are incorrect"; }
35 if(
GetHexBits(RPCd, 3, 15) != 0) { errors += 1;
edm::LogError(
"L1T|EMTF") <<
"Format identifier bits in RPCd are incorrect"; }
64 int iOut = res->size() - 1;
89 (res->at(iOut)).push_RPC(RPC_);
void set_link_number(int bits)
void set_partition_data(int bits)
void set_prt_delay(int bits)
virtual bool unpack(const Block &block, UnpackerCollections *coll) override
std::vector< uint32_t > payload() const
void set_partition_num(int bits)
payload
payload postfix for testing
int Format_Errors() const
std::vector< EMTFDaqOut > EMTFDaqOutCollection
#define DEFINE_L1T_UNPACKER(type)
uint16_t GetHexBits(uint16_t word, uint16_t lowBit, uint16_t highBit)
virtual int checkFormat(const Block &block)