1 #ifndef _io_REASFile_h_
2 #define _io_REASFile_h_
4 #include <io/REASIOException.h>
5 #include <io/VEventFile.h>
16 namespace utl {
class Branch; }
20 class CorsikaShowerFile;
42 void Close()
override;
49 int ParseForREASFile(
const std::string& directory, std::string& ourFileName);
REASFile & operator=(const REASFile &)
Status FindEvent(const unsigned int eventId) override
seek Event id set cursor there
std::string fReasDirectory
Status GotoPosition(const unsigned int position) override
goto by position in the file
Mode
Available open modes.
unsigned int fCurrentPosition
Class representing a document branch.
Status
Return code for seek operation.
Status Read(evt::Event &event) override
read current event advance cursor by 1
int ParseForREASFile(const std::string &directory, std::string &ourFileName)
Read data from the output of CORSIKA.
std::string fOrigDirectory
int GetNEvents() override
void Open(const std::string &fileName, const Mode mode=eRead, utl::Branch *const b=nullptr) override
void Write(const evt::Event &event) override
std::vector< std::string > fBinFileList
Read REAS simulation output.
CorsikaShowerFile * fCorsikaShowerFile