2Simulation of beam, beam signals in detector (using SLIC), and readout.
3The simulation is followed by reconstruction of the events.
6from hpsmc.tools import BeamCoords, RandomSample, SLIC, ExtractEventsWithHitAtHodoEcal, JobManager
8job.description =
'beam from generation to slic'
11inputs = list(job.input_files.values())
13if 'nevents' in job.params:
14 nevents = job.params[
'nevents']
19egs5 =
EGS5(name=
"beam_v7_%s" % job.params[
'run_params'])
28slic =
SLIC(nevents=nevents + 1)
40job.add([egs5, rot, sample, slic, space_events, readout, recon])
Run the EGS5 event generator to produce a StdHep file.