You can use the C open/write/close statements.
This is in general machine dependent and also depends
if you want to write small (< 2 GBytes) or large files.
See examples in ROOT class TFile
http://root.cern.ch/root/htmldoc//src/TFile.cxx.html
eg in TFile::Open see the statements
// Connect to file system stream
if (create || update) {
.....
Look also at the bottom of the page at static functions TFile::SysOpen, SysClose, SysWrite
Rene Brun
On Tue, 15 Nov
2005,
Sonal
Ambwani wrote:
> Hello!
>
> I have a rather small question...could anyone tell me how to write a
> binary data file in a root macro? I am trying to convert histogram to
> listmode format.
>
> Thanks,
> Sonal
>
>
> ---------------------------------------
>
Received on Tue Nov 15 2005 - 23:30:29 MET
This archive was generated by hypermail 2.2.0 : Tue Jan 02 2007 - 14:45:13 MET