Go to the documentation of this file. 1 #ifndef EventFilter_Utilities_FedRawDataInputSource_h
2 #define EventFilter_Utilities_FedRawDataInputSource_h
7 #include <condition_variable>
9 #include "tbb/concurrent_queue.h"
10 #include "tbb/concurrent_vector.h"
12 #include "boost/filesystem.hpp"
26 class InputSourceDescription;
142 tbb::concurrent_queue<std::unique_ptr<InputFile>>
fileQueue_;
191 void reset(
unsigned int newOffset,
unsigned int toRead,
unsigned int fileIndex) {
221 unsigned int lumi = 0,
223 bool deleteFile =
true,
226 uint16_t rawHeaderSize = 0,
227 uint32_t nChunks = 0,
241 for (
unsigned int i = 0;
i < nChunks;
i++)
250 return chunks_[chunkid] !=
nullptr &&
chunks_[chunkid]->readComplete_;
252 bool advance(
unsigned char*& dataPosition,
const size_t size);
257 #endif // EventFilter_Utilities_FedRawDataInputSource_h
static boost::mutex mutex
unsigned long long uint64_t