Changeset 88c03bc in git for validation/validation.sh
- Timestamp:
- Apr 24, 2017, 4:13:08 PM (8 years ago)
- Branches:
- ImprovedOutputFile, Timing, dual_readout, llp, master
- Children:
- 181c061
- Parents:
- d108fdc
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
validation/validation.sh
-
Property mode
changed from
100755
to100644
rd108fdc r88c03bc 2 2 ################################################################################ 3 3 # 4 # This code produces at set of validation plots for a given detector card. 4 # This code produces at set of validation plots for a given detector card. 5 5 # 6 # In order to run this you need to compile Delphes with Pythia8 first, see: 7 # 6 # In order to run this you need to compile Delphes with Pythia8 first, see: 7 # 8 8 # https://cp3.irmp.ucl.ac.be/projects/delphes/wiki/WorkBook/Pythia8 9 9 # 10 10 # After you (re-)compiled Delphes with Pythia8 you are ready to go, execute from Delphes main dir: 11 11 # 12 # ./examples/validation.sh [detector_card] [number_of_events] 13 # 12 # ./examples/validation.sh [detector_card] [number_of_events] 13 # 14 14 # e.g. 15 # 15 # 16 16 # ./examples/validation.sh cards/delphes_card_CMS.tcl 100000 17 17 # 18 18 # Note that the more events you specify, the more accurate the controls plots will be ... 19 # This said, 500k events should be ok for most cases. 19 # This said, 500k events should be ok for most cases. 20 20 # 21 21 ################################################################################ … … 84 84 85 85 86 runParticleGun pion 211 87 runParticleGun electron 11 88 runParticleGun muon 13 89 runParticleGun photon 22 90 runParticleGun neutron 2112 91 runParticleGun taujet 15 86 runParticleGun pion 211 87 runParticleGun electron 11 88 runParticleGun muon 13 89 runParticleGun photon 22 90 runParticleGun neutron 2112 91 runParticleGun taujet 15 92 92 runJetsGun jet 1 & 93 93 runJetsGun bjet 5 & … … 100 100 101 101 102 # produce calo grid plots 102 # produce calo grid plots 103 103 ./CaloGrid $1 ECal 104 104 ./CaloGrid $1 HCal 105 gs -dBATCH -dNOPAUSE -q -sDEVICE=pdfwrite -sOutputFile=tmp/tmp1.pdf $outpdf ECal.pdf 105 gs -dBATCH -dNOPAUSE -q -sDEVICE=pdfwrite -sOutputFile=tmp/tmp1.pdf $outpdf ECal.pdf 106 106 gs -dBATCH -dNOPAUSE -q -sDEVICE=pdfwrite -sOutputFile=$outpdf tmp/tmp1.pdf HCal.pdf 107 mv ECal.pdf $mainoutputdir/www/fig/img_ecal.pdf 108 mv ECal.png $mainoutputdir/www/fig/img_ecal.png 107 mv ECal.pdf $mainoutputdir/www/fig/img_ecal.pdf 108 mv ECal.png $mainoutputdir/www/fig/img_ecal.png 109 109 mv HCal.pdf $mainoutputdir/www/fig/img_hcal.pdf 110 110 mv HCal.png $mainoutputdir/www/fig/img_hcal.png -
Property mode
changed from
Note:
See TracChangeset
for help on using the changeset viewer.