Fork me on GitHub

source: git/validation.sh@ bc58cf5

ImprovedOutputFile Timing dual_readout llp
Last change on this file since bc58cf5 was f01dee6, checked in by Alexandre Mertens <alexandre.mertens@…>, 8 years ago

Adding script for running the validation

  • Property mode set to 100755
File size: 464 bytes
Line 
1#!/bin/bash
2function runParticleGun {
3 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}
9runParticleGun el 11
10runParticleGun mu 13
11runParticleGun b 5
12runParticleGun jet 1
13hadd delphes_all.root delphes_ParticleGunmu.root delphes_ParticleGunb.root delphes_ParticleGunjet.root
14
15
16
Note: See TracBrowser for help on using the repository browser.