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
Next revision Both sides next revision
hepsim:usage_analysis [2017/07/17 21:17]
hepsim17
hepsim:usage_analysis [2018/07/28 13:43]
hepsim17 [Using ProIO files]
Line 22: Line 22:
   *  Using Java web start from the browser.   *  Using Java web start from the browser.
   * "hs-ide file.py" command to launch the editor (from [[http://atlaswww.hep.anl.gov/hepsim/doc/doku.php?id=hepsim:hs-tools|hs-tools]] package)   * "hs-ide file.py" command to launch the editor (from [[http://atlaswww.hep.anl.gov/hepsim/doc/doku.php?id=hepsim:hs-tools|hs-tools]] package)
-  * "hs-run file.py" command to run using a command-line ("batch mode", from the [http://atlaswww.hep.anl.gov/hepsim/doc/doku.php?id=hepsim:hs-tools|hs-tools]] package)+  * "hs-run file.py" command to run using a command-line ("batch mode", from the [[http://atlaswww.hep.anl.gov/hepsim/doc/doku.php?id=hepsim:hs-tools|hs-tools]] package)
   * [[http://atlaswww.hep.anl.gov/asc/jas4pp/| Jas4pp]]   * [[http://atlaswww.hep.anl.gov/asc/jas4pp/| Jas4pp]]
   * [[http://jwork.org/dmelt/ |DMelt  IDE]]    * [[http://jwork.org/dmelt/ |DMelt  IDE]] 
Line 76: Line 76:
 </code> </code>
 This methods takes file list, and identify pT ranges given between the strings "_pt" and "_". In the above example, the output list will be [1000,5000]. This methods takes file list, and identify pT ranges given between the strings "_pt" and "_". In the above example, the output list will be [1000,5000].
-====== Reading the file header ======+ 
 +====== Using ProMC files ====== 
 + 
 + 
 +===== Reading the file header =====
  
 To read data from a ProMC file, you will need these statements: To read data from a ProMC file, you will need these statements:
Line 98: Line 102:
  
  
-====== Reading the event records ======+===== Reading the event records =====
  
  
Line 228: Line 232:
 Look at a typical example of jet clustering in the [[http://atlaswww.hep.anl.gov/hepsim/code.php?item=88&code=qcd_pythia8_ptbins_jets.py| qcd_pythia8_ptbins_jets.py code]]. Look at a typical example of jet clustering in the [[http://atlaswww.hep.anl.gov/hepsim/code.php?item=88&code=qcd_pythia8_ptbins_jets.py| qcd_pythia8_ptbins_jets.py code]].
  
-====== Event statistics ======+===== Event statistics =====
  
 Before closing ProMC file, you may need to access event statistics, cross sections and errors on cross sections.  Before closing ProMC file, you may need to access event statistics, cross sections and errors on cross sections. 
Line 246: Line 250:
   * [[http://atlaswww.hep.anl.gov/asc/promc/doc/api/promc/io/ProMCStatFile.ProMCStat.html | ProMCStat]] for MC   * [[http://atlaswww.hep.anl.gov/asc/promc/doc/api/promc/io/ProMCStatFile.ProMCStat.html | ProMCStat]] for MC
   * [[http://atlaswww.hep.anl.gov/asc/promc/doc/api/pronlo/io/ProMCStatFile.ProMCStat.html | ProMCStat]] for NLO   * [[http://atlaswww.hep.anl.gov/asc/promc/doc/api/pronlo/io/ProMCStatFile.ProMCStat.html | ProMCStat]] for NLO
 +
 +
 +
 +====== Using ProIO files ======
 +
 +
 +ProIO files have their own API (https://github.com/decibelcooper/proio).
 +It is at early stage of development. You can look at example of how to use ProIO here [http://atlaswww.hep.anl.gov/hepsim/info.php?item=325)
 +
  
 ====== Plots and histograms ====== ====== Plots and histograms ======