#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, 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_ |
int | nEvents_ |
unsigned int | nProcessed_ |
FedRawDataInputSource * | parent_ |
evf::EvFDaqDirector::FileStatus | status_ |
Definition at line 213 of file FedRawDataInputSource.h.
|
inline |
Definition at line 229 of file FedRawDataInputSource.h.
|
inline |
Definition at line 244 of file FedRawDataInputSource.h.
|
inline |
Definition at line 1287 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 1323 of file FedRawDataInputSource.cc.
References assert(), bufferPosition_, chunkPosition_, chunks_, currentChunk_, findQualityFiles::size, and edm::size_().
Referenced by FedRawDataInputSource::getNextEvent().
|
inline |
Definition at line 1333 of file FedRawDataInputSource.cc.
References bufferPosition_, chunkPosition_, and findQualityFiles::size.
Referenced by FedRawDataInputSource::getNextEvent().
|
inline |
Definition at line 246 of file FedRawDataInputSource.h.
References chunks_.
Referenced by advance(), and FedRawDataInputSource::getNextEvent().
uint32_t InputFile::bufferPosition_ = 0 |
Definition at line 225 of file FedRawDataInputSource.h.
Referenced by advance(), FedRawDataInputSource::getNextEvent(), moveToPreviousChunk(), and rewindChunk().
uint32_t InputFile::chunkPosition_ = 0 |
Definition at line 226 of file FedRawDataInputSource.h.
Referenced by advance(), FedRawDataInputSource::getNextEvent(), moveToPreviousChunk(), FedRawDataInputSource::readNextChunkIntoBuffer(), and rewindChunk().
tbb::concurrent_vector<InputChunk*> InputFile::chunks_ |
Definition at line 223 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 227 of file FedRawDataInputSource.h.
Referenced by advance(), FedRawDataInputSource::getNextEvent(), moveToPreviousChunk(), and FedRawDataInputSource::read().
std::string InputFile::fileName_ |
Definition at line 217 of file FedRawDataInputSource.h.
Referenced by FedRawDataInputSource::getNextEvent(), FedRawDataInputSource::readNextChunkIntoBuffer(), and FedRawDataInputSource::readWorker().
uint32_t InputFile::fileSize_ |
Definition at line 218 of file FedRawDataInputSource.h.
Referenced by FedRawDataInputSource::getNextEvent(), and FedRawDataInputSource::readNextChunkIntoBuffer().
unsigned int InputFile::lumi_ |
Definition at line 216 of file FedRawDataInputSource.h.
Referenced by FedRawDataInputSource::getNextEvent().
uint32_t InputFile::nChunks_ |
Definition at line 219 of file FedRawDataInputSource.h.
Referenced by FedRawDataInputSource::getNextEvent().
int InputFile::nEvents_ |
Definition at line 220 of file FedRawDataInputSource.h.
Referenced by FedRawDataInputSource::getNextEvent().
unsigned int InputFile::nProcessed_ |
Definition at line 221 of file FedRawDataInputSource.h.
Referenced by FedRawDataInputSource::getNextEvent(), and FedRawDataInputSource::read().
FedRawDataInputSource* InputFile::parent_ |
Definition at line 214 of file FedRawDataInputSource.h.
Referenced by advance(), and FedRawDataInputSource::getNextEvent().
evf::EvFDaqDirector::FileStatus InputFile::status_ |
Definition at line 215 of file FedRawDataInputSource.h.
Referenced by FedRawDataInputSource::getNextEvent().