#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 201 of file FedRawDataInputSource.h.
|
inline |
InputFile::~InputFile | ( | ) |
Definition at line 1378 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 246 of file FedRawDataInputSource.h.
|
inline |
Definition at line 1329 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 1364 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 1373 of file FedRawDataInputSource.cc.
References bufferPosition_, chunkPosition_, and findQualityFiles::size.
|
inline |
uint32_t InputFile::bufferPosition_ = 0 |
Definition at line 216 of file FedRawDataInputSource.h.
Referenced by advance(), moveToPreviousChunk(), and rewindChunk().
uint32_t InputFile::chunkPosition_ = 0 |
Definition at line 217 of file FedRawDataInputSource.h.
Referenced by advance(), moveToPreviousChunk(), and rewindChunk().
tbb::concurrent_vector<InputChunk*> InputFile::chunks_ |
Definition at line 214 of file FedRawDataInputSource.h.
Referenced by advance(), InputFile(), moveToPreviousChunk(), and waitForChunk().
unsigned int InputFile::currentChunk_ = 0 |
Definition at line 218 of file FedRawDataInputSource.h.
Referenced by advance(), and moveToPreviousChunk().
bool InputFile::deleteFile_ |
Definition at line 206 of file FedRawDataInputSource.h.
Referenced by ~InputFile().
std::string InputFile::fileName_ |
Definition at line 205 of file FedRawDataInputSource.h.
Referenced by ~InputFile().
uint64_t InputFile::fileSize_ |
Definition at line 208 of file FedRawDataInputSource.h.
unsigned int InputFile::lumi_ |
Definition at line 204 of file FedRawDataInputSource.h.
uint32_t InputFile::nChunks_ |
Definition at line 210 of file FedRawDataInputSource.h.
int InputFile::nEvents_ |
Definition at line 211 of file FedRawDataInputSource.h.
unsigned int InputFile::nProcessed_ |
Definition at line 212 of file FedRawDataInputSource.h.
FedRawDataInputSource* InputFile::parent_ |
Definition at line 202 of file FedRawDataInputSource.h.
Referenced by advance().
int InputFile::rawFd_ |
Definition at line 207 of file FedRawDataInputSource.h.
Referenced by ~InputFile().
uint16_t InputFile::rawHeaderSize_ |
Definition at line 209 of file FedRawDataInputSource.h.
evf::EvFDaqDirector::FileStatus InputFile::status_ |
Definition at line 203 of file FedRawDataInputSource.h.