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/23 21:01]
asc [Reading NLO predictions]
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 25: Line 26:
   * [[vlhc:hcal|HCAL studies]] explains how to analyse ROOT data after fast detector simulations used for FCC studies   * [[vlhc:hcal|HCAL studies]] explains how to analyse ROOT data after fast detector simulations used for FCC studies
  
-Currently these studies are based on  [[https://atlaswww.hep.anl.gov/asc/jas4pp|Jas4pp data-analysis environment]].+Currently these studies are based on  [[http://atlaswww.hep.anl.gov/asc/jas4pp|Jas4pp data-analysis environment]]. 
 +Geometry files for full detector simulations can be found in the  [[http://atlaswww.hep.anl.gov/hepsim/soft/detectors/|detector repository]].
  
 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 90: Line 94:
 You will see a pop-up GUI browser which displays the MC record. You can search for a given particle name, view data layouts and log files using the [Menu]: You will see a pop-up GUI browser which displays the MC record. You can search for a given particle name, view data layouts and log files using the [Menu]:
  
 +<hidden>
 {{:community:promc_browser.png| ProMC browser}} {{:community:promc_browser.png| ProMC browser}}
 +</hidden>
  
 This works for full parton-shower simulations with detailed information on particles. This works for full parton-shower simulations with detailed information on particles.
Line 231: 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 282: 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 307: 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 317: 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 336: 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 348: Line 354:
 hs-run ttbar_mg5.py hs-run ttbar_mg5.py
 </code> </code>
-Another approach is to use [[http://jwork.org/dmelt/ | DataMelt]] that gives more flexibility and more libraries for analysis. 
-In this example, we will run a Python script that downloads data from URL into the computer memory  and runs it in a batch mode. First, you will need an analysis code from HepSim. Look at ttbar sample from Madgraph: [[http://atlaswww.hep.anl.gov/hepsim/info.php?item=15 | ttbar_mg5]].  Find the URL location of the analysis script ("ttbar_mg5.py") located at the bottom of this page. Then copy the URL link of the file *.py using the right mouse button ("Copy URL Location"). Let us make a calculation of differential ttbar cross section: 
  
 +Another approach is to use [[http://atlaswww.hep.anl.gov/asc/jas4pp | Jas4pp]] or  [[http://jwork.org/dmelt/ | DataMelt]]. Such programs 
 +give more flexibility and more libraries for analysis.
 +In this example, we will run a Python script that downloads data from URL into the computer memory  and runs it in a batch mode. First, you will need an analysis code from HepSim. Look at ttbar sample from Madgraph: [[http://atlaswww.hep.anl.gov/hepsim/info.php?item=15 | ttbar_mg5]].  Find the URL location of the analysis script ("ttbar_mg5.py") located at the bottom of this page. Then copy the URL link of the file *.py using the right mouse button ("Copy URL Location"). Let us make a calculation of differential ttbar cross section. 
 +
 +Here is how to process the analysis using  [[http://atlaswww.hep.anl.gov/asc/jas4pp | Jas4pp]]:
 +
 +<code bash>
 +wget http://atlaswww.hep.anl.gov/asc/jas4pp/download/current.php -O jas4pp.tgz
 +tar -zvxf jas4pp.tgz
 +cd jas4pp
 +source ./setup.sh # takes 5 sec for first-time optimization
 +wget http://mc.hep.anl.gov/asc/hepsim/events/pp/100tev/ttbar_mg5/macros/ttbar_mg5.py # get the HepSim script
 +fpad ttbar_mg5.py # process it in a batch mode.
 +</code>
 +
 +
 +
 +Similarly, you can use a more complex [[http://jwork.org/dmelt/ | DataMelt]]:
 <code bash> <code bash>
 wget -O dmelt.zip http://jwork.org/dmelt/download/current.php                        # get DataMelt wget -O dmelt.zip http://jwork.org/dmelt/download/current.php                        # get DataMelt
Line 387: Line 409:
 </code> </code>
  
 +Similarly,  you can use  [[http://atlaswww.hep.anl.gov/asc/jas4pp | Jas4pp]].
 ===== Method III. Running in a GUI mode  ==== ===== Method III. Running in a GUI mode  ====
  
Line 396: 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 405: Line 436:
  
 ===== Method IV. Running in a GUI mode using URL dialog  ==== ===== Method IV. Running in a GUI mode using URL dialog  ====
 +
 +
  
 If you use DMelt, you can run this code using If you use DMelt, you can run this code using
Line 673: 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.
Line 787: Line 820:
 Currently, the full detector simulation can be done using the SLIC software. You will need to convert ProMC files to LCIO files and Currently, the full detector simulation can be done using the SLIC software. You will need to convert ProMC files to LCIO files and
 use these files for the "sclic" Geant4-based program. use these files for the "sclic" Geant4-based program.
 +
 +The physics performance studies are  [[fcs:start|listed here]]. They are based on  [[http://atlaswww.hep.anl.gov/asc/jas4pp|Jas4pp program]].
  
 How to convert ProMC to LCIO files is described in How to convert ProMC to LCIO files is described in
 [[community:refhepsim&#converting_to_lcio]] [[community:refhepsim&#converting_to_lcio]]
  
-You can analyse SLCIO files as described in [[https://atlaswww.hep.anl.gov/asc/wikidoc/doku.php?id=fcs:fpad|FPadSoft environment]] explains how to analyse LCIO data after full detector simulations 
 ====== Pileups mixing  ====== ====== Pileups mixing  ======
  
community/refhepsim.1458766895.txt.gz · Last modified: 2016/03/23 21:01 by asc