Back to the top page
Back to the upper page
Function members
public
- TArtFileDataSource()
- ~TArtFileDataSource()
- int GetRunNumber()
- void SetRunNumber(int n)
- bool FileOpen(const char* sourceName)
- void Close()
- int Read(char *buf, const int &size, const int &offset)
- virtual void Seek(long offset, int origin)
private
- FILE *fFile;
- struct stat fFileStat
- int fRunNumber
Function documents
- bool FileOpen( const char* sourceName)
Open file defined by sourceName. After opening the file, identify file type. If the file type is RIDF, create TArtRIDF::Instance().
On the other hand, if the file type is RDF ( old data format in RIKEN), create TArtRDF::Instance().
- voidClose()
Close sourceFile, and assign kNOTEXIST to fFileStatus.
- int Read(char *buf,const int &size, const int &offset)
Read data from fFile. The data size is defined by size. And assign that buffer to buf.
ridf_comment structure
Last-modified: Mon, 31 Oct 2011 00:55:22 HAST (4885d)