#include <MP7PacketReader.h>
Public Types | |
typedef std::vector < PacketData >::const_iterator | const_iterator |
Public Member Functions | |
const_iterator | begin () const |
const_iterator | end () const |
const PacketData & | get (size_t i) |
MP7PacketReader (const std::string &path, uint32_t striphdr=0, uint32_t stripftr=0, uint32_t ikey=0) | |
size_t | size () const |
bool | valid () const |
virtual | ~MP7PacketReader () |
Private Member Functions | |
void | load () |
Static Private Member Functions | |
static std::vector< PacketRange > | findPackets (std::vector< uint64_t > data) |
Private Attributes | |
std::vector< PacketData > | buffers_ |
uint32_t | footer_ |
uint32_t | header_ |
uint32_t | ikey_ |
MP7FileReader | reader_ |
Definition at line 46 of file MP7PacketReader.h.
typedef std::vector<PacketData>::const_iterator MP7PacketReader::const_iterator |
Definition at line 48 of file MP7PacketReader.h.
MP7PacketReader::MP7PacketReader | ( | const std::string & | path, |
uint32_t | striphdr = 0 , |
||
uint32_t | stripftr = 0 , |
||
uint32_t | ikey = 0 |
||
) |
Definition at line 9 of file MP7PacketReader.cc.
References load(), reader_, and MP7FileReader::valid().
|
virtual |
Definition at line 25 of file MP7PacketReader.cc.
|
inline |
|
inline |
Definition at line 62 of file MP7PacketReader.h.
References buffers_.
Referenced by Types.LuminosityBlockRange::cppID(), Types.EventRange::cppID(), and findPackets().
|
staticprivate |
Definition at line 87 of file MP7PacketReader.cc.
References begin(), end(), i, diffTwoXMLs::ranges, findQualityFiles::v, and x.
Referenced by load().
|
inline |
Definition at line 58 of file MP7PacketReader.h.
Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), rrapi.RRApi::columns(), rrapi.RRApi::count(), rrapi.RRApi::data(), l1t::MP7BufferDumpToRaw::getBlocks(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), betterConfigParser.BetterConfigParser::getResultingSection(), rrapi.RRApi::report(), rrapi.RRApi::reports(), rrapi.RRApi::tables(), rrapi.RRApi::tags(), rrapi.RRApi::templates(), and rrapi.RRApi::workspaces().
|
private |
Definition at line 29 of file MP7PacketReader.cc.
References FileData::begin(), MP7FileReader::begin(), buffers_, data, FileData::end(), MP7FileReader::end(), findPackets(), Packet::first_, footer_, header_, ikey_, relval_2017::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().
|
inline |
|
inline |
Definition at line 56 of file MP7PacketReader.h.
References reader_, and MP7FileReader::valid().
|
private |
|
private |
Definition at line 74 of file MP7PacketReader.h.
Referenced by load().
|
private |
Definition at line 73 of file MP7PacketReader.h.
Referenced by load().
|
private |
Definition at line 75 of file MP7PacketReader.h.
Referenced by load().
|
private |
Definition at line 72 of file MP7PacketReader.h.
Referenced by load(), MP7PacketReader(), and valid().