HPS-MC
signal_pulser_overlay_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 pulser_file_name = []
 Input pulser events (evio format) More...
 
string signal_name = 'signal'
 Check for expected input file targets. More...
 
string pulser_name = 'pulser'
 Base pulser of intermediate pulser files. More...
 
string signal_pulser_name = 'signal_pulser'
 Base name of merged files. More...
 
 filter_events
 Filter signal events and catenate files before overlaying with pulser data. More...
 
 count_filter = LCIOCount(inputs=filter_events.output_files())
 Count filtered events. More...
 
 evio_to_lcio = EvioToLcio(steering='evio_to_lcio', inputs=pulser_file_name, output=['%s.slcio' % pulser_name])
 Convert evio to lcio for raw pulser data. More...
 
 count_pulser = LCIOCount(inputs=evio_to_lcio.output_files())
 Count pulser events. More...
 
 overlay
 Overlay signal with pulser data. More...
 
 space_overlay
 Space overlaid events. More...
 
 count_space_overlay = LCIOCount(inputs=space_overlay.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

◆ count_filter

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

Count filtered events.

Definition at line 47 of file signal_pulser_overlay_to_recon_job.py.

◆ count_pulser

count_pulser = LCIOCount(inputs=evio_to_lcio.output_files())

Count pulser events.

Definition at line 53 of file signal_pulser_overlay_to_recon_job.py.

◆ count_readout

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

Print number of readout events.

Definition at line 76 of file signal_pulser_overlay_to_recon_job.py.

◆ count_recon

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

Print number of recon events.

Definition at line 84 of file signal_pulser_overlay_to_recon_job.py.

◆ count_space_overlay

count_space_overlay = LCIOCount(inputs=space_overlay.output_files())

Print number of merged events.

Definition at line 68 of file signal_pulser_overlay_to_recon_job.py.

◆ description

description

Definition at line 9 of file signal_pulser_overlay_to_recon_job.py.

◆ evio_to_lcio

evio_to_lcio = EvioToLcio(steering='evio_to_lcio', inputs=pulser_file_name, output=['%s.slcio' % pulser_name])

Convert evio to lcio for raw pulser data.

Definition at line 50 of file signal_pulser_overlay_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=0, num_hodo_hits=1)

Filter signal events and catenate files before overlaying with pulser data.

Definition at line 42 of file signal_pulser_overlay_to_recon_job.py.

◆ inputs

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

Get job input file targets.

Definition at line 12 of file signal_pulser_overlay_to_recon_job.py.

◆ overlay

overlay
Initial value:
1 = JobManager(steering='overlay',
2  inputs=filter_events.output_files(),
3  overlay_file=evio_to_lcio.output_files()[0],
4  outputs=['%s.slcio' % signal_pulser_name])

Overlay signal with pulser data.

Definition at line 56 of file signal_pulser_overlay_to_recon_job.py.

◆ pulser_file_name

list pulser_file_name = []

Input pulser events (evio format)

Definition at line 18 of file signal_pulser_overlay_to_recon_job.py.

◆ pulser_name

string pulser_name = 'pulser'

Base pulser of intermediate pulser files.

Definition at line 36 of file signal_pulser_overlay_to_recon_job.py.

◆ readout

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

Run simulated events in readout to generate triggers.

Definition at line 71 of file signal_pulser_overlay_to_recon_job.py.

◆ recon

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

Run physics reconstruction.

Definition at line 79 of file signal_pulser_overlay_to_recon_job.py.

◆ signal_file_name

list signal_file_name = []

Input signal events (slcio format)

Definition at line 15 of file signal_pulser_overlay_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_pulser_overlay_to_recon_job.py.

◆ signal_pulser_name

string signal_pulser_name = 'signal_pulser'

Base name of merged files.

Definition at line 39 of file signal_pulser_overlay_to_recon_job.py.

◆ space_overlay

space_overlay
Initial value:
1 = FilterBunches(inputs=overlay.output_files(),
2  filter_no_cuts=True,
3  outputs=['%s_spaced.slcio' % signal_pulser_name],
4  filter_event_interval=250)

Space overlaid events.

Definition at line 62 of file signal_pulser_overlay_to_recon_job.py.