1 #ifndef _io_RadioFileAERAroot_h_
2 #define _io_RadioFileAERAroot_h_
5 #include <io/VROOTFile.h>
6 #include <RadioFileIO.h>
27 {
Open(filename, mode,
b); }
33 void Close()
override;
Status Read(evt::Event &event) override
read current event advance cursor by 1
Mode
Available open modes.
void Open(const std::string &filename, const Mode mode=eRead, utl::Branch *const b=nullptr) override
int GetNEvents() override
Class representing a document branch.
Status
Return code for seek operation.
void Write(const evt::Event &event) override
virtual ~RadioFileAERAroot()=default
RadioFileAERAroot(const std::string &filename, const Mode mode=eRead, utl::Branch *const b=nullptr)
Status GotoPosition(const unsigned int position) override
goto by position in the file
Status FindEvent(const unsigned int eventId) override
seek Event id set cursor there
RadioFileIO * fRadioFileIO
RadioFileAERAroot()=default
std::string fSourceFileName