1 #ifndef EventFilter_Utilities_DAQSourceModels_h 2 #define EventFilter_Utilities_DAQSourceModels_h 4 #include <condition_variable> 11 #include "tbb/concurrent_queue.h" 12 #include "tbb/concurrent_vector.h" 39 virtual void detectVersion(
unsigned char* fileBuf, uint32_t fileHeaderOffset) = 0;
45 std::vector<uint64_t>
const& fileSizes,
46 size_t fileHeaderSize) = 0;
51 virtual uint32_t
run()
const = 0;
72 #endif // EventFilter_Utilities_DAQSourceModels_h
virtual uint32_t run() const =0
virtual bool checksumValid()=0
virtual bool dataBlockInitialized() const =0
virtual std::string getChecksumError() const =0
virtual ~DataMode()=default
virtual bool isMultiDir()
virtual bool versionCheck() const =0
virtual std::vector< std::shared_ptr< const edm::DaqProvenanceHelper > > & makeDaqProvenanceHelpers()=0
virtual void setTCDSSearchRange(uint16_t, uint16_t)=0
void setTesting(bool testing)
virtual uint64_t dataBlockSize() const =0
virtual void detectVersion(unsigned char *fileBuf, uint32_t fileHeaderOffset)=0
virtual void makeDirectoryEntries(std::vector< std::string > const &baseDirs, std::string const &runDir)=0
virtual std::pair< bool, std::vector< std::string > > defineAdditionalFiles(std::string const &primaryName, bool fileListMode) const =0
virtual void makeDataBlockView(unsigned char *addr, size_t maxSize, std::vector< uint64_t > const &fileSizes, size_t fileHeaderSize)=0
virtual void setDataBlockInitialized(bool)=0
virtual void readEvent(edm::EventPrincipal &eventPrincipal)=0
virtual int dataVersion() const =0
unsigned long long uint64_t
virtual bool requireHeader() const =0
DataMode(DAQSource *daqSource)
virtual uint32_t headerSize() const =0
virtual bool fitToBuffer() const =0
virtual bool isRealData() const =0
virtual bool dataBlockCompleted() const =0
virtual bool nextEventView()=0