2@file tritrig_gen_to_beam_coords_job.py
4Simulate tritrig events, add mother particle information and rotate events into beam coordinates.
7from hpsmc.tools import Unzip, AddMotherFullTruth, BeamCoords
9job.description =
'Generate tritrig events using MadGraph5 and convert to StdHep using EGS5'
12mg =
MG5(name=
'tritrig')
15unzip =
Unzip(inputs=mg.output_files())
21mom =
AddMotherFullTruth(inputs=[cnv.output_files()[0], unzip.output_files()[0]], outputs=[
'tritrig_mom.stdhep'])
27job.ptag(
'gen',
'tritrig_mom_rot.stdhep')
30job.add([mg, unzip, cnv, mom, rot])
Run the MadGraph 5 event generator.
Target processing and conversion of LHE files to StdHep using EGS5.