Instructions to Run the Program
chmod +x fetch_template.csh
fetch_template.csh
(this will produce a copy of all the routines and files you need
into your fnalu area)
(this expand the .mnf and .sf files into fortran files and then
compiles them into objects which are finally linked)
e831job.run
This way you will run the program with the defaults usr... routines,
and you will produce a standard set of histograms to check that
everything is working.
integer skmevnt
common /drvskim/ skmevnt
Writing to multiple output streams is almost as easy as writing to a single
stream. Currently we support up to 16 output streams.
In addition to the above instructions, you must:
$$include 'ioparam.inc'
In your namelist file e831job.nam:
$FILES
filelist(1)='/balena/file_01.dat'
filelist(2)='/balena/file_02.dat'
filelist(3)='/balena/file_03.dat'
$END
$$include 'usrout.inc'
Set the variables stream(1:nostream) to the stream numbers
you want to write to.
For instance, say you have five streams total and the current event
has to go to streams 1, 3, and 5:
  nostream=3
  stream(1)=1
  stream(2)=3
  stream(3)=5
  skmevnt=1
(the variable nostream is automatically reset to 1 and stream(1) is
also automatcally set to 1 by the main
program every time a new event is read from the input stream). In
other words the program returns to the default mode of operation after
each event.
In your running script e831job.run, assign to ITAPE the remainig part of the
full file name: