Both sides previous revision
Previous revision
Next revision
|
Previous revision
|
hepsim:dev_truth [2017/02/07 02:31] hepsim17 |
hepsim:dev_truth [2018/08/30 00:55] (current) hepsim17 |
[[:|<< back to HepSim manual]] | [[:|<< back to HepSim manual]] |
| |
====== Creating truth-level samples ====== | ====== Creating EVGEN ====== |
| |
| HepSim is optimized to keep truth-level in the "archive" formats called [[https://atlaswww.hep.anl.gov/asc/promc/|ProMC]] or [[https://github.com/proio-org/| ProIO]]. It allows to keep data in a compact form optimized for data streaming over the network, together with logfiles which will help to identify the MC settings. |
| |
HepSim is optimized to keep truth-level in the "archive" format called [[https://atlaswww.hep.anl.gov/asc/promc/|ProMC]]. It allows to keep data in a compact form optimized for data streaming over the network, together with logfiles which will help to identify the MC settings. | |
| |
| |
| |
====== Using Pythia8====== | ====== Using Pythia8====== |
| |
ProMC files can be created directly by Pythia8. Look at the example "examples/main46.ccmain46.cc" inside the Pythi8 distribution. To compile it, | Basic examples how to make ProMC and ProIO files from Pythia8 are given in |
| [[https://github.com/hepsim-org|HepSim-Org]]. See "pythia8promc" and "pythia8proio" repository. |
| |
| |
| ====== Singularity containers====== |
| |
| Generally, you do not need to install Pythia8 to create ProMC files. You can run Pythia8 using the HepSim singularity container. This topic is described in [[hepsim:dev_singularity|HepSim singularity container]] section. Below we give the description how to use Pythia8 if you do not want to use HepSim docker container. |
| |
| |
| ProMC files can be created directly by Pythia8. Look at the example "examples/main46.cc" inside the Pythi8 distribution. To compile it, |
please install [[https://atlaswww.hep.anl.gov/asc/wikidoc/doku.php?id=asc:promc:installation|ProMC package]] first, before running configuration script | please install [[https://atlaswww.hep.anl.gov/asc/wikidoc/doku.php?id=asc:promc:installation|ProMC package]] first, before running configuration script |
of Pythia8. If the environmental variable "PROMC" was set, then you can compile "main46.cc" example. | of Pythia8. If the environmental variable "PROMC" was set, then you can compile "main46.cc" example. |
* lhe2promc | * lhe2promc |
* stdhep2promc | * stdhep2promc |
| * txt2promc |
| |
| Look at the [[https://atlaswww.hep.anl.gov/asc/promc/|ProMC manuals]] for more examples. |
| |
Look at the [[asc:promc|ProMC manual]] for more examples. | One useful example showing how to read a text file with Monte Carlo events and fill correct ProMC file is given by |
| the example "txt2promc". Simply run the script "README". |
| |
====== Using Madgraph5====== | ====== Using Madgraph5====== |