This example shows how to simulate 2-body decays using a Monte Carlo simulation using Java / Jython. (the macro is written using Jython). A particle is represented by a Java LParticle (LorentParticle) class.
- Download Wdecays.py and run it from jHepWork IDE. The output EPS figure is angle.eps
Download examples
| Example file | size (KB) | Date |
|---|---|---|
| angle.eps | 126.75 KB | 13/12/2009 12:24:01 |
| Wdecays.py | 1.29 KB | 13/12/2009 12:24:19 |