23 |
|
|
24 |
|
function produce_all_plots { |
25 |
|
directory=$1 |
26 |
< |
cp ../Limits/PlotScanResults.exec . |
27 |
< |
./PlotScanResults.exec $directory |
28 |
< |
rm ../Limits/PlotScanResults.exec |
29 |
< |
rm LOGerr.txt |
30 |
< |
rm Tex.txt |
31 |
< |
rm LOG.txt |
26 |
> |
|
27 |
> |
## delete previous executable so everything's up-to-date |
28 |
> |
clean_file "PlotScanResults.C" |
29 |
> |
|
30 |
> |
cp ../Limits/PlotScanResults.C . |
31 |
> |
g++ PlotScanResults.C -o PlotScanResults.exec `root-config --glibs --cflags` -lTreePlayer |
32 |
> |
clean_file "PlotScanResults.C" |
33 |
> |
echo "Compiled script to produce Going to produce plots now" |
34 |
> |
PlotScanResults.exec $directory |
35 |
> |
clean_file "LOGerr.txt" |
36 |
> |
clean_file "Tex.txt" |
37 |
> |
clean_file "LOG.txt" |
38 |
|
echo "All plots have been generated. That's all, now have a look at the results :-)" |
39 |
|
} |
40 |
|
|
159 |
|
python utils/fusejobs.py -d ${name} |
160 |
|
rm -r Plots/ |
161 |
|
source /swshare/ROOT/thisroot.sh |
162 |
< |
produce_all_plots "/scratch/`whoami`/bussolaresults/${name}.root" |
162 |
> |
|
163 |
|
rm -r Plots_${name}/ |
164 |
+ |
rm -r Plots/ |
165 |
+ |
produce_all_plots "/scratch/`whoami`/bussolaresults/${name}.root" |
166 |
|
mv Plots/ Plots_${name}/ |
167 |
|
mail_all_plots Plots_${name} |
168 |
|
echo "Done. Your results are in Plots_${name}/ :-)" |