Definition at line 29 of file MP7PacketReader.cc.
References FileData::begin(), MP7FileReader::begin(), buffers_, data, FileData::end(), MP7FileReader::end(), findPackets(), Packet::first_, footer_, header_, roll_playback::k, Packet::last_, FileData::link(), Packet::links_, FileData::name(), PacketData::name_, AlCaHLTBitMon_ParallelJobs::p, PacketData::packets_, diffTwoXMLs::ranges, reader_, FileData::size(), and MP7FileReader::size().
Referenced by MP7PacketReader().
37 std::set< std::vector<PacketRange > > rangeSet;
39 for(
size_t k(0);
k<raw.
size(); ++
k) {
41 rangeSet.insert(ranges);
44 if ( rangeSet.size() != 1 )
45 throw std::runtime_error(
"Links are not aligned!");
47 std::vector<PacketRange > pr = *(rangeSet.begin());
67 for( ; lIt != raw.
end(); ++lIt ) {
69 pkt.
links_[lIt->first] = std::vector<uint32_t>(
70 lIt->second.begin() + p.first +
header_,
71 lIt->second.begin() + p.second -
footer_
const_iterator end()
vector's end iterator
LinkMap::const_iterator begin() const
size_t size() const
number of rawdata objects stored
std::vector< Packet > packets_
std::vector< PacketData > buffers_
std::pair< uint32_t, uint32_t > PacketRange
LinkMap::const_iterator const_iterator
const std::string & name() const
LinkMap::const_iterator end() const
char data[epos_bytes_allocation]
std::vector< FileData >::const_iterator const_iterator
expose vector's const iterator
const std::vector< uint64_t > & link(uint32_t i) const
static std::vector< PacketRange > findPackets(std::vector< uint64_t > data)
const_iterator begin()
vector's begin iterator