program to read and write aleph data file
name: rwaldata
ALE:RWALDATA.EXE
usage:
read/write aleph data in native or epio format,
w/o selection of runs, classes, events.
- F.Ranjard - 920414
- cards file name : alpha.cards on ALWS
$ALPHACARDS on UNIX
- data cards : FILI, FILO, SRUN, SEVT, IRUN, CLAS, UNPK, COMP
READ another data cards file
FDBA read a data base file (not ADBSCONS)
FFMT read bank format file (not BANKALFMT)
DEBUG rec1 rec2 ! debug evt record# rec1 to
evt record# rec2,
slow control record# rec1 to
slow control rcord# rec2,
all run records.
for each of them print the sequential record#,
the evt# and run# if relevant,
the number of banks,
the record length.
- some examples:
* example #1
* Select class 16 events in the first 1000 event records
* write them onto DATA:P41283.EPIO
FILI 'AL$DATA:P0041283.EPIO'
FILO 'DATA:P41283_16.EPIO'
CLASS 16
NEVT 1000
ENDQ
* example #2
* concatenate SOR file, EOR file and triggers 9781 and 14196
* from run 41352.
* write the output file in EPIO format
FILI 'DISK$FALCON17:[RAW]R0041352.SOR | NATIVE'
FILI 'DISK$FALCON17:[RAW]R0041352.EOR | NATIVE'
FILI 'DISK$FALCON17:[RAW]R0041352.DAT | NATIVE'
FILO 'R0041352.EPIO'
SRUN 41352
SEVT 41352 9781 14196
ENDQ
Florence Ranjard
27 August 1996