/** Implementation file to open a Radio format data file on disk \author Julian Rautenberg \date Aug 2007 \version $id: $ */ #ifndef _io_RadioFileSTAR_h_ #define _io_RadioFileSTAR_h_ #include #include static const char CvsId_io_RadioFileSTAR[] = "$Id$"; namespace io { class RadioFileSTAR : public VROOTFile { public: RadioFileSTAR(); RadioFileSTAR(const std::string& theFilename, const Mode theMode = eRead); virtual ~RadioFileSTAR(); void Open(const std::string& theFilename, const Mode theMode = eRead); void Close(); void Print(){fFile->Print();}; Status Read(evt::Event& theEvent); void Write(const evt::Event& theEvent); Status FileStatus(); Status FindEvent(const unsigned int eventId); Status GotoPosition(const unsigned int position); int GetNEvents(); private: int fCurrentEvent; }; } #endif // Configure (x)emacs for this file ... // Local Variables: // mode: c++ // compile-command: "make -C .. -k" // End: