Fork me on GitHub

source: git/examples/validation.sh@ ebf057e

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

improve validation code

  • Property mode set to 100755
File size: 670 bytes
Line 
1#! /bin/sh
2function runParticleGun {
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
8}
9
10runParticleGun electron 11
11runParticleGun muon 13
12runParticleGun photon 22
13runParticleGun jet 1
14runParticleGun bjet 5
15runParticleGun taujet 15
16
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.