archive-org.com » ORG » F » FREEHEP.ORG

Total: 883

Choose link from "Titles, links and description words view":

Or switch to "Titles and links view".
  • JAIDA - Java Application and JAIDA
    java awt BorderLayout import java awt event ActionEvent import java util Random import javax swing An example of how to embed a JAIDA IPlotter into your own application public class AIDAEmbed extends JPanel Creates a new instance of AIDAEmbed public AIDAEmbed super new BorderLayout IAnalysisFactory af IAnalysisFactory create ITree tree af createTreeFactory create IHistogramFactory hf af createHistogramFactory tree IHistogram1D h1d hf createHistogram1D Test 50 3 3 Fill with junk Random

    Original URL path: http://java.freehep.org/jaida/java-application-jaida.html (2016-02-10)
    Open archived version from archive

  • JAIDA - Servlets and JAIDA
    user s web browser Code import hep aida import hep aida ref plotter PlotterUtilities import java io IOException import java util Random import javax servlet ServletConfig import javax servlet ServletException import javax servlet ServletOutputStream import javax servlet http HttpServlet import javax servlet http HttpServletRequest import javax servlet http HttpServletResponse public class AIDAServlet extends HttpServlet private IPlotter plotter Initializes the servlet public void init ServletConfig config throws ServletException super init config

    Original URL path: http://java.freehep.org/jaida/servlet-jaida.html (2016-02-10)
    Open archived version from archive

  • JAIDA - JSP and JAIDA
    Issues Contributors Users User Documentation Release Notes Changes Getting Started Analysis Factory Features Fit Methods Statistical Comparison Examples Java Application Java Servlet JSP JAS3 Pnuts Jython C Geant4 AIDA Manual AIDA API Distribution Binary Repository JSP and JAIDA AIDATLD provides

    Original URL path: http://java.freehep.org/jaida/jsp-jaida.html (2016-02-10)
    Open archived version from archive

  • JAIDA - JAS3 and JAIDA
    Changes Getting Started Analysis Factory Features Fit Methods Statistical Comparison Examples Java Application Java Servlet JSP JAS3 Pnuts Jython C Geant4 AIDA Manual AIDA API Distribution Binary Repository JAS3 and JAIDA JAIDA is intended for use in simple standalone Java applications It provides the full AIDA functionality for Java but only limited GUI functionality JAS3 builds on the functionality of JAIDA and adds many GUI based interactive analysis tools JAS3

    Original URL path: http://java.freehep.org/jaida/jas3-jaida.html (2016-02-10)
    Open archived version from archive

  • JAIDA - Pnuts and JAIDA
    xml false true hf factory createHistogramFactory tree tree mkdir Histograms tree cd Histograms h1 hf createHistogram1D Histogram 1D 50 3 3 h2 hf createHistogram2D Histogram 2D 40 3 3 40 3 3 tree mkdir Clouds tree cd Clouds c1 hf createCloud1D Cloud 1D c2 hf createCloud2D Cloud 2D page1 factory createPlotterFactory create Page1 page1 show page1 createRegions 2 2 page1 region 0 plot h1 page1 region 1 plot h2 page1

    Original URL path: http://java.freehep.org/jaida/pnuts-jaida.html (2016-02-10)
    Open archived version from archive

  • JAIDA - Jython and JAIDA
    object oriented scripting language Jython is an implementation of Python written in Java Jython is able to access any Java object as if it were a Python object Thus it is very easy to use JAIDA with Jython The combination provides a very convenient way of exploring the capabilities of JAIDA To change the analysis factory by issue the following command within the script System getProperties setProperty hep aida IAnalysisFactory hep aida ref AnalysisFactory Installation Download and install Jython Add the installation directory to your PATH Code from hep aida import from java lang import from java util import System getProperties setProperty hep aida IAnalysisFactory hep aida ref AnalysisFactory true Boolean true false Boolean false factory IAnalysisFactory create tree factory createTreeFactory create UsingJAIDAFromJython aida xml false true hf factory createHistogramFactory tree fitter factory createFitFactory createFitter Chi2 uncmin tree mkdir Histograms tree cd Histograms h1 hf createHistogram1D Histogram 1D 50 3 3 h2 hf createHistogram2D Histogram 2D 40 3 3 40 3 3 tree mkdir Clouds tree cd Clouds c1 hf createCloud1D Cloud 1D c2 hf createCloud2D Cloud 2D page1 factory createPlotterFactory create Page1 page1 show page1 createRegions 2 2 page1 region 0 plot h1 page1 region 1 plot h2 page1

    Original URL path: http://java.freehep.org/jaida/jython-jaida.html (2016-02-10)
    Open archived version from archive

  • JAIDA - C++ and JAIDA
    GUI as for the Java case by specifying it via the JVM ARGS environment variable that is read when the Java Virtual Machine is started So for an analysis factory with the GUI set JVM ARGS Dhep aida IAnalysisFactory hep aida ref AnalysisFactory Code The following code illustrates how to invoke the AIDA interfaces from C include iostream include cstdlib include AIDA AIDA h include JIAnalysisFactory h using namespace AIDA int main int argc char argv AIDA IAnalysisFactory factory AIDA createAnalysisFactory ITree tree factory createTreeFactory create UsingJAIDAFromCPP aida xml false true IHistogramFactory hf factory createHistogramFactory tree tree mkdir Histograms tree cd Histograms IHistogram1D h1 hf createHistogram1D Histogram 1D 50 0 10 IHistogram2D h2 hf createHistogram2D Histogram 2D 40 0 10 40 0 10 tree mkdir Clouds tree cd Clouds ICloud1D c1 hf createCloud1D Cloud 1D ICloud2D c2 hf createCloud2D Cloud 2D IPlotter page1 factory createPlotterFactory create Page1 page1 show page1 createRegions 2 2 page1 region 0 plot h1 page1 region 1 plot h2 page1 region 2 plot c1 page1 region 3 plot c2 srand 0 for int i 0 i 10000 i h1 fill 10 rand double RAND MAX h2 fill 10 rand double RAND MAX 10 rand double RAND MAX c1 fill 10 rand double RAND MAX c2 fill 10 rand double RAND MAX 10 rand double RAND MAX tree commit delete factory return 1 Please notice that in the above code before the return statement the JIAnalysisFactory is deleted This way the execution thread will wait on the GUI to stop running Execution To run the above example tt is necessary to compile and link the code against the AIDAJNI libraries required for your platform set the environment variable AIDAJNI HOME to point the directory where the AIDAJNI code has been put set the environment variable JDK HOME

    Original URL path: http://java.freehep.org/jaida/cpp-jaida.html (2016-02-10)
    Open archived version from archive

  • JAIDA - Geant4 and JAIDA
    Forum Bugs and Issues Contributors Users User Documentation Release Notes Changes Getting Started Analysis Factory Features Fit Methods Statistical Comparison Examples Java Application Java Servlet JSP JAS3 Pnuts Jython C Geant4 AIDA Manual AIDA API Distribution Binary Repository Geant4 and JAIDA It is currently possible to use Geant4 with JAIDA 3 2 x The documentation on how to use the two softwares together can be found on the SLAC Geant4

    Original URL path: http://java.freehep.org/jaida/geant4-jaida.html (2016-02-10)
    Open archived version from archive



  •