Main INDEX
Monthly INDEX
PREV
NEXT
User name V. Sulkosky
Log entry time 19:09:08 on October 29, 2007
Entry number 210509
keyword=Online Replay Instructions
I have created a new script named: replay. You can find it in the
onlana directory for the CSR experiment. The script is user friendly
and can take zero or up to three arguments. Typing 'replay help'
displays the following usage summary:
------------------------------------------------------------------------
Usage:
'replay' or 'replay left' or 'replay Left'
-> replay for LHRS, user will be asked for the run number
'replay right' or 'replay Right'
-> replay for RHRS, user will be asked for the run number
replay help
-> prints this message
replay ####
-> replay run ####
replay #### #1
-> replay run ####, for #1 events
replay #### #1 #2
-> replay run ####, for #1 events with overwrite flag #2
with value 0 or 1
in all cases the user can choose to overwrite
the previous root file.
please communicate comments to vasulk@jlab.org
-------------------------------------------------------------------------
The three arguments are
1) run id info, which can take the following options:
'', 'left', 'Left', 'right', 'Right' or a run number
(without the qutoes of course).
2) The number of events to replay: any integer greater than 0 or -1 to
replay the all events.
3) overwrite flag: 0 or 1. '1' will overwrite the root file
if it already exists.
Running 'replay' with options left, Left, right or Right can also
be used with the second and third arguments.
Notes:
a) The macros replayRight.C and replayLeft.C, which are automatically run
by replay, also provide the user with the option to do either detector or
physics replay. After the replay has completed, the macro will
automatically display the histogram gui displaying the results.
b) The replay script will automatically run either replayLeft.C or
replayRight.C based the user specified run number:
replayLeft.C if run number < 20000
or
replayRight.C if run number > 20000.
A copy of this log entry has been emailed to: camsonne@jlab.org,choi@jlab.org,jpchen@jlab.org,yoomin@jlab.org,meziani@jlab.org,xyan@jlab.org