community:refhepsim
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
community:refhepsim [2016/03/29 14:58] – [Physics and detector studies] asc | community:refhepsim [2016/04/28 18:23] (current) – [On the fly reconstruction] asc | ||
---|---|---|---|
Line 15: | Line 15: | ||
====== | ====== | ||
+ | |||
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: | * [[vlhc: | ||
- | Currently these studies are based on [[https:// | + | Currently these studies are based on [[http:// |
- | Geometry files for full detector simulations can be found in the [[https:// | + | Geometry files for full detector simulations can be found in the [[http:// |
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:// | + | [[community: |
+ | |||
+ | <fc # | ||
====== | ====== | ||
Line 234: | Line 237: | ||
If you are interested in a specific reconstruction tag, use " | If you are interested in a specific reconstruction tag, use " | ||
Example: | Example: | ||
- | < | + | < |
hs-find pythia%rfast001 | hs-find pythia%rfast001 | ||
</ | </ | ||
Line 285: | Line 288: | ||
the names are usually have the substring " | the names are usually have the substring " | ||
- | < | + | < |
hs-get tev13_higgs_pythia8_ptbins data 2 5 pt100_ | hs-get tev13_higgs_pythia8_ptbins data 2 5 pt100_ | ||
</ | </ | ||
Line 310: | Line 313: | ||
fast simulation, version 001). To download the reconstructed events for the reconstruction tag " | fast simulation, version 001). To download the reconstructed events for the reconstruction tag " | ||
- | < | + | < |
hs-ls tev100_ttbar_mg5%rfast001 | hs-ls tev100_ttbar_mg5%rfast001 | ||
hs-get tev100_ttbar_mg5%rfast001 data # download to the " | hs-get tev100_ttbar_mg5%rfast001 data # download to the " | ||
Line 320: | Line 323: | ||
</ | </ | ||
As before, one can also download the files using the URL: | As before, one can also download the files using the URL: | ||
- | < | + | < |
hs-ls http:// | hs-ls http:// | ||
hs-get http:// | hs-get http:// | ||
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 | + | 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:// | As before, make sure that [[http:// | ||
Line 351: | Line 354: | ||
hs-run ttbar_mg5.py | hs-run ttbar_mg5.py | ||
</ | </ | ||
- | Another approach is to use [[http:// | ||
- | In this example, we will run a Python script that downloads data from URL into the computer memory | ||
+ | Another approach is to use [[http:// | ||
+ | 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 | ||
+ | |||
+ | Here is how to process the analysis using [[http:// | ||
+ | |||
+ | <code bash> | ||
+ | wget http:// | ||
+ | tar -zvxf jas4pp.tgz | ||
+ | cd jas4pp | ||
+ | source ./setup.sh # takes 5 sec for first-time optimization | ||
+ | wget http:// | ||
+ | fpad ttbar_mg5.py # process it in a batch mode. | ||
+ | </ | ||
+ | |||
+ | |||
+ | |||
+ | Similarly, you can use a more complex [[http:// | ||
<code bash> | <code bash> | ||
wget -O dmelt.zip http:// | wget -O dmelt.zip http:// | ||
Line 390: | Line 409: | ||
</ | </ | ||
+ | Similarly, | ||
===== Method III. Running in a GUI mode ==== | ===== Method III. Running in a GUI mode ==== | ||
Line 399: | Line 419: | ||
Run this code by pressing " | Run this code by pressing " | ||
- | 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 | ||
+ | </ | ||
+ | Then, use the right mouse button and select "Run Python" | ||
+ | |||
+ | |||
+ | For the DMelt IDE, you can also bring up a full-featured GUI editor as this: | ||
<code bash> | <code bash> | ||
Line 408: | 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 676: | Line 706: | ||
===== On the fly reconstruction ===== | ===== On the fly reconstruction ===== | ||
- | HepSim | + | HepSim |
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.1459263502.txt.gz · Last modified: 2016/03/29 14:58 by asc