#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 44 of file MP7PacketReader.h.
typedef std::vector<PacketData>::const_iterator MP7PacketReader::const_iterator |
Definition at line 46 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 8 of file MP7PacketReader.cc.
References load(), reader_, and MP7FileReader::valid().
|
virtual |
Definition at line 26 of file MP7PacketReader.cc.
|
inline |
|
inline |
Definition at line 60 of file MP7PacketReader.h.
References buffers_.
Referenced by Types.LuminosityBlockRange::cppID(), Types.EventRange::cppID(), and findPackets().
|
staticprivate |
Definition at line 79 of file MP7PacketReader.cc.
References begin(), end(), mps_fire::i, diffTwoXMLs::ranges, findQualityFiles::v, and x.
Referenced by load().
|
inline |
Definition at line 56 of file MP7PacketReader.h.
References buffers_, and mps_fire::i.
Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), submitPVValidationJobs.BetterConfigParser::__updateDict(), rrapi.RRApi::columns(), util.rrapi.RRApi::columns(), rrapi.RRApi::count(), util.rrapi.RRApi::count(), rrapi.RRApi::data(), util.rrapi.RRApi::data(), l1t::MP7BufferDumpToRaw::getBlocks(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), betterConfigParser.BetterConfigParser::getResultingSection(), submitPVValidationJobs.BetterConfigParser::getResultingSection(), util.rrapi.RRApi::report(), rrapi.RRApi::report(), util.rrapi.RRApi::reports(), rrapi.RRApi::reports(), rrapi.RRApi::tables(), util.rrapi.RRApi::tables(), util.rrapi.RRApi::tags(), rrapi.RRApi::tags(), rrapi.RRApi::templates(), util.rrapi.RRApi::templates(), rrapi.RRApi::workspaces(), and util.rrapi.RRApi::workspaces().
|
private |
Definition at line 28 of file MP7PacketReader.cc.
References FileData::begin(), MP7FileReader::begin(), buffers_, data, FileData::end(), MP7FileReader::end(), findPackets(), Packet::first_, footer_, header_, ikey_, isotrackApplyRegressor::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 |
Definition at line 62 of file MP7PacketReader.h.
References buffers_.
Referenced by ntupleDataFormat._Collection::__iter__(), and ntupleDataFormat._Collection::__len__().
|
inline |
Definition at line 54 of file MP7PacketReader.h.
References reader_, and MP7FileReader::valid().
|
private |
|
private |
Definition at line 71 of file MP7PacketReader.h.
Referenced by load().
|
private |
Definition at line 70 of file MP7PacketReader.h.
Referenced by load().
|
private |
Definition at line 72 of file MP7PacketReader.h.
Referenced by load().
|
private |
Definition at line 69 of file MP7PacketReader.h.
Referenced by load(), MP7PacketReader(), and valid().