HPS-MC
rad_gen_job.py File Reference

Simulation of radiative events. More...

Go to the source code of this file.

Namespaces

 rad_gen_job
 

Variables

 description
 
 inputs = list(job.input_files.values())
 Get job input file targets. More...
 
 nevents = job.params['nevents']
 
 mg = MG5(name='RAD', event_types=['unweighted'])
 Generate rad in MG5. More...
 
 cnv = StdHepConverter(name="lhe_rad", inputs=mg.output_files())
 Convert LHE output to stdhep. More...
 
 unzip = Unzip(inputs=mg.output_files(), outputs=["rad.lhe"])
 Unzip the LHE events to a local file. More...
 
 mom = AddMotherFullTruth(inputs=[cnv.output_files()[0], unzip.output_files()[0]], outputs=["rad_mom.stdhep"])
 Add mother particle to tag trident particles. More...
 
 rot = BeamCoords(inputs=mom.output_files(), outputs=["rad_rot.stdhep"])
 Rotate events into beam coords. More...
 

Detailed Description

Simulation of radiative events.

Definition in file rad_gen_job.py.