HPS-MC
 
All Classes Namespaces Files Functions Variables Pages
Loading...
Searching...
No Matches
ap_gen_job.py
Go to the documentation of this file.
1"""!
2@file ap_gen_job.py
3
4Job script to generate A-prime events.
5"""
6
7from hpsmc.generators import MG5
8
9job.description = 'ap generation'
10
11if 'nevents' in job.params:
12 nevents = job.params['nevents']
13else:
14 nevents = 10000
15
16
17mg = MG5(name='ap', event_types=['unweighted'])
18
19
20job.add([mg])
Run the MadGraph 5 event generator.