#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) |
void | unsetDeleteFile () |
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 211 of file FedRawDataInputSource.h.
|
inline |
Definition at line 230 of file FedRawDataInputSource.h.
References chunks_, and mps_fire::i.
InputFile::~InputFile | ( | ) |
Definition at line 1469 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 256 of file FedRawDataInputSource.h.
|
inline |
Definition at line 1415 of file FedRawDataInputSource.cc.
References cms::cuda::assert(), bufferPosition_, chunkPosition_, chunks_, currentChunk_, FedRawDataInputSource::exceptionState(), evf::FastMonState::inChunkReceived, evf::FastMonState::inWaitChunk, parent_, FedRawDataInputSource::setMonState(), findQualityFiles::size, FedRawDataInputSource::threadError(), and waitForChunk().
|
inline |
Definition at line 1455 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 1464 of file FedRawDataInputSource.cc.
References bufferPosition_, chunkPosition_, and findQualityFiles::size.
|
inline |
|
inline |
Definition at line 258 of file FedRawDataInputSource.h.
References chunks_.
Referenced by advance().
uint32_t InputFile::bufferPosition_ = 0 |
Definition at line 226 of file FedRawDataInputSource.h.
Referenced by advance(), moveToPreviousChunk(), and rewindChunk().
uint32_t InputFile::chunkPosition_ = 0 |
Definition at line 227 of file FedRawDataInputSource.h.
Referenced by advance(), moveToPreviousChunk(), and rewindChunk().
tbb::concurrent_vector<InputChunk*> InputFile::chunks_ |
Definition at line 224 of file FedRawDataInputSource.h.
Referenced by advance(), InputFile(), moveToPreviousChunk(), and waitForChunk().
unsigned int InputFile::currentChunk_ = 0 |
Definition at line 228 of file FedRawDataInputSource.h.
Referenced by advance(), and moveToPreviousChunk().
bool InputFile::deleteFile_ |
Definition at line 216 of file FedRawDataInputSource.h.
Referenced by unsetDeleteFile(), and ~InputFile().
std::string InputFile::fileName_ |
Definition at line 215 of file FedRawDataInputSource.h.
Referenced by ~InputFile().
uint64_t InputFile::fileSize_ |
Definition at line 218 of file FedRawDataInputSource.h.
unsigned int InputFile::lumi_ |
Definition at line 214 of file FedRawDataInputSource.h.
uint32_t InputFile::nChunks_ |
Definition at line 220 of file FedRawDataInputSource.h.
int InputFile::nEvents_ |
Definition at line 221 of file FedRawDataInputSource.h.
unsigned int InputFile::nProcessed_ |
Definition at line 222 of file FedRawDataInputSource.h.
FedRawDataInputSource* InputFile::parent_ |
Definition at line 212 of file FedRawDataInputSource.h.
Referenced by advance().
int InputFile::rawFd_ |
Definition at line 217 of file FedRawDataInputSource.h.
Referenced by ~InputFile().
uint16_t InputFile::rawHeaderSize_ |
Definition at line 219 of file FedRawDataInputSource.h.
evf::EvFDaqDirector::FileStatus InputFile::status_ |
Definition at line 213 of file FedRawDataInputSource.h.