7 Data structures supported by jHepWork

The main data types and structures can be divided into several categories:

  1. Data types and structures of the Jython/Python programming languagehttp://www.jython.org/ such as, such as ``string'', ``list'', ``tuple'', ``sets'' ``maps'', ``dictionaries''. Read Pythonhttp://docs.python.org/tut/ for more details

  2. Data types and structures and packages of the extensive standard JAVA libraries. For example, to import random number generator use the statement:

    >>> from java.util import Random
    

  3. Data types and structures from Numeric. You should import them as:

    >>> from Numeric import *
    

  4. Data types and structures from JScihttp://jsci.sourceforge.net/. Here is an example of import of mathematical packages:

    >>> from JSci.math import *
    

  5. All JAIDA data structures for histogramming, fit etc. Usually, to import JAIDA classes, the user should include:

    >>> hep.aida import *
    

  6. Finally, data structures of jHepWork itself, which, in several cases, are build on top of JAIDA histogram classes. Those include histogram classes (H1D, H2D) and data containers for scientific plots with 2-level errors (statistical and systematical errors), which is called P1D, and functions F1D and F2D. All such classes are included to JHPlot packagehttp://hepforge.cedar.ac.uk/jhepwork/api/jhplot/package-summary.html. You can import such classes as:

    >>> from jhplot import *
    

The most important classes of JHPlot package, which is the core of jHepWork, will be discussed below.