We have provided with PGS the option to generate an interactive interface for running PGS in PYTHIA mode. It is optional, and the documentation on the PGS page shows you how to run PGS via the command line.
If you’d like to use the interactive interface, go the the PGS/ directory and type:
make olympics.sh
which will give you a shell script in this top directory called olympics.sh. It also changes the directory structure to more closely mirror that present in the previous Olympics. In particular, Pythia card files reside in the input/ directory and data and log files reside in the output/ directory.
You can run PGS in an interactive mode by typing:
./olympics.sh
This script takes up to two (optional) arguments:
./olympics.sh zprime nev=100
The first argument is the file stem for the pythia card file. In the above example, the argument “zprime” means that PGS will use the input card input/zprime.pyt. The second argument sets the number of events. Alternately, you can type:
./olympics.sh zprime lum=100
Which will generate the number of events corresponding to 100 pb-1 of data. By default, running PGS in this way will use the Level 2 PGS triggers, which are the default for generating the signal + background blackboxes.
If one wishes to use a different trigger set from the default Level 2 triggers, this can be accomplished by modifying the last line of the olympics.sh file in the PGS/ root directory.
The current last line of olympics.sh is:
./olympics PYTHIA $num $printtype L2 1 ../input/$filename.pyt ../output/$filename.lhco ../output/$filename.log
To use the Level 1 PGS triggers which are used for the signal only blackboxes, change L2 to L1. To implement no triggers beyond the PGS defaults, use L0.