8 #define IO_LCWRITER_H 1
82 virtual void close() = 0;
88 virtual void flush() = 0;
virtual void setCompressionLevel(int level)=0
Set the compression level - needs to be called before open() otherwise call will have no effect...
virtual ~LCWriter()
Destructor.
virtual void close()=0
Closes the output file/stream.
virtual void writeEvent(const EVENT::LCEvent *evt)=0
Writes the given event to file.
virtual void open(const std::string &filename)=0
Opens a file for writing.
virtual void flush()=0
Flushes the output file/stream.
The main event interface.
pair< int, string > level
Interface for writing data with LCIO.
virtual void writeRunHeader(const EVENT::LCRunHeader *hdr)=0
Writes the given run header to file.