Variables | |
| description | |
| inputs = list(job.input_files.values()) | |
| Get job input file targets. | |
| nevents = job.params['nevents'] | |
| mg = MG5(name='RAD', event_types=['unweighted']) | |
| Generate rad in MG5. | |
| cnv = StdHepConverter(name="lhe_rad", inputs=mg.output_files()) | |
| Convert LHE output to stdhep. | |
| unzip = Unzip(inputs=mg.output_files(), outputs=["rad.lhe"]) | |
| Unzip the LHE events to a local file. | |
| mom = AddMotherFullTruth(inputs=[cnv.output_files()[0], unzip.output_files()[0]], outputs=["rad_mom.stdhep"]) | |
| Add mother particle to tag trident particles. | |
| rot = BeamCoords(inputs=mom.output_files(), outputs=["rad_rot.stdhep"]) | |
| Rotate events into beam coords. | |
| cnv = StdHepConverter(name="lhe_rad", inputs=mg.output_files()) |
Convert LHE output to stdhep.
Definition at line 23 of file rad_gen_job.py.
| description |
Definition at line 9 of file rad_gen_job.py.
| inputs = list(job.input_files.values()) |
Get job input file targets.
Definition at line 12 of file rad_gen_job.py.
| mg = MG5(name='RAD', event_types=['unweighted']) |
Generate rad in MG5.
Definition at line 20 of file rad_gen_job.py.
| mom = AddMotherFullTruth(inputs=[cnv.output_files()[0], unzip.output_files()[0]], outputs=["rad_mom.stdhep"]) |
Add mother particle to tag trident particles.
Definition at line 29 of file rad_gen_job.py.
| int nevents = job.params['nevents'] |
Definition at line 15 of file rad_gen_job.py.
| rot = BeamCoords(inputs=mom.output_files(), outputs=["rad_rot.stdhep"]) |
Rotate events into beam coords.
Definition at line 32 of file rad_gen_job.py.
Unzip the LHE events to a local file.
Definition at line 26 of file rad_gen_job.py.