HPS-MC
rad_gen_job Namespace Reference

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...
 

Variable Documentation

◆ cnv

cnv = StdHepConverter(name="lhe_rad", inputs=mg.output_files())

Convert LHE output to stdhep.

Definition at line 23 of file rad_gen_job.py.

◆ description

description

Definition at line 9 of file rad_gen_job.py.

◆ inputs

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

Get job input file targets.

Definition at line 12 of file rad_gen_job.py.

◆ mg

mg = MG5(name='RAD', event_types=['unweighted'])

Generate rad in MG5.

Definition at line 20 of file rad_gen_job.py.

◆ mom

mom = AddMotherFullTruth(inputs=[cnv.output_files()[0], unzip.output_files()[0]], outputs=["rad_mom.stdhep"])

Add mother particle to tag trident particles.

Definition at line 29 of file rad_gen_job.py.

◆ nevents

int nevents = job.params['nevents']

Definition at line 15 of file rad_gen_job.py.

◆ rot

rot = BeamCoords(inputs=mom.output_files(), outputs=["rad_rot.stdhep"])

Rotate events into beam coords.

Definition at line 32 of file rad_gen_job.py.

◆ unzip

unzip = Unzip(inputs=mg.output_files(), outputs=["rad.lhe"])

Unzip the LHE events to a local file.

Definition at line 26 of file rad_gen_job.py.