Changes in examples/validation.sh [360d17e:629e819] in git
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
examples/validation.sh
r360d17e r629e819 1 #! /bin/sh1 #!/bin/bash 2 2 function runParticleGun { 3 name=$14 pid=$25 cmnd="examples/Pythia8/configParticleGun_$name.cmnd"6 sed '/Main:spareMode1/s/=[[:space:]]*[0-9]*/= '$pid'/' examples/Pythia8/configParticleGun.cmnd > $cmnd7 ./DelphesPythia8 cards/delphes_card_CMS.tcl $cmnd delphes_ParticleGun_$name.root3 in=$1 4 ID=$2 5 outcmnd="examples/Pythia8/configParticleGun$in.cmnd" 6 sed 's/ID/'$ID'/g' examples/Pythia8/configParticleGun.cmnd > $outcmnd 7 ./DelphesPythia8 cards/delphes_card_CMS.tcl $outcmnd delphes_ParticleGun$in.root 8 8 } 9 runParticleGun el 11 10 runParticleGun mu 13 11 runParticleGun ph 22 12 runParticleGun b 5 13 runParticleGun jet 1 14 runParticleGun tau 15 9 15 10 runParticleGun electron 11 11 runParticleGun muon 13 12 runParticleGun photon 22 13 runParticleGun jet 1 14 runParticleGun bjet 5 15 runParticleGun taujet 15 16 ./Validation delphes_ParticleGunel.root delphes_ParticleGunmu.root delphes_ParticleGunph.root delphes_ParticleGunjet.root delphes_ParticleGunb.root delphes_ParticleGuntau.root validation.root 16 17 17 ./Validation delphes_ParticleGun_electron.root delphes_ParticleGun_muon.root delphes_ParticleGun_photon.root delphes_ParticleGun_jet.root delphes_ParticleGun_bjet.root delphes_ParticleGun_taujet.root delphes_validation.root
Note:
See TracChangeset
for help on using the changeset viewer.