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