HPS-MC
 
Loading...
Searching...
No Matches
rad_lhe_to_slic_job Namespace Reference

Variables

 description
 
 inputs = list(job.input_files.values())
 Pre-generated LHE mapped in by the job JSON.
 
 nevents = job.params.get('nevents', 10000)
 
 converter = job.params.get('lhe_converter', 'lhe_rad')
 EGS5 LHE->StdHep converter.
 
 unzip = Unzip(inputs=inputs, outputs=['rad.lhe'])
 Unzip the LHE events to a local file.
 
 cnv = StdHepConverter(name=converter, inputs=inputs)
 Convert LHE output to stdhep, propagating particles through the target.
 
 mom
 Add mother particles to tag trident particles.
 
 rot = BeamCoords(inputs=mom.output_files(), outputs=['rad_mom_rot.stdhep'])
 Rotate events into beam coords.
 
 slic
 SLIC.
 

Variable Documentation

◆ cnv

Convert LHE output to stdhep, propagating particles through the target.

Definition at line 24 of file rad_lhe_to_slic_job.py.

◆ converter

converter = job.params.get('lhe_converter', 'lhe_rad')

EGS5 LHE->StdHep converter.

Definition at line 18 of file rad_lhe_to_slic_job.py.

◆ description

description

Definition at line 10 of file rad_lhe_to_slic_job.py.

◆ inputs

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

Pre-generated LHE mapped in by the job JSON.

Definition at line 13 of file rad_lhe_to_slic_job.py.

◆ mom

mom
Initial value:
1= AddMotherFullTruth(inputs=[cnv.output_files()[0], unzip.output_files()[0]],
2 outputs=['rad_mom.stdhep'])

Add mother particles to tag trident particles.

Definition at line 27 of file rad_lhe_to_slic_job.py.

◆ nevents

nevents = job.params.get('nevents', 10000)

Definition at line 15 of file rad_lhe_to_slic_job.py.

◆ rot

rot = BeamCoords(inputs=mom.output_files(), outputs=['rad_mom_rot.stdhep'])

Rotate events into beam coords.

Definition at line 31 of file rad_lhe_to_slic_job.py.

◆ slic

slic
Initial value:
1= SLIC(inputs=rot.output_files(), outputs=['rad_mom_rot.slcio'],
2 nevents=nevents + 1)

SLIC.

Definition at line 34 of file rad_lhe_to_slic_job.py.

◆ unzip

unzip = Unzip(inputs=inputs, outputs=['rad.lhe'])

Unzip the LHE events to a local file.

Definition at line 21 of file rad_lhe_to_slic_job.py.