User Tools

Site Tools


community:hepsim:dev_truth

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
community:hepsim:dev_truth [2016/06/13 13:07]
asc [Using Madgraph5]
community:hepsim:dev_truth [2016/06/13 13:52] (current)
asc [Using converters]
Line 5: Line 5:
 HepSim is optimized to keep truth-level in the "archive" format called [[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. HepSim is optimized to keep truth-level in the "archive" format called [[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.
  
-ProMC files can be created directly by Pythi8 (the example "main46.cc" in the Pythi8). Or, you can convert files in the format "HEPMC", "LHE", "STDHEP" to ProMC as shown in the "example" directory of the installed ProMC package (look at $PROMC/examples). The converters are:+ 
  
-  * hepmc2promc +====== 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, 
 +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. 
 + 
 + 
 +====== Using converters ====== 
 +You can convert files in the format "HEPMC", "LHE", "STDHEP" to ProMC as shown in the "example" directory of the installed ProMC package (look at the directory $PROMC/examples). The converters are: 
 + 
 +  * hepmc2promc  
   * lhe2promc    * lhe2promc 
   * stdhep2promc   * stdhep2promc
Line 16: Line 26:
  
 To run MG5 with ProMC, please  install [[https://atlaswww.hep.anl.gov/asc/wikidoc/doku.php?id=asc:promc:installation|ProMC package]] first. To run MG5 with ProMC, please  install [[https://atlaswww.hep.anl.gov/asc/wikidoc/doku.php?id=asc:promc:installation|ProMC package]] first.
-The download MG5 with preconfigured ProMC output from  [[https://atlaswww.hep.anl.gov/hepsim/soft/package_mg14tev.tgz|package_mg14tev.tgz]].+Then download MG5 package with preconfigured ProMC converter from  [[https://atlaswww.hep.anl.gov/hepsim/soft/package_mg14tev.tgz|package_mg14tev.tgz]].
  
 <code bash> <code bash>
Line 31: Line 41:
 If successful, then you should see the binary file "stdhep2promc". If successful, then you should see the binary file "stdhep2promc".
  
-Now let compile "MG5". Go to the directory "MG5_aMC_v2_3_2_2". We assume 64bit Scientific Linux 6.5 computer. Setup gcc47. In the case of ATLAS setup, use:+Now let compile and run "MG5". Go to the directory "MG5_aMC_v2_3_2_2". This directory has the standard MG5 package, a few useful bash scripts, and a few preconfigured  
 +jobs for 14 TeV pp collision. We assume 64bit Scientific Linux 6.5 computer. Setup gcc47. In the case of ATLAS setup, use:
  
 <code bash> <code bash>
Line 43: Line 54:
 </code> </code>
  
-It does the following: It runs the script "RUN_ttbar_jet_14tev" which creates promc files inside "out" directory. +It does the following: It runs the script "RUN_ttbar_jet_14tev" which creates promc files inside "out" directory. It also reset the seed for each jobs, 
 +and runs the promc converter.
 The number of output files are given inside the script A_RUN_ttbar_jet. You should reduce this number if you want to stop earlier. The number of output files are given inside the script A_RUN_ttbar_jet. You should reduce this number if you want to stop earlier.
  
Line 49: Line 61:
  
  
-To check the output ProMc file, look at the browser:+To check the output ProMC file, look at the browser:
  
 <code bash> <code bash>
Line 57: Line 69:
 where "file" is the name of the file being created. Typically, it takes 3h to create one file with 10,000 events. where "file" is the name of the file being created. Typically, it takes 3h to create one file with 10,000 events.
  
 +You can host these files on your data storage, or send an email to "[email protected]" to relocated them to the OSG-grid file storage.
    
 ====== Single-particle gun ====== ====== Single-particle gun ======
community/hepsim/dev_truth.1465823242.txt.gz · Last modified: 2016/06/13 13:07 by asc