Last change
on this file since 9327245 was 9f8d4e7, checked in by Pavel Demin <pavel.demin@…>, 9 years ago |
add validation.sh
|
-
Property mode
set to
100755
|
File size:
920 bytes
|
Rev | Line | |
---|
[9f8d4e7] | 1 | #!/bin/bash
|
---|
| 2 | function 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 | }
|
---|
| 9 | runParticleGun el 11
|
---|
| 10 | runParticleGun mu 13
|
---|
| 11 | runParticleGun ph 22
|
---|
| 12 | runParticleGun b 5
|
---|
| 13 | runParticleGun jet 1
|
---|
| 14 | runParticleGun tau 15
|
---|
| 15 | exit
|
---|
| 16 | # hadd delphes_all.root delphes_ParticleGunmu.root delphes_ParticleGunb.root delphes_ParticleGunjet.root
|
---|
| 17 | hadd 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.