Go to the documentation of this file.
8 #ifndef EventFilter_L1TRawToDigi_MP7PacketReader_h
9 #define EventFilter_L1TRawToDigi_MP7PacketReader_h
17 typedef std::map<uint32_t, std::vector<uint32_t> >
LinkMap;
66 static std::vector<PacketRange>
findPackets(std::vector<uint64_t>
data);
static std::vector< PacketRange > findPackets(std::vector< uint64_t > data)
const PacketData & get(size_t i)
std::vector< PacketData >::const_iterator const_iterator
std::vector< Packet >::const_iterator const_iterator
std::pair< uint32_t, uint32_t > PacketRange
virtual ~MP7PacketReader()
std::vector< PacketData > buffers_
const_iterator end() const
bool valid() const
reader status. valid() == 1 indicates that data was successfully read from file
std::map< uint32_t, std::vector< uint32_t > > LinkMap
const_iterator begin() const
MP7PacketReader(const std::string &path, uint32_t striphdr=0, uint32_t stripftr=0, uint32_t ikey=0)
std::vector< Packet > packets_
char data[epos_bytes_allocation]
const std::string & name() const
const_iterator end() const
const_iterator begin() const