Script which creates a custom setup file
Script which asks user a series of questions which detectors to include and generates a user specified setup script. For detector systems on rails, i.e. the trd, tof and psd, the script automatically shifts the detector to any desired placement along the beam axis and, in regards to the psd, additionally in the horizontal and rotation round its vertical axis. The user is prompted by recommended placement ranges. The script doesn't not modify existing geometries but creates new geometries with the auto tag which are overwritten on each subsequent run.
With a user flag "-u" the script modifies the run_transport.C and run_reco.C scripts to new custom file allowing running of the full chain. Linking of parameter files has been included. This script was created for the management of geometries and should be treated with caution for use in simulation.