HPS-MC
tritrig_beam_slic_to_reco_job Namespace Reference

Variables

 inputs = list(job.input_files.values())
 Get job input file targets. More...
 
 description
 
 nevents = job.params['nevents']
 
string tritrig_file_name = 'tritrig_events.stdhep'
 Input tritrig events (stdhep format) More...
 
list beam_file_names = []
 Input beam events (StdHep format) More...
 
list beam_slic_file_names = []
 
 filename
 
 file_extension
 
string beam_slic_file = filename + '.slcio'
 
string tritrig_name = 'tritrig'
 Base name of intermediate tritrig files. More...
 
string beam_name = 'beam'
 Base name of intermediate beam files. More...
 
string tritrig_beam_name = 'tritrig_beam'
 Base name of merged files. More...
 
 slic
 Simulate signal events. More...
 
 filter_bunches
 Space signal events before merging. More...
 
 count_filter = LCIOCount(inputs=filter_bunches.output_files())
 Count filtered events. More...
 
list slic_beams = []
 Simulate beam events. More...
 
 slic_beam_cat
 concatonate beam events before merging More...
 
 merge
 Merge signal and beam events. More...
 
 count_merge = LCIOCount(inputs=merge.output_files())
 Print number of merged events. More...
 
 readout
 Run simulated events in readout to generate triggers. More...
 
 count_readout = LCIOCount(inputs=readout.output_files())
 Print number of readout events. More...
 
 recon
 Run physics reconstruction. More...
 
 count_recon = LCIOCount(inputs=recon.output_files())
 Print number of recon events. More...
 
list comps = [slic, filter_bunches, count_filter]
 

Variable Documentation

◆ beam_file_names

list beam_file_names = []

Input beam events (StdHep format)

Definition at line 23 of file tritrig_beam_slic_to_reco_job.py.

◆ beam_name

string beam_name = 'beam'

Base name of intermediate beam files.

Definition at line 36 of file tritrig_beam_slic_to_reco_job.py.

◆ beam_slic_file

string beam_slic_file = filename + '.slcio'

Definition at line 29 of file tritrig_beam_slic_to_reco_job.py.

◆ beam_slic_file_names

list beam_slic_file_names = []

Definition at line 24 of file tritrig_beam_slic_to_reco_job.py.

◆ comps

list comps = [slic, filter_bunches, count_filter]

Definition at line 92 of file tritrig_beam_slic_to_reco_job.py.

◆ count_filter

count_filter = LCIOCount(inputs=filter_bunches.output_files())

Count filtered events.

Definition at line 51 of file tritrig_beam_slic_to_reco_job.py.

◆ count_merge

count_merge = LCIOCount(inputs=merge.output_files())

Print number of merged events.

Definition at line 74 of file tritrig_beam_slic_to_reco_job.py.

◆ count_readout

count_readout = LCIOCount(inputs=readout.output_files())

Print number of readout events.

Definition at line 82 of file tritrig_beam_slic_to_reco_job.py.

◆ count_recon

count_recon = LCIOCount(inputs=recon.output_files())

Print number of recon events.

Definition at line 90 of file tritrig_beam_slic_to_reco_job.py.

◆ description

description

Definition at line 12 of file tritrig_beam_slic_to_reco_job.py.

◆ file_extension

file_extension

Definition at line 28 of file tritrig_beam_slic_to_reco_job.py.

◆ filename

filename

Definition at line 28 of file tritrig_beam_slic_to_reco_job.py.

◆ filter_bunches

filter_bunches
Initial value:
1 = ExtractEventsWithHitAtHodoEcal(inputs=slic.output_files(),
2  outputs=['%s_filt.slcio' % tritrig_name],
3  event_interval=250, num_hodo_hits=0)

Space signal events before merging.

Definition at line 46 of file tritrig_beam_slic_to_reco_job.py.

◆ inputs

inputs = list(job.input_files.values())

Get job input file targets.

Definition at line 10 of file tritrig_beam_slic_to_reco_job.py.

◆ merge

merge
Initial value:
1 = LCIOMerge(inputs=[filter_bunches.output_files()[0],
2  slic_beam_cat.outputs[0]],
3  outputs=['%s.slcio' % tritrig_beam_name],
4  ignore_job_params=['nevents'])

Merge signal and beam events.

Definition at line 68 of file tritrig_beam_slic_to_reco_job.py.

◆ nevents

int nevents = job.params['nevents']

Definition at line 15 of file tritrig_beam_slic_to_reco_job.py.

◆ readout

readout
Initial value:
1 = JobManager(steering='readout',
2  inputs=merge.output_files(),
3  outputs=['%s_readout.slcio' % tritrig_beam_name])

Run simulated events in readout to generate triggers.

Definition at line 77 of file tritrig_beam_slic_to_reco_job.py.

◆ recon

recon
Initial value:
1 = JobManager(steering='recon',
2  inputs=readout.output_files(),
3  outputs=['%s_recon.slcio' % tritrig_beam_name])

Run physics reconstruction.

Definition at line 85 of file tritrig_beam_slic_to_reco_job.py.

◆ slic

slic
Initial value:
1 = SLIC(inputs=[tritrig_file_name],
2  outputs=['%s.slcio' % tritrig_name])

Simulate signal events.

Definition at line 42 of file tritrig_beam_slic_to_reco_job.py.

◆ slic_beam_cat

slic_beam_cat
Initial value:
1 = ExtractEventsWithHitAtHodoEcal(inputs=beam_slic_file_names,
2  outputs=['beam_cat.slcio'],
3  event_interval=0, num_hodo_hits=0)

concatonate beam events before merging

Definition at line 63 of file tritrig_beam_slic_to_reco_job.py.

◆ slic_beams

list slic_beams = []

Simulate beam events.

Definition at line 54 of file tritrig_beam_slic_to_reco_job.py.

◆ tritrig_beam_name

string tritrig_beam_name = 'tritrig_beam'

Base name of merged files.

Definition at line 39 of file tritrig_beam_slic_to_reco_job.py.

◆ tritrig_file_name

string tritrig_file_name = 'tritrig_events.stdhep'

Input tritrig events (stdhep format)

Definition at line 20 of file tritrig_beam_slic_to_reco_job.py.

◆ tritrig_name

string tritrig_name = 'tritrig'

Base name of intermediate tritrig files.

Definition at line 33 of file tritrig_beam_slic_to_reco_job.py.