Job script to generate A-prime events, convert to StdHep, apply transformations, and resulting simulate signal events using SLIC. More...
Go to the source code of this file.
Namespaces | |
ap_gen_to_slic_job | |
Variables | |
description | |
inputs = list(job.input_files.values()) | |
Get job input file targets. More... | |
nevents = job.params['nevents'] | |
mg = MG4(name='ap', event_types=['unweighted']) | |
Generate rad in MG4. More... | |
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. More... | |
cnv = StdHepConverter(name="lhe_uniform", inputs=["ap_unweighted_events.lhe"]) | |
Convert LHE output to stdhep for uniform signal. More... | |
mom = AddMotherFullTruth(inputs=["ap_unweighted_events.stdhep", unzip.output_files()[0]], outputs=["ap_mom.stdhep"]) | |
Add mother particle to tag trident particles. More... | |
rot = BeamCoords(inputs=mom.output_files(), outputs=["ap_rot.stdhep"]) | |
Rotate events into beam coords. More... | |
slic = SLIC(nevents=nevents + 1, inputs=rot.output_files(), outputs=["ap.slcio"]) | |
Simulate signal events. More... | |
Job script to generate A-prime events, convert to StdHep, apply transformations, and resulting simulate signal events using SLIC.
There are options to generate prompt and displaced events. You can use them by adjusting the StdHepConverter options as seen below.
Definition in file ap_gen_to_slic_job.py.