community:hepsim:pgun
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
community:hepsim:pgun [2016/08/02 19:01] – asc | community:hepsim:pgun [2016/11/15 17:48] (current) – asc | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | |||
+ | [[community: | ||
+ | |||
====== Creating single particle samples ====== | ====== Creating single particle samples ====== | ||
- | Single particle samples are created using the ProMC Java package. | + | Single particle samples are created using the ProMC Java package. |
+ | Here is an example | ||
+ | |||
+ | You can use [[https://atlaswww.hep.anl.gov/asc/jas4pp/ | ||
+ | |||
+ | <code bash> | ||
+ | wget --no-check-certificate https://atlaswww.hep.anl.gov/ | ||
+ | fpad particle_gun.py # run this script using Jas4pp | ||
+ | </ | ||
+ | The last command creates 1000 single-pion events with random Eta, Phi and momenta. | ||
You can modify this script to change pT, Eta etc. | You can modify this script to change pT, Eta etc. | ||
+ | An example implemented in Jython is also given in [[http:// | ||
+ | |||
+ | |||
+ | |||
+ | --- // |
community/hepsim/pgun.1470164488.txt.gz · Last modified: 2016/08/02 19:01 by asc