1 #ifndef EUDAQ_INCLUDED_FileReader
2 #define EUDAQ_INCLUDED_FileReader
4 #include "eudaq/FileSerializer.hh"
5 #include "eudaq/DetectorEvent.hh"
6 #include "eudaq/StandardEvent.hh"
17 const std::string &filepattern =
"");
20 bool NextEvent(
size_t skip = 0);
21 std::string Filename()
const {
return m_filename; }
22 unsigned RunNumber()
const;
25 return GetDetectorEvent();
29 std::shared_ptr<eudaq::DetectorEvent> GetDetectorEvent_ptr() {
32 void Interrupt() { m_des.Interrupt(); }
35 std::string m_filename;
37 std::shared_ptr<eudaq::Event> m_ev;
42 #endif // EUDAQ_INCLUDED_FileReader
Definition: FileSerializer.hh:25
Definition: StandardEvent.hh:128
Definition: DetectorEvent.hh:12
Definition: FileReader.hh:14