HPS-MC
tritrig_gen_to_slic_job Namespace Reference

Variables

 description
 
 nevents = job.params['nevents']
 
 mg = MG5(name='tritrig')
 Generate tritrig in MG5. More...
 
 unzip = Unzip(inputs=mg.output_files())
 Unzip the LHE events to a local file. More...
 
 cnv
 Convert LHE output to stdhep. More...
 
 mom
 Add mother particle to tag trident particles. More...
 
 rot
 Rotate events into beam coords. More...
 
 slic
 Add ptag for gen file. More...
 

Variable Documentation

◆ cnv

cnv
Initial value:
1 = StdHepConverter(inputs=mg.output_files(),
2  outputs=['tritrig.stdhep'])

Convert LHE output to stdhep.

Definition at line 23 of file tritrig_gen_to_slic_job.py.

◆ description

description

Definition at line 9 of file tritrig_gen_to_slic_job.py.

◆ mg

mg = MG5(name='tritrig')

Generate tritrig in MG5.

Definition at line 17 of file tritrig_gen_to_slic_job.py.

◆ mom

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

Add mother particle to tag trident particles.

Definition at line 27 of file tritrig_gen_to_slic_job.py.

◆ nevents

int nevents = job.params['nevents']

Definition at line 12 of file tritrig_gen_to_slic_job.py.

◆ rot

rot
Initial value:
1 = BeamCoords(inputs=['tritrig_mom.stdhep'],
2  outputs=['tritrig_mom_rot.stdhep'])

Rotate events into beam coords.

Definition at line 31 of file tritrig_gen_to_slic_job.py.

◆ slic

slic
Initial value:
1 = SLIC(inputs=['tritrig_mom_rot.stdhep'],
2  outputs=['tritrig_mom_rot.slcio'],
3  nevents=nevents + 1)

Add ptag for gen file.

SLIC

Definition at line 38 of file tritrig_gen_to_slic_job.py.

◆ unzip

unzip = Unzip(inputs=mg.output_files())

Unzip the LHE events to a local file.

Definition at line 20 of file tritrig_gen_to_slic_job.py.