File indexing completed on 2023-03-17 11:00:50
0001
0002
0003 pids=('15' '211' '111' '130' '411' '521')
0004 nevents=1000
0005 for pid in ${pids[@]}
0006 do
0007 echo "# create event generation cfg for pid $pid"
0008 source createGenSimCfg.sh $pid $nevents
0009 echo "# run event generation for pid $pid"
0010 cmsRun pgun_${pid}.py &> pgun_${pid}.stdout.txt
0011 echo "# analyse events for pid $pid"
0012 cmsRun ../python/TestPythiaDecays_cfg.py inputFiles="file:pgun_${pid}.root" outputFile="file:pgun_${pid}_test.root" &> pgun_${pid}_test.stdout.txt
0013 echo "# draw validation plots for pid $pid"
0014 python drawComparison.py pgun_${pid}_test.root figures/pgun_${pid}
0015 done