BOSS 7.1.0
BESIII Offline Software System
|
#include <RawFileReader.h>
Public Types | |
typedef const VFileNames_t | ReaderArgType |
Public Member Functions | |
RawFileReader (const std::string &fname) | |
RawFileReader (const VFileNames_t &fnames) | |
RawFileReader (const std::string &fname, const std::string &idxfname) | |
RawFileReader (const VFileNames_t &fnames, const VFileNames_t &idxfnames) | |
virtual | ~RawFileReader () |
const uint32_t * | nextEvent () |
const uint32_t * | currentEvent () const |
const uint32_t * | nextEvent (int nIgnore) |
const uint32_t * | findEventById (uint32_t evtId) |
const uint32_t * | roughlyNextEvent (int nIgnore, int evtByte=0) |
uint32_t | runNo () |
std::string | currentFile () |
uint32_t | tellg () |
uint32_t | stat () |
Public Member Functions inherited from IRawReader | |
virtual | ~IRawReader () |
virtual const uint32_t * | nextEvent ()=0 |
virtual const uint32_t * | currentEvent () const =0 |
virtual uint32_t | runNo ()=0 |
virtual std::string | currentFile ()=0 |
virtual uint32_t | stat ()=0 |
Static Public Member Functions | |
static std::vector< int > | getEventNumber (const VFileNames_t &idxfnames) |
Definition at line 16 of file RawFileReader.h.
typedef const VFileNames_t RawFileReader::ReaderArgType |
Definition at line 20 of file RawFileReader.h.
RawFileReader::RawFileReader | ( | const std::string & | fname | ) |
Definition at line 39 of file RawFileReader.cxx.
Referenced by RawFileReader().
RawFileReader::RawFileReader | ( | const VFileNames_t & | fnames | ) |
Definition at line 63 of file RawFileReader.cxx.
RawFileReader::RawFileReader | ( | const std::string & | fname, |
const std::string & | idxfname | ||
) |
Definition at line 87 of file RawFileReader.cxx.
RawFileReader::RawFileReader | ( | const VFileNames_t & | fnames, |
const VFileNames_t & | idxfnames | ||
) |
Definition at line 103 of file RawFileReader.cxx.
|
virtual |
Definition at line 119 of file RawFileReader.cxx.
|
inlinevirtual |
Implements IRawReader.
Definition at line 33 of file RawFileReader.h.
Referenced by MixerAlg::nextEvent().
|
virtual |
Implements IRawReader.
Definition at line 263 of file RawFileReader.cxx.
Referenced by MixerAlg::execute(), findEventById(), main(), nextEvent(), and roughlyNextEvent().
const uint32_t * RawFileReader::findEventById | ( | uint32_t | evtId | ) |
Definition at line 189 of file RawFileReader.cxx.
Referenced by findEventById(), and main().
|
static |
Definition at line 12 of file RawFileReader.cxx.
Referenced by MixerAlg::execute().
|
virtual |
Implements IRawReader.
Definition at line 126 of file RawFileReader.cxx.
Referenced by main(), nextEvent(), MixerAlg::nextEvent(), and RawEventReader::readEvent().
const uint32_t * RawFileReader::nextEvent | ( | int | nIgnore | ) |
Definition at line 154 of file RawFileReader.cxx.
const uint32_t * RawFileReader::roughlyNextEvent | ( | int | nIgnore, |
int | evtByte = 0 |
||
) |
Definition at line 221 of file RawFileReader.cxx.
Referenced by MixerAlg::nextEvent(), and roughlyNextEvent().
|
virtual |
|
virtual |
Implements IRawReader.
Definition at line 273 of file RawFileReader.cxx.
Referenced by stat().
uint32_t RawFileReader::tellg | ( | ) |
Definition at line 268 of file RawFileReader.cxx.
Referenced by main().