HPS-MC
beam_prep_and_slic_job.py File Reference

Transform events to beam coodinates, randomly sample them and simulating detector response using slic. More...

Go to the source code of this file.

Namespaces

 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. More...
 
 rot = BeamCoords()
 Rotate events into beam coordinates. More...
 
 sample = RandomSample()
 Sample events into new stdhep file. More...
 
 slic = SLIC(nevents=nevents * event_interval, ignore_job_params=['nevents'])
 Simulate detector response. More...
 

Detailed Description

Transform events to beam coodinates, randomly sample them and simulating detector response using slic.

Definition in file beam_prep_and_slic_job.py.