#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=0) | |
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 197 of file FedRawDataInputSource.h.
|
inline |
Definition at line 213 of file FedRawDataInputSource.h.
|
inline |
Definition at line 228 of file FedRawDataInputSource.h.
|
inline |
Definition at line 1158 of file FedRawDataInputSource.cc.
References assert(), bufferPosition_, chunkPosition_, chunks_, currentChunk_, FedRawDataInputSource::exceptionState(), parent_, findQualityFiles::size, FedRawDataInputSource::threadError(), and waitForChunk().
Referenced by FedRawDataInputSource::getNextEvent().
|
inline |
Definition at line 1194 of file FedRawDataInputSource.cc.
References assert(), bufferPosition_, chunkPosition_, chunks_, currentChunk_, findQualityFiles::size, and edm::size_().
Referenced by FedRawDataInputSource::getNextEvent().
|
inline |
Definition at line 1204 of file FedRawDataInputSource.cc.
References bufferPosition_, chunkPosition_, and findQualityFiles::size.
Referenced by FedRawDataInputSource::getNextEvent().
|
inline |
Definition at line 230 of file FedRawDataInputSource.h.
References chunks_.
Referenced by advance(), and FedRawDataInputSource::getNextEvent().
uint32_t InputFile::bufferPosition_ = 0 |
Definition at line 209 of file FedRawDataInputSource.h.
Referenced by advance(), FedRawDataInputSource::getNextEvent(), moveToPreviousChunk(), and rewindChunk().
uint32_t InputFile::chunkPosition_ = 0 |
Definition at line 210 of file FedRawDataInputSource.h.
Referenced by advance(), FedRawDataInputSource::getNextEvent(), moveToPreviousChunk(), FedRawDataInputSource::readNextChunkIntoBuffer(), and rewindChunk().
tbb::concurrent_vector<InputChunk*> InputFile::chunks_ |
Definition at line 207 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 211 of file FedRawDataInputSource.h.
Referenced by advance(), FedRawDataInputSource::getNextEvent(), moveToPreviousChunk(), and FedRawDataInputSource::read().
std::string InputFile::fileName_ |
Definition at line 201 of file FedRawDataInputSource.h.
Referenced by FedRawDataInputSource::getNextEvent(), FedRawDataInputSource::readNextChunkIntoBuffer(), and FedRawDataInputSource::readWorker().
uint32_t InputFile::fileSize_ |
Definition at line 202 of file FedRawDataInputSource.h.
Referenced by FedRawDataInputSource::getNextEvent(), and FedRawDataInputSource::readNextChunkIntoBuffer().
unsigned int InputFile::lumi_ |
Definition at line 200 of file FedRawDataInputSource.h.
Referenced by FedRawDataInputSource::getNextEvent().
uint32_t InputFile::nChunks_ |
Definition at line 203 of file FedRawDataInputSource.h.
Referenced by FedRawDataInputSource::getNextEvent().
unsigned int InputFile::nEvents_ |
Definition at line 204 of file FedRawDataInputSource.h.
Referenced by FedRawDataInputSource::getNextEvent().
unsigned int InputFile::nProcessed_ |
Definition at line 205 of file FedRawDataInputSource.h.
Referenced by FedRawDataInputSource::getNextEvent(), and FedRawDataInputSource::read().
FedRawDataInputSource* InputFile::parent_ |
Definition at line 198 of file FedRawDataInputSource.h.
Referenced by advance(), and FedRawDataInputSource::getNextEvent().
evf::EvFDaqDirector::FileStatus InputFile::status_ |
Definition at line 199 of file FedRawDataInputSource.h.
Referenced by FedRawDataInputSource::getNextEvent().