User Tools

Site Tools


community:refhepsim

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:refhepsim [2016/03/31 00:41]
asc [Method IV. Running in a GUI mode using URL dialog]
community:refhepsim [2016/04/28 18:23] (current)
asc [On the fly reconstruction]
Line 15: Line 15:
  
 ======  Physics and detector studies  ====== ======  Physics and detector studies  ======
 +
  
  Here are several links to extending this Wiki for particular detector-performance topics:  Here are several links to extending this Wiki for particular detector-performance topics:
Line 29: Line 30:
  
 This manual describes how to work with truth-level samples posted on HepSim. This manual describes how to work with truth-level samples posted on HepSim.
-[[https://atlaswww.hep.anl.gov/asc/wikidoc/doku.php?id=community:refhepsim_analysis|HepSim Python/Java analysis page]] explains how to write code to read truth-level files using Python on the Java platform.+[[community:refhepsim_analysis|HepSim Python/Java analysis page]] explains how to write code to read truth-level files using Python on the Java platform
 + 
 +<fc #008000>We are working on a  more extensive manual [[community:hepsim|here]]</fc>.
  
 ======  Data formats ====== ======  Data formats ======
Line 234: Line 237:
 If you are interested in a specific reconstruction tag, use "%" to separate the search string and the tag name. If you are interested in a specific reconstruction tag, use "%" to separate the search string and the tag name.
 Example: Example:
-<code>+<code bash>
 hs-find pythia%rfast001 hs-find pythia%rfast001
 </code> </code>
Line 285: Line 288:
 the names are usually have the substring "pt", followed by the pT cuts. In this case, one can download such files as: the names are usually have the substring "pt", followed by the pT cuts. In this case, one can download such files as:
  
-<code>+<code bash>
 hs-get tev13_higgs_pythia8_ptbins data 2 5 pt100_ hs-get tev13_higgs_pythia8_ptbins data 2 5 pt100_
 </code> </code>
Line 310: Line 313:
 fast simulation, version 001). To download the reconstructed events for the reconstruction tag "rfast001", use this syntax: fast simulation, version 001). To download the reconstructed events for the reconstruction tag "rfast001", use this syntax:
  
-<code>+<code bash>
 hs-ls  tev100_ttbar_mg5%rfast001      # list reco files with the tag "rfast001" hs-ls  tev100_ttbar_mg5%rfast001      # list reco files with the tag "rfast001"
 hs-get tev100_ttbar_mg5%rfast001 data # download to the "data" directory hs-get tev100_ttbar_mg5%rfast001 data # download to the "data" directory
Line 320: Line 323:
 </code> </code>
 As before, one can also download the files using the URL: As before, one can also download the files using the URL:
-<code>+<code bash>
 hs-ls http://mc.hep.anl.gov/asc/hepsim/events/pp/100tev/ttbar_mg5/rfast001/ # list all files hs-ls http://mc.hep.anl.gov/asc/hepsim/events/pp/100tev/ttbar_mg5/rfast001/ # list all files
 hs-get http://mc.hep.anl.gov/asc/hepsim/events/pp/100tev/ttbar_mg5/rfast001/ data hs-get http://mc.hep.anl.gov/asc/hepsim/events/pp/100tev/ttbar_mg5/rfast001/ data
Line 339: Line 342:
  You can create plots using a number of programming languages, Java, Python, C++, Ruby, Groovy etc. Plots can be done on any platform, without modifying your system. C++ analysis programs require ROOT and Linux.  You can create plots using a number of programming languages, Java, Python, C++, Ruby, Groovy etc. Plots can be done on any platform, without modifying your system. C++ analysis programs require ROOT and Linux.
  
-Belows we will discuss how to analyse HepSim data using Java, since this approach works on any+Below we will discuss how to analyse HepSim data using Java, since this approach works on any
 platform (Linux, Mac, Windows) and does not require installation of any platform-specific program.  platform (Linux, Mac, Windows) and does not require installation of any platform-specific program. 
 As before, make sure that [[http://java.com/en/download/index.jsp| Java 7]] and above is installed (check it as "java -version"). As before, make sure that [[http://java.com/en/download/index.jsp| Java 7]] and above is installed (check it as "java -version").
Line 416: Line 419:
 Run this code  by pressing "run". This approach uses a light-weight editor built-in inside the hs-tool package.   Run this code  by pressing "run". This approach uses a light-weight editor built-in inside the hs-tool package.  
  
-You can also bring up a full-featured GUI editor as this:+For Jas4pp, you can  start an editor, correct the script, and run it: 
 + 
 +<code bash> 
 +./jaspp ttbar_mg5.py # Open the script in the editor 
 +</code> 
 +Then, use the right mouse button and select "Run Python"You will see the output.  
 + 
 + 
 +For the DMelt IDE, you can also bring up a full-featured GUI editor as this:
  
 <code bash> <code bash>
Line 426: Line 437:
 ===== Method IV. Running in a GUI mode using URL dialog  ==== ===== Method IV. Running in a GUI mode using URL dialog  ====
  
-For Jas4pp, you can  start an editor, correct the script, and run it: 
- 
-<code bash> 
-./jaspp ttbar_mg5.py # Open the script in the editor 
-</code> 
-Then, use the right mouse button and select "Run Python". You will see the output.  
  
  
Line 701: Line 706:
  
 ===== On the fly reconstruction ===== ===== On the fly reconstruction =====
-HepSim ca be used create ROOT files after fast detector simulation, or +HepSim can be used to create ROOT files after fast detector simulation, or 
 one can analyse events after the Delphes fast simulation program on the fly. one can analyse events after the Delphes fast simulation program on the fly.
 The latter approach allows to make changes to  the detector geometry by the end-users and, at the the same time, perform an analysis. The latter approach allows to make changes to  the detector geometry by the end-users and, at the the same time, perform an analysis.
community/refhepsim.1459384861.txt.gz · Last modified: 2016/03/31 00:41 by asc