Last change
on this file since 21eab4f was 4122b0e, checked in by Pavel Demin <pavel.demin@…>, 8 years ago |
add validation_card.tcl
|
-
Property mode
set to
100755
|
File size:
669 bytes
|
Line | |
---|
1 | #! /bin/sh
|
---|
2 | function 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/validation_card.tcl $cmnd delphes_ParticleGun_$name.root
|
---|
8 | }
|
---|
9 |
|
---|
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 |
|
---|
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.