- Timestamp:
- Sep 30, 2016, 2:43:39 PM (8 years ago)
- Branches:
- ImprovedOutputFile, Timing, dual_readout, llp, master
- Children:
- 13cb1b6
- Parents:
- 4d128b9
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
examples/validation.sh
r4d128b9 rd3fb80d 43 43 outpdf=$mainoutputdir/${output%.*}.pdf 44 44 45 46 45 mkdir -p $outputroot 47 46 mkdir -p $mainoutputdir/www/fig … … 72 71 ./Validation $outputroot/particleGun_pion_$cardlabel.root $outputroot/particleGun_electron_$cardlabel.root $outputroot/particleGun_muon_$cardlabel.root $outputroot/particleGun_photon_$cardlabel.root $outputroot/particleGun_neutron_$cardlabel.root $outputroot/particleGun_jet_$cardlabel.root $outputroot/particleGun_bjet_$cardlabel.root $outputroot/particleGun_cjet_$cardlabel.root $outputroot/particleGun_taujet_$cardlabel.root $mainoutputdir/$output $version 73 72 74 echo $outpdf 75 if grep -q SimpleCalorimeter "$1"; then 76 ./CaloGrid $1 ECal 77 ./CaloGrid $1 HCal 78 gs -dBATCH -dNOPAUSE -q -sDEVICE=pdfwrite -sOutputFile=tmp/tmp1.pdf $outpdf ECal.pdf 79 gs -dBATCH -dNOPAUSE -q -sDEVICE=pdfwrite -sOutputFile=$outpdf tmp/tmp1.pdf HCal.pdf 80 mv ECal.pdf $mainoutputdir/www/fig/img_ecal.pdf 81 mv ECal.png $mainoutputdir/www/fig/img_ecal.png 82 mv HCal.pdf $mainoutputdir/www/fig/img_hcal.pdf 83 mv HCal.png $mainoutputdir/www/fig/img_hcal.png 84 else 85 ./CaloGrid $1 Calorimeter 86 gs -dBATCH -dNOPAUSE -q -sDEVICE=pdfwrite -sOutputFile=tmp/tmp1.pdf $outpdf Calorimeter.pdf 87 mv Calorimeter.pdf $mainoutputdir/www/fig/img_ecal.pdf 88 mv Calorimeter.png $mainoutputdir/www/fig/img_ecal.png 89 fi 73 74 # produce calo grid plots 75 ./CaloGrid $1 ECal 76 ./CaloGrid $1 HCal 77 gs -dBATCH -dNOPAUSE -q -sDEVICE=pdfwrite -sOutputFile=tmp/tmp1.pdf $outpdf ECal.pdf 78 gs -dBATCH -dNOPAUSE -q -sDEVICE=pdfwrite -sOutputFile=$outpdf tmp/tmp1.pdf HCal.pdf 79 mv ECal.pdf $mainoutputdir/www/fig/img_ecal.pdf 80 mv ECal.png $mainoutputdir/www/fig/img_ecal.png 81 mv HCal.pdf $mainoutputdir/www/fig/img_hcal.pdf 82 mv HCal.png $mainoutputdir/www/fig/img_hcal.png 90 83 91 84
Note:
See TracChangeset
for help on using the changeset viewer.