#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(), bool deleteFile=true, int rawFd=-1, uint64_t fileSize=0, uint16_t rawHeaderSize=0, uint32_t nChunks=0, 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) |
~InputFile () | |
Public Attributes | |
uint32_t | bufferPosition_ = 0 |
uint32_t | chunkPosition_ = 0 |
tbb::concurrent_vector< InputChunk * > | chunks_ |
unsigned int | currentChunk_ = 0 |
bool | deleteFile_ |
std::string | fileName_ |
uint64_t | fileSize_ |
unsigned int | lumi_ |
uint32_t | nChunks_ |
int | nEvents_ |
unsigned int | nProcessed_ |
FedRawDataInputSource * | parent_ |
int | rawFd_ |
uint16_t | rawHeaderSize_ |
evf::EvFDaqDirector::FileStatus | status_ |
Definition at line 206 of file FedRawDataInputSource.h.
|
inline |
InputFile::~InputFile | ( | ) |
Definition at line 1405 of file FedRawDataInputSource.cc.
References deleteFile_, cppFunctionSkipper::exception, fileName_, dt4ml_dqm_sourceclient-live_cfg::filePath, LogDebug, castor_dqm_sourceclient_file_cfg::path, rawFd_, and MatrixUtil::remove().
|
inline |
Definition at line 251 of file FedRawDataInputSource.h.
|
inline |
Definition at line 1356 of file FedRawDataInputSource.cc.
References cms::cuda::assert(), bufferPosition_, chunkPosition_, chunks_, currentChunk_, FedRawDataInputSource::exceptionState(), parent_, findQualityFiles::size, FedRawDataInputSource::threadError(), and waitForChunk().
|
inline |
Definition at line 1391 of file FedRawDataInputSource.cc.
References cms::cuda::assert(), bufferPosition_, chunkPosition_, chunks_, currentChunk_, hltrates_dqm_sourceclient-live_cfg::offset, and findQualityFiles::size.
|
inline |
Definition at line 1400 of file FedRawDataInputSource.cc.
References bufferPosition_, chunkPosition_, and findQualityFiles::size.
|
inline |
uint32_t InputFile::bufferPosition_ = 0 |
Definition at line 221 of file FedRawDataInputSource.h.
Referenced by advance(), moveToPreviousChunk(), and rewindChunk().
uint32_t InputFile::chunkPosition_ = 0 |
Definition at line 222 of file FedRawDataInputSource.h.
Referenced by advance(), moveToPreviousChunk(), and rewindChunk().
tbb::concurrent_vector<InputChunk*> InputFile::chunks_ |
Definition at line 219 of file FedRawDataInputSource.h.
Referenced by advance(), InputFile(), moveToPreviousChunk(), and waitForChunk().
unsigned int InputFile::currentChunk_ = 0 |
Definition at line 223 of file FedRawDataInputSource.h.
Referenced by advance(), and moveToPreviousChunk().
bool InputFile::deleteFile_ |
Definition at line 211 of file FedRawDataInputSource.h.
Referenced by ~InputFile().
std::string InputFile::fileName_ |
Definition at line 210 of file FedRawDataInputSource.h.
Referenced by ~InputFile().
uint64_t InputFile::fileSize_ |
Definition at line 213 of file FedRawDataInputSource.h.
unsigned int InputFile::lumi_ |
Definition at line 209 of file FedRawDataInputSource.h.
uint32_t InputFile::nChunks_ |
Definition at line 215 of file FedRawDataInputSource.h.
int InputFile::nEvents_ |
Definition at line 216 of file FedRawDataInputSource.h.
unsigned int InputFile::nProcessed_ |
Definition at line 217 of file FedRawDataInputSource.h.
FedRawDataInputSource* InputFile::parent_ |
Definition at line 207 of file FedRawDataInputSource.h.
Referenced by advance().
int InputFile::rawFd_ |
Definition at line 212 of file FedRawDataInputSource.h.
Referenced by ~InputFile().
uint16_t InputFile::rawHeaderSize_ |
Definition at line 214 of file FedRawDataInputSource.h.
evf::EvFDaqDirector::FileStatus InputFile::status_ |
Definition at line 208 of file FedRawDataInputSource.h.