...
No Format |
---|
# we assume you are in bash
export PATH=/afs/cern.ch/sw/lcg/contrib/gcc/4.5.2/x86_64-slc5/bin:${PATH}
export LD_LIBRARY_PATH=/afs/cern.ch/sw/lcg/contrib/gcc/4.5.2/x86_64-slc5/lib64:${LD_LIBRARY_PATH}
export PATH=/afs/cern.ch/user/j/jfstrube/public/PYTHON/bin:${PATH}
export PATH=/afs/cern.ch/user/j/jfstrube/public/Ocaml-3.12.1/bin:/afs/cern.ch/user/j/jfstrube/public/Whizard-2.0.6/bin:${PATH}
export LD_LIBRARY_PATH=/afs/cern.ch/user/j/jfstrube/public/Ocaml-3.12.1/lib:${LD_LIBRARY_PATH}
|
...
- obtain a list of the subdirectories
- in each of the subdirectories, look for a
.txt
file with the same name as the directory - for each of the given energies, create the Whizard {
.sin
file from the.txt
file - call Whizard on this file
- parse the resulting log file and remember the result
- rename the logfile, so that it ends with the energy at which the cross-section was computed
- move to the next directory
- at the end print the output on the screen and write to file
...