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);
const_iterator begin() const
virtual ~MP7PacketReader()
std::vector< PacketData > buffers_
MP7PacketReader(const std::string &path, uint32_t striphdr=0, uint32_t stripftr=0, uint32_t ikey=0)
std::vector< Packet > packets_
const_iterator end() const
std::vector< PacketData >::const_iterator const_iterator
std::pair< uint32_t, uint32_t > PacketRange
const std::string & name() const
const_iterator begin() const
std::vector< Packet >::const_iterator const_iterator
const_iterator end() const
char data[epos_bytes_allocation]
std::map< uint32_t, std::vector< uint32_t > > LinkMap
static std::vector< PacketRange > findPackets(std::vector< uint64_t > data)
bool valid() const
reader status. valid() == 1 indicates that data was successfully read from file