8 #ifndef GET_RUN_FILE_HH
9 #define GET_RUN_FILE_HH
48 GETRunFile (
const string & fname =
"",
bool open =
true );
55 virtual int Open (
const string & fname );
58 virtual int Close ( );
59 virtual bool IsOpen ( )
const;
62 virtual bool AtEnd ( )
const;
GETRunFile(const string &fname="", bool open=true)
Definition: GETRunFile.cpp:18
int GetFileLun() const
Definition: GETRunFile.icc:34
u_int file_event_count
Number of events in the file.
Definition: GETRunFile.hh:42
string run_file_name
Name of the experimental data file.
Definition: GETRunFile.hh:40
virtual bool AtEnd() const
Definition: GETRunFile.icc:26
virtual int Close()
Definition: GETRunFile.cpp:89
Definition: GETRunFile.hh:29
virtual bool IsOpen() const
Definition: GETRunFile.icc:38
const string & GetFileName() const
Definition: GETRunFile.icc:44
FILE * run_file_ptr
Pointer to experimental data file.
Definition: GETRunFile.hh:39
virtual void EventCountIncr()
Definition: GETRunFile.icc:58
FILE * GetFilePtr()
Definition: GETRunFile.icc:52
virtual int OpenNext()
Definition: GETRunFile.icc:20
virtual ~GETRunFile()
Definition: GETRunFile.cpp:32
virtual int SetFileName(const string &fname)
Definition: GETRunFile.cpp:118
virtual int Open()
Definition: GETRunFile.icc:11
int GetFileEventCount() const
Definition: GETRunFile.icc:62