HPS-MC
 
Loading...
Searching...
No Matches
beam_gen_sample_job.py File Reference

Generate beam events, transform them to beam coodinates and randomly sample them. More...

Go to the source code of this file.

Namespaces

namespace  beam_gen_sample_job
 

Variables

 inputs = list(job.input_files.values())
 Get job input file targets.
 
 nevents = job.params['nevents']
 
 egs5 = EGS5(name="beam_v7_%s" % job.params['run_params'])
 Generate beam.
 
 rot = BeamCoords()
 Rotate events into beam coordinates.
 
 sample = RandomSample()
 Sample events into new stdhep file.
 

Detailed Description

Generate beam events, transform them to beam coodinates and randomly sample them.

Definition in file beam_gen_sample_job.py.