HPS-MC
signal_beam_merge_to_recon_job Namespace Reference

Variables

 description
 
 inputs = list(job.input_files.values())
 Get job input file targets. More...
 
list signal_file_name = []
 Input signal events (slcio format) More...
 
list beam_file_name = []
 Input beam events (slcio format) More...
 
string signal_name = 'signal'
 Check for expected input file targets. More...
 
string beam_name = 'beam'
 Base name of intermediate beam files. More...
 
string signal_beam_name = 'signal-beam'
 Base name of merged files. More...
 
 filter_events
 Filter and space signal events and catenate files before merging. More...
 
 count_filter = LCIOCount(inputs=filter_events.output_files())
 Count filtered events. More...
 
 catenate_beam
 catenate beam files before merging More...
 
 count_beam = LCIOCount(inputs=catenate_beam.output_files())
 Count beam events. 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...
 

Variable Documentation

◆ beam_file_name

list beam_file_name = []

Input beam events (slcio format)

Definition at line 18 of file signal_beam_merge_to_recon_job.py.

◆ beam_name

string beam_name = 'beam'

Base name of intermediate beam files.

Definition at line 36 of file signal_beam_merge_to_recon_job.py.

◆ catenate_beam

catenate_beam
Initial value:
1 = ExtractEventsWithHitAtHodoEcal(inputs=beam_file_name,
2  outputs=['%s_filt.slcio' % beam_name],
3  event_interval=0, num_hodo_hits=0)

catenate beam files before merging

Definition at line 50 of file signal_beam_merge_to_recon_job.py.

◆ count_beam

count_beam = LCIOCount(inputs=catenate_beam.output_files())

Count beam events.

Definition at line 55 of file signal_beam_merge_to_recon_job.py.

◆ count_filter

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

Count filtered events.

Definition at line 47 of file signal_beam_merge_to_recon_job.py.

◆ count_merge

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

Print number of merged events.

Definition at line 64 of file signal_beam_merge_to_recon_job.py.

◆ count_readout

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

Print number of readout events.

Definition at line 72 of file signal_beam_merge_to_recon_job.py.

◆ count_recon

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

Print number of recon events.

Definition at line 80 of file signal_beam_merge_to_recon_job.py.

◆ description

description

Definition at line 9 of file signal_beam_merge_to_recon_job.py.

◆ filter_events

filter_events
Initial value:
1 = ExtractEventsWithHitAtHodoEcal(inputs=signal_file_name,
2  outputs=['%s_filt.slcio' % signal_name],
3  event_interval=250, num_hodo_hits=1)

Filter and space signal events and catenate files before merging.

Definition at line 42 of file signal_beam_merge_to_recon_job.py.

◆ inputs

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

Get job input file targets.

Definition at line 12 of file signal_beam_merge_to_recon_job.py.

◆ merge

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

Merge signal and beam events.

Definition at line 58 of file signal_beam_merge_to_recon_job.py.

◆ readout

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

Run simulated events in readout to generate triggers.

Definition at line 67 of file signal_beam_merge_to_recon_job.py.

◆ recon

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

Run physics reconstruction.

Definition at line 75 of file signal_beam_merge_to_recon_job.py.

◆ signal_beam_name

string signal_beam_name = 'signal-beam'

Base name of merged files.

Definition at line 39 of file signal_beam_merge_to_recon_job.py.

◆ signal_file_name

list signal_file_name = []

Input signal events (slcio format)

Definition at line 15 of file signal_beam_merge_to_recon_job.py.

◆ signal_name

string signal_name = 'signal'

Check for expected input file targets.

Base name of intermediate signal files

Definition at line 33 of file signal_beam_merge_to_recon_job.py.