Stores the raw data buffer onto disk in gzip'ped format. More...
#include <RawWriter.hh>
Public Member Functions | |
| int | Initialize () |
| Initialize the module before starting a run. Return 0 if no error. | |
| int | Process (EventPtr event) |
| Process a single event. Must be overridden. Return 0 if no error. | |
| int | Finalize () |
| Finalize state after a run has processed. Return 0 if no error. | |
| const std::string & | GetFilename () |
| Get the name of the output file. | |
| int | GetCompressionLevel () |
| Get the level of gzip compression being used. | |
| bool | IsOK () |
| Check the status of the output file. | |
| long long | GetBytesWritten () |
| Get the total number of uncompressed bytes written so far. | |
| std::string | GetDefaultFilename () const |
| Get the default filename. | |
| std::string | GetFilename () const |
| void | SetFilename (const std::string &name) |
| void | SetSaveConfig (bool save) |
| bool | GetSaveConfig () |
Static Public Member Functions | |
| static const std::string | GetDefaultName () |
Private Member Functions | |
| void | SaveConfigFile () |
| Save config file to go with raw data. | |
| int | OpenNewFile () |
| int | CloseCurrentFile () |
Private Attributes | |
| std::string | _filename |
| std::string | _directory |
| bool | _create_directory |
| std::string | _autonamebase |
| int | _compression |
| bool | _save_config |
| std::ofstream | _fout |
| std::ofstream | _logout |
| void * | _log_messenger |
| bool | _ok |
| long long | _bytes_written |
| uint32_t | _max_file_size |
| int | _max_event_in_file |
| Reader::global_header | _ghead |
Stores the raw data buffer onto disk in gzip'ped format.
Definition at line 19 of file RawWriter.hh.
1.6.1