1 #ifndef EventFilter_Utilities_FedRawDataInputSource_h 2 #define EventFilter_Utilities_FedRawDataInputSource_h 4 #include <condition_variable> 13 #include "oneapi/tbb/concurrent_queue.h" 14 #include "oneapi/tbb/concurrent_vector.h" 29 class InputSourceDescription;
37 namespace FastMonState {
154 tbb::concurrent_queue<std::unique_ptr<InputFile>>
fileQueue_;
157 std::vector<std::unique_ptr<std::condition_variable>>
cvReader_;
212 if (
size_ < wantedSize) {
251 unsigned int lumi = 0,
253 bool deleteFile =
true,
256 uint16_t rawHeaderSize = 0,
257 uint16_t nChunks = 0,
278 for (
unsigned int i = 0;
i < nChunks;
i++)
304 return chunks_[chunkid] !=
nullptr &&
chunks_[chunkid]->readComplete_;
306 bool advance(
unsigned char*& dataPosition,
const size_t size);
317 #endif // EventFilter_Utilities_FedRawDataInputSource_h
unsigned long long uint64_t
bidiiter shuffle(bidiiter begin, bidiiter end, size_t num_random)