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 | |
| namespace | wab_gen_sample_job |
Variables | |
| description | |
| mg = MG4(name="wab") | |
| generate tritrig in MG4 | |
| cnv = StdHepConverter(inputs=mg.output_files(), outputs=['wab_events.stdhep']) | |
| Convert wab events to stdhep. | |
| rot = BeamCoords() | |
| Rotate WAB events into beam coordinates. | |
| sample | |
| Sample wabs using poisson distribution, calculating mu from provided cross section. | |
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.