Changeset d108fdc in git
- Timestamp:
- Apr 24, 2017, 4:11:48 PM (8 years ago)
- Branches:
- ImprovedOutputFile, Timing, dual_readout, llp, master
- Children:
- 88c03bc
- Parents:
- 78d1846
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
validation/validation.sh
r78d1846 rd108fdc 57 57 cmnd=$cardsdir/configParticleGun_$name.cmnd 58 58 outputroot=particleGun_${name}_${cardlabel}.root 59 sed "/Main:spareMode1/s /=[[:space:]]*[0-9]*/= $pid/; /Main:numberOfEvents/s/=[[:space:]]*[0-9]*/= $nEvents/" examples/Pythia8/configParticleGun.cmnd > $cmnd59 sed "/Main:spareMode1/s|=[[:space:]]*[0-9]*|= $pid|; /Main:numberOfEvents/s|=[[:space:]]*[0-9]*|= $nEvents|" examples/Pythia8/configParticleGun.cmnd > $cmnd 60 60 ./DelphesPythia8 $validationcard $cmnd $outputrootdir/$outputroot 61 61 … … 66 66 name=$1 67 67 pid=$2 68 cmnd=$cardsdir/configLHE_$pid.cmnd 69 inputroot=$samplesdir/$pid.root 68 lhe=$samplesdir/events_$name.lhe 69 cmnd=$cardsdir/configLHE_$name.cmnd 70 inputroot=$samplesdir/$name.root 70 71 outputroot=particleGun_${name}_${cardlabel}.root 71 72 72 73 if [ ! -f $inputroot ] 73 74 then 74 python validation/FlatGunLHEventProducer.py --pdg $pid --ptmin 1 --ptmax 50000 --etamin -6 --etamax 6 --size $nEvents --seed 1 --output $ samplesdir/events_$pid.lhe --log --ecm 10000075 python validation/FlatGunLHEventProducer.py --pdg $pid --ptmin 1 --ptmax 50000 --etamin -6 --etamax 6 --size $nEvents --seed 1 --output $lhe --log --ecm 100000 75 76 76 cp examples/Pythia8/configLHE.cmnd $cmnd 77 echo "Beams:LHEF = $samplesdir/events_$pid.lhe" >> $cmnd 78 echo "Main:numberOfEvents = $nEvents" >> $cmnd 77 sed "/Beams:LHEF/s|=[[:space:]].*|= $lhe|; /Main:numberOfEvents/s/=[[:space:]]*[0-9]*/= $nEvents/" examples/Pythia8/configLHE.cmnd > $cmnd 79 78 80 79 ./DelphesPythia8 cards/gen_card.tcl $cmnd $inputroot
Note:
See TracChangeset
for help on using the changeset viewer.