This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
community:refhepsim [2016/03/23 21:36] asc [Full detector simulation] |
community:refhepsim [2016/03/31 00:42] asc [Method III. Running in a GUI mode] |
||
---|---|---|---|
Line 25: | Line 25: | ||
* [[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 [[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. | ||
Line 350: | Line 351: | ||
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 389: | Line 406: | ||
</ | </ | ||
+ | Similarly, | ||
===== Method III. Running in a GUI mode ==== | ===== Method III. Running in a GUI mode ==== | ||
Line 398: | Line 416: | ||
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 407: | Line 433: | ||
===== 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 |