5#ifndef MUONBYTESTREAM_RPCROD_ENCODER_H
6#define MUONBYTESTREAM_RPCROD_ENCODER_H
56 void fillROD(std::vector<uint32_t>& v);
59 void packFragments(
const std::vector<uint16_t>& v16, std::vector<uint32_t>& v,
int n)
const;
61 static uint32_t
set32bits(
const unsigned short int* v16,
const unsigned short int* pos,
const unsigned short int n) ;
std::vector< const RpcPad * > m_vRpcPad
static uint32_t set32bits(const unsigned short int *v16, const unsigned short int *pos, const unsigned short int n)
void clear()
clear the current pad list
RpcROD_Encoder()
constructor
const RPC_Hid2RESrcID * m_hid2re
void add(const RpcPad *rc)
add Rpc pads to the current list
void packFragments(const std::vector< uint16_t > &v16, std::vector< uint32_t > &v, int n) const
void set(const RPC_Hid2RESrcID *hid2re)
initialize the map
~RpcROD_Encoder()
destructor
void fillROD(std::vector< uint32_t > &v)
convert all pad in the current list to a vector of 32bit words