- Timestamp:
- Sep 6, 2016, 12:38:23 PM (8 years ago)
- Branches:
- ImprovedOutputFile, Timing, dual_readout, llp, master
- Children:
- 8ab29e1
- Parents:
- e9971a7
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
examples/validation.sh
re9971a7 rdb8be5f 35 35 validationCard=cards/validation_$card 36 36 output=validation_${card%.*}.root 37 cardlabel=${card%.*} 37 38 38 39 sed 's/delphes_card_CMS.tcl/'$card'/g' cards/validation_card.tcl > $validationCard … … 42 43 pid=$2 43 44 cmnd="examples/Pythia8/configParticleGun_$name.cmnd" 45 rootfile="particleGun_${name}_${cardlabel}.root" 44 46 sed '/Main:spareMode1/s/=[[:space:]]*[0-9]*/= '$pid'/' examples/Pythia8/configParticleGun.cmnd > examples/Pythia8/tmp.cmnd 45 47 sed '/Main:numberOfEvents/s/=[[:space:]]*[0-9]*/= '$nEvents'/' examples/Pythia8/tmp.cmnd > $cmnd 46 ./DelphesPythia8 $validationCard $cmnd delphes_ParticleGun_$name.root 48 ./DelphesPythia8 $validationCard $cmnd $rootfile 49 47 50 } 48 51 … … 54 57 runParticleGun taujet 15 55 58 56 ./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 $output59 ./Validation particleGun_electron_$cardlabel.root particleGun_muon_$cardlabel.root particleGun_photon_$cardlabel.root particleGun_jet_$cardlabel.root particleGun_bjet_$cardlabel.root particleGun_taujet_$cardlabel.root $output
Note:
See TracChangeset
for help on using the changeset viewer.