Fork me on GitHub

Changeset d3fb80d in git


Ignore:
Timestamp:
Sep 30, 2016, 2:43:39 PM (8 years ago)
Author:
Michele Selvaggi <michele.selvaggi@…>
Branches:
ImprovedOutputFile, Timing, dual_readout, llp, master
Children:
13cb1b6
Parents:
4d128b9
Message:

removed now useless condition for non simple calorimeter

File:
1 edited

Legend:

Unmodified
Added
Removed
  • examples/validation.sh

    r4d128b9 rd3fb80d  
    4343outpdf=$mainoutputdir/${output%.*}.pdf
    4444
    45 
    4645mkdir -p $outputroot
    4746mkdir -p $mainoutputdir/www/fig
     
    7271./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
    7372
    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
     77gs -dBATCH -dNOPAUSE -q -sDEVICE=pdfwrite -sOutputFile=tmp/tmp1.pdf $outpdf ECal.pdf 
     78gs -dBATCH -dNOPAUSE -q -sDEVICE=pdfwrite -sOutputFile=$outpdf tmp/tmp1.pdf HCal.pdf
     79mv ECal.pdf $mainoutputdir/www/fig/img_ecal.pdf
     80mv ECal.png $mainoutputdir/www/fig/img_ecal.png
     81mv HCal.pdf $mainoutputdir/www/fig/img_hcal.pdf
     82mv HCal.png $mainoutputdir/www/fig/img_hcal.png
    9083
    9184
Note: See TracChangeset for help on using the changeset viewer.