Transform events to beam coodinates, randomly sample them and simulating detector response using slic. More...
Go to the source code of this file.
Namespaces | |
| namespace | beam_prep_and_slic_job |
Variables | |
| nevents = job.params['nevents'] | |
| event_interval = job.params['event_interval'] | |
| inputs = list(job.input_files.values()) | |
| Get job input file targets. | |
| rot = BeamCoords() | |
| Rotate events into beam coordinates. | |
| sample = RandomSample() | |
| Sample events into new stdhep file. | |
| slic = SLIC(nevents=nevents * event_interval, ignore_job_params=['nevents']) | |
| Simulate detector response. | |
Transform events to beam coodinates, randomly sample them and simulating detector response using slic.
Definition in file beam_prep_and_slic_job.py.