Fork me on GitHub

source: git/examples/validation.sh@ 7da1826

ImprovedOutputFile Timing dual_readout llp
Last change on this file since 7da1826 was 360d17e, checked in by Pavel Demin <pavel.demin@…>, 8 years ago

improve validation code

  • Property mode set to 100755
File size: 670 bytes
RevLine 
[360d17e]1#! /bin/sh
[9f8d4e7]2function runParticleGun {
[360d17e]3 name=$1
4 pid=$2
5 cmnd="examples/Pythia8/configParticleGun_$name.cmnd"
6 sed '/Main:spareMode1/s/=[[:space:]]*[0-9]*/= '$pid'/' examples/Pythia8/configParticleGun.cmnd > $cmnd
7 ./DelphesPythia8 cards/delphes_card_CMS.tcl $cmnd delphes_ParticleGun_$name.root
[9f8d4e7]8}
9
[360d17e]10runParticleGun electron 11
11runParticleGun muon 13
12runParticleGun photon 22
13runParticleGun jet 1
14runParticleGun bjet 5
15runParticleGun taujet 15
[629e819]16
[360d17e]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 TracBrowser for help on using the repository browser.