Looking at jgma's FMS Simulation program from last year

 

The following information has been found in jgma's working area on RCAS in the directory

  /star/u/jgma/psudisk/sim/fpdsim6

1. Run.sh

  - script to call runpythia.C and starsim in that order

  - takes two arguments (i. #runnumber, and ii. $outdir)

  - the number of entries in calling runpythia.C can be set in the script

  a) runpythia.C

    - creates ntuple output files named evgen.#runnumber.nt in the $outdir folder

    - there is a switch that can be turned on/off in the script to create ROOT output files too

  b) starsim

    - starsim is called using various arguments as necessary, including the fms.kumac file and the ntuple file created earlier by running runpythia.C

    - fpd++sim_pythia#runnumber.rzd file is created in $outdir

  c) h2root is then called with the .rzd file as an argument to convert the rzd file to a ROOT file.

  d) then, SimRecon.C is called to create the OFiles as

      root4star -b -q 'SimRecon.C(#runnumber, $outdir)'

I have tried each of these steps and each seems to work fine as they are. I created a folder sim/fpdsim6 in my home folder and was able to run runpythia, starsim, and SimRecon with similar syntax in Run.sh from there; you may have to compile/(properly load) StPythiaEvent.