'ln -s ~oscar/replay/SRC/engine_replay ~oscar/replay/replay'
Your environmental variable ENGINE_CONFIG_FILE tells replay what file (usually REPLAY.PARM) has the information about the input and output files to use. These can be overridden at the command line. You can set any CTP variable (i.e. anything in one of the fortran common blocks) at the command line in the following manner:
'replay ctp_variable_name={value}' (no spaces allowed before or after '=')
the following equivilences have been put in the code in order to make life easier for passing command line arguments:
grun == gen_run_number ;run number gstart == gen_run_starting_event ;starting physics event # gstop == gen_run_stopping_event ;# of physics events to analyze gtrig(1-4) == gen_run_enable(1-4);1=hms,2=sos,3=coin,4=ped triggers. ;gtrig1=0 disables hms triggers, ;gtrig1=1 enables triggers (enabled by default).In addition, kinematics, parameters, and run-time switches can be set at the command line. For example:
'replay grun=4000 gstart=3000 gstop=10000 gtrig2=0 hpcentral=1.5 hdebugdumptof=1'
will analyze run 4000, starting at PHYSICS event 3000, ending after 10000 ANALYZED events, with sos triggers ignored (but not coincidence). In addition, it will set the HMS central momentum (hpcentral) to 1.5 GeV, and turn on time of flight output (hdebugdumptof=1). Command line parameters override values read from the data file or parameter files.