asc:jas4pp
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
asc:jas4pp [2021/02/19 20:08] – asc | asc:jas4pp [2024/01/30 15:50] (current) – [Reading LCIO files] asc | ||
---|---|---|---|
Line 27: | Line 27: | ||
a data-analysis environment for detector and physics studies of future circular colliders. Jas4PP is a merge of several open-source Java projects, such as | a data-analysis environment for detector and physics studies of future circular colliders. Jas4PP is a merge of several open-source Java projects, such as | ||
* [[http:// | * [[http:// | ||
- | * Many file formats used in HEP, including | + | * Many file formats used in HEP, including |
- | * [[https:// | + | * [[https:// |
* [[https:// | * [[https:// | ||
* [[http:// | * [[http:// | ||
Line 43: | Line 43: | ||
+ | ====== Installation | ||
The installation does not have external dependencies. | The installation does not have external dependencies. | ||
One can find Oracle JDK or JRE versions from the [[http:// | One can find Oracle JDK or JRE versions from the [[http:// | ||
Line 48: | Line 49: | ||
- | <note tip>Although Jas4pp works on JDK8, we strongly recommend to use JDK9 (or OpenJDK9) and above. This will significantly increase the speed for numeric computations. | + | <note tip>We strongly recommend to use JDK18 (or OpenJDK18) and above. This will significantly increase the speed for numeric computations. |
</ | </ | ||
You can download the Jas4pp program using the [[http:// | You can download the Jas4pp program using the [[http:// | ||
- | Then run these commands to install the package using Linux/Mac with the " | + | |
+ | You can use Jas4pp installer program (jas4pp-[VERSION]-installer.jar). | ||
+ | It asks several questions and creates an icon on a desktop. It is recommended to install the program in " | ||
+ | |||
+ | Alternatively, | ||
+ | Run these commands to install the package using Linux/Mac with the " | ||
<code bash> | <code bash> | ||
Line 66: | Line 72: | ||
{{: | {{: | ||
+ | |||
+ | ====== How to run ====== | ||
Use this GUI to explore examples with data visualisation shown in the main window: | Use this GUI to explore examples with data visualisation shown in the main window: | ||
Line 439: | Line 447: | ||
<note warning> | <note warning> | ||
+ | ====== | ||
+ | |||
+ | Jas4pp can visualize histograms created by Fortran or C++ code (but without using ROOT). For this, use a light stand-alone library called CFBook (See [[https:// | ||
+ | |||
+ | <hidden Click to show the Python code> | ||
+ | <code python> | ||
+ | from jhplot | ||
+ | from jhplot.io import * | ||
+ | |||
+ | hb = CFBook() | ||
+ | hb.read(" | ||
+ | print hb.listAll() | ||
+ | print hb.getKeysH1D() # list keys | ||
+ | h1=hb.getH1D(1) | ||
+ | c1=HPlot(" | ||
+ | c1.setGTitle(" | ||
+ | c1.visible(1) | ||
+ | c1.setAutoRange() | ||
+ | c1.draw(h1) | ||
+ | |||
+ | </ | ||
+ | </ | ||
====== Reading LCIO files ====== | ====== Reading LCIO files ====== | ||
Line 520: | Line 550: | ||
See [[http:// | See [[http:// | ||
+ | ====== Reading LCIO files from Delphes ====== | ||
+ | |||
+ | The Delphes program has somewhat different containers, but they alos can be processed by Jas4pp using Python code. You can find Delphes LCIO files in [[https:// | ||
+ | |||
Line 772: | Line 806: | ||
* N.Nikiforou | * N.Nikiforou | ||
* G.Gavalian (JLab) | * G.Gavalian (JLab) | ||
+ | * Khushi Taori (ANL SULI 2021 student). ROOT6 support | ||
asc/jas4pp.1613765328.txt.gz · Last modified: 2021/02/19 20:08 by asc