Fork me on GitHub

Changeset 88c03bc in git for validation


Ignore:
Timestamp:
Apr 24, 2017, 4:13:08 PM (7 years ago)
Author:
Pavel Demin <pavel-demin@…>
Branches:
ImprovedOutputFile, Timing, dual_readout, llp, master
Children:
181c061
Parents:
d108fdc
Message:

trim trailing spaces in validation.sh

File:
1 edited

Legend:

Unmodified
Added
Removed
  • validation/validation.sh

    • Property mode changed from 100755 to 100644
    rd108fdc r88c03bc  
    22################################################################################
    33#
    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.
    55#
    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#
    88# https://cp3.irmp.ucl.ac.be/projects/delphes/wiki/WorkBook/Pythia8
    99#
    1010# After you (re-)compiled Delphes with Pythia8 you are ready to go, execute from Delphes main dir:
    1111#
    12 # ./examples/validation.sh [detector_card] [number_of_events] 
    13 # 
     12# ./examples/validation.sh [detector_card] [number_of_events]
     13#
    1414#  e.g.
    15 # 
     15#
    1616# ./examples/validation.sh cards/delphes_card_CMS.tcl 100000
    1717#
    1818# 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.
    2020#
    2121################################################################################
     
    8484
    8585
    86 runParticleGun pion 211 
    87 runParticleGun electron 11 
    88 runParticleGun muon 13 
    89 runParticleGun photon 22 
    90 runParticleGun neutron 2112 
    91 runParticleGun taujet 15 
     86runParticleGun pion 211
     87runParticleGun electron 11
     88runParticleGun muon 13
     89runParticleGun photon 22
     90runParticleGun neutron 2112
     91runParticleGun taujet 15
    9292runJetsGun jet 1 &
    9393runJetsGun bjet 5 &
     
    100100
    101101
    102 # produce calo grid plots 
     102# produce calo grid plots
    103103./CaloGrid $1 ECal
    104104./CaloGrid $1 HCal
    105 gs -dBATCH -dNOPAUSE -q -sDEVICE=pdfwrite -sOutputFile=tmp/tmp1.pdf $outpdf ECal.pdf 
     105gs -dBATCH -dNOPAUSE -q -sDEVICE=pdfwrite -sOutputFile=tmp/tmp1.pdf $outpdf ECal.pdf
    106106gs -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 
     107mv ECal.pdf $mainoutputdir/www/fig/img_ecal.pdf
     108mv ECal.png $mainoutputdir/www/fig/img_ecal.png
    109109mv HCal.pdf $mainoutputdir/www/fig/img_hcal.pdf
    110110mv HCal.png $mainoutputdir/www/fig/img_hcal.png
Note: See TracChangeset for help on using the changeset viewer.