HPS-MC
tritrig_prep_and_slic_job.py File Reference

Add mother particle information to tritrig events and rotate them into beam coordinates before simulating detector response using slic. More...

Go to the source code of this file.

Namespaces

 tritrig_prep_and_slic_job
 

Variables

 description
 
 inputs = list(job.input_files.values())
 Get job input file targets. More...
 
 unzip = Unzip(inputs=inputs, outputs=["tritrig.lhe"])
 Unzip the LHE events to a local file. More...
 
 cnv = StdHepConverter(inputs=inputs, outputs=['tritrig.stdhep'])
 Convert LHE output to stdhep. More...
 
 mom = AddMotherFullTruth(inputs=[cnv.output_files()[0], unzip.output_files()[0]], outputs=['tritrig_mom.stdhep'])
 Add mother particle to tag trident particles. More...
 
 rot = BeamCoords(inputs=['tritrig_mom.stdhep'])
 Rotate events into beam coords. More...
 
 slic = SLIC(inputs=rot.output_files())
 Simulate detector response. More...
 

Detailed Description

Add mother particle information to tritrig events and rotate them into beam coordinates before simulating detector response using slic.

Definition in file tritrig_prep_and_slic_job.py.