Variables | |
description | |
inputs = list(job.input_files.values()) | |
Get job input file targets. | |
nevents = job.params['nevents'] | |
mg = MG5(name='ap', event_types=['unweighted']) | |
Generate rad in MG5. | |
ap_decay_dist = job.params['ap_decay_dist'] | |
unzip = Unzip(inputs=["ap_unweighted_events.lhe.gz"], outputs=["ap_unweighted_events.lhe"]) | |
Unzip the LHE events to a local file. | |
cnv = StdHepConverter(name="lhe_uniform", inputs=["ap_unweighted_events.lhe"]) | |
Convert LHE output to stdhep for uniform signal. | |
mom = AddMotherFullTruth(inputs=["ap_unweighted_events.stdhep", unzip.output_files()[0]], outputs=["ap_mom.stdhep"]) | |
Add mother particle to tag trident particles. | |
rot = BeamCoords(inputs=mom.output_files(), outputs=["ap_rot.stdhep"]) | |
Rotate events into beam coords. | |
slic = SLIC(nevents=nevents + 1, inputs=rot.output_files(), outputs=["ap.slcio"]) | |
Simulate signal events. | |
str ap_decay_dist = job.params['ap_decay_dist'] |
Definition at line 28 of file ap_gen_to_slic_job.py.
cnv = StdHepConverter(name="lhe_uniform", inputs=["ap_unweighted_events.lhe"]) |
Convert LHE output to stdhep for uniform signal.
Displace the time of decay using the ctau param.
Convert LHE output to stdhep for prompt signal.
Definition at line 37 of file ap_gen_to_slic_job.py.
description |
Definition at line 14 of file ap_gen_to_slic_job.py.
inputs = list(job.input_files.values()) |
Get job input file targets.
Definition at line 17 of file ap_gen_to_slic_job.py.
mg = MG5(name='ap', event_types=['unweighted']) |
Generate rad in MG5.
Definition at line 25 of file ap_gen_to_slic_job.py.
mom = AddMotherFullTruth(inputs=["ap_unweighted_events.stdhep", unzip.output_files()[0]], outputs=["ap_mom.stdhep"]) |
Add mother particle to tag trident particles.
Definition at line 51 of file ap_gen_to_slic_job.py.
int nevents = job.params['nevents'] |
Definition at line 20 of file ap_gen_to_slic_job.py.
rot = BeamCoords(inputs=mom.output_files(), outputs=["ap_rot.stdhep"]) |
Rotate events into beam coords.
Definition at line 54 of file ap_gen_to_slic_job.py.
Simulate signal events.
Definition at line 57 of file ap_gen_to_slic_job.py.
Unzip the LHE events to a local file.
Definition at line 33 of file ap_gen_to_slic_job.py.