Generate beam events, transform them to beam coodinates and randomly sample them. More...
Go to the source code of this file.
Namespaces | |
beam_gen_sample_job | |
Variables | |
inputs = list(job.input_files.values()) | |
Get job input file targets. More... | |
nevents = job.params['nevents'] | |
egs5 = EGS5(name="beam_v7_%s" % job.params['run_params']) | |
Generate beam. More... | |
rot = BeamCoords() | |
Rotate events into beam coordinates. More... | |
sample = RandomSample() | |
Sample events into new stdhep file. More... | |
Generate beam events, transform them to beam coodinates and randomly sample them.
Definition in file beam_gen_sample_job.py.