#include <FedRawDataInputSource.h>
Public Member Functions | |
bool | advance (unsigned char *&dataPosition, const size_t size) |
InputFile (evf::EvFDaqDirector::FileStatus status, unsigned int lumi=0, std::string const &name=std::string(), uint32_t fileSize=0, uint32_t nChunks=0, unsigned int nEvents=0, FedRawDataInputSource *parent=nullptr) | |
InputFile (std::string &name) | |
void | moveToPreviousChunk (const size_t size, const size_t offset) |
void | rewindChunk (const size_t size) |
bool | waitForChunk (unsigned int chunkid) |
Public Attributes | |
uint32_t | bufferPosition_ = 0 |
uint32_t | chunkPosition_ = 0 |
tbb::concurrent_vector < InputChunk * > | chunks_ |
unsigned int | currentChunk_ = 0 |
std::string | fileName_ |
uint32_t | fileSize_ |
unsigned int | lumi_ |
uint32_t | nChunks_ |
unsigned int | nEvents_ |
unsigned int | nProcessed_ |
FedRawDataInputSource * | parent_ |
evf::EvFDaqDirector::FileStatus | status_ |
Definition at line 189 of file FedRawDataInputSource.h.
|
inline |
Definition at line 205 of file FedRawDataInputSource.h.
|
inline |
Definition at line 220 of file FedRawDataInputSource.h.
|
inline |
Definition at line 1052 of file FedRawDataInputSource.cc.
References bufferPosition_, chunkPosition_, chunks_, currentChunk_, FedRawDataInputSource::exceptionState(), parent_, findQualityFiles::size, FedRawDataInputSource::threadError(), and waitForChunk().
Referenced by FedRawDataInputSource::getNextEvent().
|
inline |
Definition at line 1088 of file FedRawDataInputSource.cc.
References bufferPosition_, chunkPosition_, chunks_, currentChunk_, findQualityFiles::size, and edm::size_().
Referenced by FedRawDataInputSource::getNextEvent().
|
inline |
Definition at line 1098 of file FedRawDataInputSource.cc.
References bufferPosition_, chunkPosition_, and findQualityFiles::size.
Referenced by FedRawDataInputSource::getNextEvent().
|
inline |
Definition at line 222 of file FedRawDataInputSource.h.
References chunks_.
Referenced by advance(), and FedRawDataInputSource::getNextEvent().
uint32_t InputFile::bufferPosition_ = 0 |
Definition at line 201 of file FedRawDataInputSource.h.
Referenced by advance(), FedRawDataInputSource::getNextEvent(), moveToPreviousChunk(), and rewindChunk().
uint32_t InputFile::chunkPosition_ = 0 |
Definition at line 202 of file FedRawDataInputSource.h.
Referenced by advance(), FedRawDataInputSource::getNextEvent(), moveToPreviousChunk(), FedRawDataInputSource::readNextChunkIntoBuffer(), and rewindChunk().
tbb::concurrent_vector<InputChunk*> InputFile::chunks_ |
Definition at line 199 of file FedRawDataInputSource.h.
Referenced by advance(), FedRawDataInputSource::getNextEvent(), InputFile(), moveToPreviousChunk(), FedRawDataInputSource::read(), FedRawDataInputSource::readNextChunkIntoBuffer(), FedRawDataInputSource::readSupervisor(), FedRawDataInputSource::readWorker(), and waitForChunk().
unsigned int InputFile::currentChunk_ = 0 |
Definition at line 203 of file FedRawDataInputSource.h.
Referenced by advance(), FedRawDataInputSource::getNextEvent(), moveToPreviousChunk(), and FedRawDataInputSource::read().
std::string InputFile::fileName_ |
Definition at line 193 of file FedRawDataInputSource.h.
Referenced by FedRawDataInputSource::getNextEvent(), FedRawDataInputSource::readNextChunkIntoBuffer(), and FedRawDataInputSource::readWorker().
uint32_t InputFile::fileSize_ |
Definition at line 194 of file FedRawDataInputSource.h.
Referenced by FedRawDataInputSource::getNextEvent(), and FedRawDataInputSource::readNextChunkIntoBuffer().
unsigned int InputFile::lumi_ |
Definition at line 192 of file FedRawDataInputSource.h.
Referenced by FedRawDataInputSource::getNextEvent().
uint32_t InputFile::nChunks_ |
Definition at line 195 of file FedRawDataInputSource.h.
Referenced by FedRawDataInputSource::getNextEvent().
unsigned int InputFile::nEvents_ |
Definition at line 196 of file FedRawDataInputSource.h.
Referenced by FedRawDataInputSource::getNextEvent().
unsigned int InputFile::nProcessed_ |
Definition at line 197 of file FedRawDataInputSource.h.
Referenced by FedRawDataInputSource::getNextEvent(), and FedRawDataInputSource::read().
FedRawDataInputSource* InputFile::parent_ |
Definition at line 190 of file FedRawDataInputSource.h.
Referenced by advance(), and FedRawDataInputSource::getNextEvent().
evf::EvFDaqDirector::FileStatus InputFile::status_ |
Definition at line 191 of file FedRawDataInputSource.h.
Referenced by FedRawDataInputSource::getNextEvent().