4Simulation of radiative events.
7from hpsmc.tools import Unzip, BeamCoords, AddMotherFullTruth
9job.description =
'rad generation'
12inputs = list(job.input_files.values())
14if 'nevents' in job.params:
15 nevents = job.params[
'nevents']
20mg =
MG5(name=
'RAD', event_types=[
'unweighted'])
26unzip =
Unzip(inputs=mg.output_files(), outputs=[
"rad.lhe"])
29mom =
AddMotherFullTruth(inputs=[cnv.output_files()[0], unzip.output_files()[0]], outputs=[
"rad_mom.stdhep"])
32rot =
BeamCoords(inputs=mom.output_files(), outputs=[
"rad_rot.stdhep"])
35job.add([mg, cnv, unzip, mom, rot])
Run the MadGraph 5 event generator.
Target processing and conversion of LHE files to StdHep using EGS5.