previous next Up Title Contents Index

Data file format

SusiQ allows to record data in a binary format while acquiring them ( see [F] ...TAP). Later data replay will be possible using the same software package (see [F] replay). The events are stored with a particular format which is described here below. The actual file structure is established during creation of the data file previous the beginning of run. The file is written in 'BINARY' format from the MicroSoft FORTRAN. The block size is 2048*4 bytes per block. open ( unit=tape_dev, ! device unit file=tape_file, ! file name mode='WRITE', ! access mode blocksize=block_max, ! block size set to 2048*4 bytes form='BINARY', ! record format type status='NEW', ! creation of new file err=xx) ! error handling
data file format
run_#
1st evt# of buf
format type
ver_#
#n of evt in buffer
event length (n)
evt1[1]
evt1[2]
...
evt1[n]
evt2[1]
evt2[2]
...
evt_last[1]
evt_last[2]
...
evt_last[n]
padding to 2048


previous next Up Title Contents Index