HPS-MC
wab_gen_sample_job.py File Reference

Python script for generating sampled WAB events in StdHep format from an input LHE file. More...

Go to the source code of this file.

Namespaces

 wab_gen_sample_job
 

Variables

 description
 
 mg = MG4(name="wab")
 generate tritrig in MG4 More...
 
 cnv = StdHepConverter(inputs=mg.output_files(), outputs=['wab_events.stdhep'])
 Convert wab events to stdhep. More...
 
 rot = BeamCoords()
 Rotate WAB events into beam coordinates. More...
 
 sample
 Sample wabs using poisson distribution, calculating mu from provided cross section. More...
 

Detailed Description

Python script for generating sampled WAB events in StdHep format from an input LHE file.

The output events can be used as input to 'merge_job.py' with a beam StdHep file to for creating a wab-beam sample file.

Definition in file wab_gen_sample_job.py.