Fork me on GitHub

source: git/examples/validation.sh@ df315dc

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

add validation.sh

  • Property mode set to 100755
File size: 920 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 ph 22
12runParticleGun b 5
13runParticleGun jet 1
14runParticleGun tau 15
15exit
16# hadd delphes_all.root delphes_ParticleGunmu.root delphes_ParticleGunb.root delphes_ParticleGunjet.root
17hadd delphes_b_jet.root delphes_ParticleGunb.root delphes_ParticleGuntau.root delphes_ParticleGunjet.root
18
19./Validation_electron delphes_ParticleGunel.root delphes_validation_electron.root
20./Validation_muon delphes_ParticleGunmu.root delphes_validation_muon.root
21./Validation_photon delphes_ParticleGunph.root delphes_validation_photon.root
22./Validation_jet delphes_b_tau_jet.root delphes_validation_jet.root
Note: See TracBrowser for help on using the repository browser.