2 @file slic_gps_to_ana_job.py
4 Run slic to analysis using gps macro.
7 from hpsmc.tools import SLIC, JobManager, FilterBunches, HPSTR
9 job.description =
'Run slic with preexisting tritrig stdhep files'
13 input_filename =
'{}.stdhep'.format(base_name)
14 sim =
SLIC(inputs=[input_filename])
20 readout =
JobManager(steering=
'readout', ignore_job_params=[
'nevents'])
23 recon =
JobManager(steering=
'recon', ignore_job_params=[
'nevents'])
32 job.ptag(
'sim',
'{}.slcio'.format(base_name))
33 job.ptag(
'readout',
'{}_filt_readout.slcio'.format(base_name))
34 job.ptag(
'recon',
'{}_filt_readout_recon.slcio'.format(base_name))
35 job.ptag(
'recon_root',
'{}_filt_readout_recon.root'.format(base_name))
36 job.ptag(
'ana',
'{}_filt_readout_recon_ana.root'.format(base_name))
39 job.add([sim, filter_bunches, readout, recon, root_cnv, ana])