|
GRUTinizer
|
#include <TRawEventFileSource.h>
Public Member Functions | |
| TRawEventFileSource (const std::string &filename, kFileType file_type) | |
| ~TRawEventFileSource () | |
| virtual int | ReadBytes (char *buf, size_t size) |
Given a buffer, fill the buffer with at most size bytes. | |
| virtual std::string | SourceDescription () const |
Public Member Functions inherited from TRawEventByteSource | |
| TRawEventByteSource (kFileType file_type) | |
| virtual std::string | Status () const |
| kFileType | GetFileType () const |
| long | GetFileSize () const |
Public Member Functions inherited from TRawEventSource | |
| TRawEventSource () | |
| virtual | ~TRawEventSource () |
| int | Read (TRawEvent &event) |
| Reads the next event. | |
| int | Read (TRawEvent *event) |
| virtual int | GetLastErrno () const |
| virtual std::string | GetLastError () const |
| bool | IsFinished () const |
| size_t | GetBytesGiven () const |
| double | GetAverageRate () const |
Private Member Functions | |
| ClassDef (TRawEventFileSource, 0) | |
Private Attributes | |
| std::string | fFilename |
| FILE * | fFile |
Additional Inherited Members | |
Static Public Member Functions inherited from TRawEventSource | |
| static TRawEventSource * | EventSource (const char *filename, bool is_online=false, bool is_ring=false, kFileType file_type=DefaultFileType()) |
Protected Member Functions inherited from TRawEventByteSource | |
| void | SetFileSize (long file_size) |
| TRawEventFileSource::TRawEventFileSource | ( | const std::string & | filename, |
| kFileType | file_type | ||
| ) |
| TRawEventFileSource::~TRawEventFileSource | ( | ) |
|
private |
|
virtual |
Given a buffer, fill the buffer with at most size bytes.
| buf | The buffer to be filled. |
| size | The maximum number of bytes to be read. |
Implements TRawEventByteSource.
|
virtual |
Implements TRawEventSource.
|
private |
|
private |
1.8.1.2