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".
  • The FreeHEP Application Framework
    the application package brings these capabilities all together in one place The application package makes some assumptions about the application design but provides many ways in which it can be customized Setting of properties via an application properties file Maintenance of user preferences between sessions using a user properties file A services package which provides for writing applications which can run as standalone applications trusted JNLP applications or untrusted JNLP applications Use of XML to define menus and toolbars Use of a command manager for dispatching commands to command targets Command line parsing About dialog Print Preview capabilities Recent File menu s maintained between sessions Reporting of errors to the user JDK compatibility testing Dynamic Look and Feel switching and persistency between sessions Window size and position maintained between sessions Splash Screen Status bar with message area and progress meter including support for canceling time consuming operations Help system using JavaHelp As an alternative to customization by overriding methods much of the application functionality can be controlled using the application property file Property Purpose Default User overide Legal values version Version 1 0 no fullVersion Version description title version no confirmQuit Ask before quit maybe yes never maybe always confirmQuitMessage Confirm quit message Do you really want to quit yes confirmQuitTitle Title for confirm quit dialog Confirm Quit yes showSplash Should splash screen appear at startup true yes true false splashTitle Title for splash screen title yes splashImage Image for splash screen aboutImage yes numberOfInitializationStages Automatically set after first application invokation 10 yes lookAndFeel Look and Feel System yes System Java name title Application title appName yes icon Application icon null yes topLevelToolBar Name of default tool bar in XML file null yes topLevelMenuBar Name of default menu bar in XML file null yes topLevelPopupMenu Name of default popup menu

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


  • AID - Overview
    and keeps all information in a runtime type identification RTTI tree in memory It then uses several generators to generate the language specific interfaces and or classes It also uses a simple pre processor to handle cases where the method definitions differ between different languages The system is depicted below nbsp nbsp nbsp nbsp nbsp nbsp nbsp nbsp nbsp nbsp nbsp nbsp nbsp nbsp nbsp nbsp nbsp nbsp nbsp nbsp

    Original URL path: http://java.freehep.org/freehep1.x/aid/index.html (2016-02-10)
    Open archived version from archive

  • JAIDA
    FreeHEP library JAIDA allows Java programmers to quickly and easily create histograms scatter plots and tuples perform fits view plots and store and retrieve analysis objects from files JAIDA can be used either in a non graphical environment for batch processing or with a GUI to be used just to display plots In addition files written with JAIDA adhere to the AIDA IO standards and can be read by any AIDA compliant analysis system JAIDA is used internally by JAS3 which provides a full featured GUI in addition to the above functionality By using the AIDA C Java adapter AIDAJNI JAIDA can also be used from any C program The current release of JAIDA is 3 2 4 and is based on AIDA 3 2 1 We are still providing support for JAIDA 3 0 x For details on how to use JAIDA give a look at the release notes nbsp nbsp nbsp nbsp nbsp nbsp nbsp nbsp nbsp nbsp nbsp nbsp nbsp nbsp nbsp nbsp nbsp nbsp nbsp nbsp nbsp nbsp nbsp nbsp nbsp nbsp nbsp nbsp nbsp nbsp nbsp nbsp nbsp nbsp nbsp nbsp nbsp nbsp nbsp nbsp nbsp nbsp nbsp nbsp nbsp nbsp nbsp nbsp nbsp nbsp

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

  • Using JAIDA from C
    which can afterwards be analysed using JAS3 Java Analysis Studio The package is available for the Linux Windows Sun and MacOS X platforms using a variety of compilers AIDAJNI uses the JNI Java Native Interface to access Java from C and vice versa nbsp nbsp nbsp nbsp nbsp nbsp nbsp nbsp nbsp nbsp nbsp nbsp nbsp nbsp nbsp nbsp nbsp nbsp nbsp nbsp nbsp nbsp nbsp nbsp nbsp nbsp nbsp

    Original URL path: http://java.freehep.org/freehep1.x/aidajni/index.html (2016-02-10)
    Open archived version from archive

  • FreeHEP IO - Overview
    close If you have a stream from which you suddenly need to read in a different encoding ASCII85 wrap the stream in a NoCloseInputStream then wrap that one in the encoding read until the end of stream marker then close that stream and keep reading from the underlying stream BitIn OutputStream Reads or writes in bit format of any length bit streams ByteOrderInput OutputStream Reads or writes lo of hi endian byte streams ByteCountInput OutputStream Reads or writes a stream while keeping track the number of bytes read or written Also keeps track of sub counts if necessary UniquePrintStream Keeps track of the strings one is printing and prints them only on the first occasion Allows you to filter error messages for instance Standard Encoding Streams ASCII85In OutputStream Reads or writes ASCII85 encoding used in e mail for instance ASCIIHexIn OutputStream Reads or writes ASCIIHex encoding DCTIn OutputStream Reads or writes Discrete Cosine Transform encoding used in JPEG image for instance RunLengthIn OutputStream Reads or writes Run Length encoding used in PostScript sometimes EExecEn Decryption Reads or writes EExec encoding used in Type1 fonts Tagged Streams TaggedInput OutputStream Tag UndefinedTag TagSet Action Action Unknown and ActionSet Reads or writes tags Tags are blocks identified by some tag id and a tag length A specific TagSet can be used to handle the tags as they are read or written UndefinedTags can be skipped automatically For writing the tag length is automatically calculated Total stream length can also be calculated Actions are handled as a special set of Tags Conditional Streams ConditionalInputStream Reads a stream and filters parts depending on properties set and statements in the stream Works like the conditional compilation part of a C pre processor RoutedInputStream and RouteListener Routes a stream to a listener who can keep reading from

    Original URL path: http://java.freehep.org/freehep1.x/io/index.html (2016-02-10)
    Open archived version from archive

  • Using JAIDA from C
    viewer or it can be embedded in a user application Some limitations on the PostScript interpretation exist nbsp nbsp nbsp nbsp nbsp nbsp nbsp nbsp nbsp nbsp nbsp nbsp nbsp nbsp nbsp nbsp nbsp nbsp nbsp nbsp nbsp nbsp nbsp nbsp nbsp nbsp nbsp nbsp nbsp nbsp nbsp nbsp nbsp nbsp nbsp nbsp nbsp nbsp nbsp nbsp nbsp nbsp nbsp nbsp nbsp nbsp nbsp nbsp nbsp nbsp nbsp nbsp nbsp

    Original URL path: http://java.freehep.org/freehep1.x/psviewer/index.html (2016-02-10)
    Open archived version from archive


  • which is a simple Root Object Browser It can be used to open any Root file and look at all the objects inside the file If you already have Java 2 installed JDK 1 3 or later you can download the root jar file containing the application and run it using the command java jar root jar on Windows you can just double click on the root jar file A screen shot of the application is show below The pane on the left shows the directory structure of the file The object browser knows how to navigate directories TDirectories trees TTrees and TBranches and these will all be shown in the left pane Clicking on any object in the left pane will cause the details of the object to be shown in the right pane The right pane knows how to follow embedded pointers to other objects It is a good idea to try out the Object Browser on any root file you are interested in using before trying any of the examples below If the Object Browser is not able to display your file correctly then you have probably discovered a bug in the Java package and should report it It is unlikely any of the following example programs will work if the object browser does not work Reading Root files in Java Analysis Studio This is now covered in a separate document Using Root IO in your own Java Programs Before running any of these examples make sure you have root jar in your CLASSPATH by typing something like set CLASSPATH root jar windows setenv CLASSPATH root jar unix csh Opening a Root file and Accessing a Histogram This example requires the file Example root file which you can down load here Root files can contain many objects each referenced by a key TKey To access a particular object you must know its key You can use the RootObjectBrowser described above to browse the contents of a file and discover what keys are contained in it In this example we access the Histogram whose key is mainHistogram import hep io root import hep io root interfaces import java io IOException public class RootTest public static void main String argv throws IOException RootFileReader rfr new RootFileReader Example root TKey key rfr getKey mainHistogram TH1 histogram TH1 key getObject double entries histogram getEntries System out println entries entries To compile and run this example just issue the commands javac RootTest java java RootTest A more interesting example which actually displays histograms is also available Reading User Defined Objects This example requires that your have the file Moy root file which you can download here Before reading the file you must first use the Interface Builder to create the Java Interface for the user defined objects contained in your file To do this run the following command java hep io root util InterfaceBuilder Moy root This should create a file hep io root interfaces Moyennes java The sub directories follow Java

    Original URL path: http://java.freehep.org/lib/freehep/doc/root/index.html (2016-02-10)
    Open archived version from archive

  • VectorGraphics - Overview
    include GIF PNG JPG and PPM The package uses the standard java awt Graphics2D class as its interface to the user program Coupling this package to a standard Java program is therefore quite easy It also comes with a dialog box which allows you to choose between all the formats mentioned above and set specific parameters for them nbsp nbsp nbsp nbsp nbsp nbsp nbsp nbsp nbsp nbsp nbsp nbsp

    Original URL path: http://java.freehep.org/freehep1.x/vectorgraphics/index.html (2016-02-10)
    Open archived version from archive



  •