diff --git a/include/FileIO/DYFileReader.h b/include/FileIO/DYFileReader.h index 2e4becf..2218722 100644 --- a/include/FileIO/DYFileReader.h +++ b/include/FileIO/DYFileReader.h @@ -85,10 +85,14 @@ namespace DaqGrimoire { const DYListEvent& GetCurrentEvent() const { - m_isHitUsed = true; return m_dataEvent; } + void SetHitUsed() + { + m_isHitUsed = true; + } + const bool IsOpen() const { return m_fileHandle == nullptr ? false : m_fileHandle->is_open(); } const bool IsEOF() const { return m_isEOF; }