HPS-MC
 
Loading...
Searching...
No Matches
muon_trident_gen_job.py
Go to the documentation of this file.
1"""!
2@file muon_trident_gen_job.py
3
4Simulate muon trident events.
5"""
6from hpsmc.generators import MG5
7
8job.description = 'Generate muon trident events using MadGraph5'
9
10if 'nevents' in job.params:
11 nevents = job.params['nevents']
12else:
13 nevents = 10000
14
15
16mg = MG5(name='muon', event_types=['unweighted'])
17
18
19job.add([mg])
Run the MadGraph 5 event generator.