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