1 #ifndef EventFilter_Utilities_FedRawDataInputSource_h 2 #define EventFilter_Utilities_FedRawDataInputSource_h 4 #include <condition_variable> 11 #include "oneapi/tbb/concurrent_queue.h" 12 #include "oneapi/tbb/concurrent_vector.h" 27 class InputSourceDescription;
35 namespace FastMonState {
152 tbb::concurrent_queue<std::unique_ptr<InputFile>>
fileQueue_;
155 std::vector<std::unique_ptr<std::condition_variable>>
cvReader_;
200 void reset(
unsigned int newOffset,
unsigned int toRead,
unsigned int fileIndex) {
230 unsigned int lumi = 0,
232 bool deleteFile =
true,
235 uint16_t rawHeaderSize = 0,
236 uint32_t nChunks = 0,
250 for (
unsigned int i = 0;
i < nChunks;
i++)
259 return chunks_[chunkid] !=
nullptr &&
chunks_[chunkid]->readComplete_;
261 bool advance(
unsigned char*& dataPosition,
const size_t size);
268 #endif // EventFilter_Utilities_FedRawDataInputSource_h
unsigned long long uint64_t