Download


Installation of ROME

This is a step by step instruction for installing ROME and creating a framework.
  • Define Environment Variables

    Define the environment variable ROMESYS and update the path variable by typing :

    > export ROMESYS=~/ROME on a linux bourne shell
    > export PATH=$ROMESYS/bin:$PATH on a linux bourne shell
     
    > setenv ROMESYS ~/ROME on a linux c-shell
    > setenv PATH $ROMESYS/bin:$PATH on a linux c-shell
     
    > set ROMESYS=C:/ROME on windows
    > set Path=%Path%;%ROMESYS%/bin on windows

  • Make the ROMEBuilder

    Go to the rome directory and link the ROMEBuilder by typing :

    > make on linux
    > nmake -f Makefile.win on windows

  • Write a xml definition file

    For information about writing a xml definition file please read the 'XML Definition File' section of the users guide.

  • Run the ROMEBuilder

    For information about command line parameters for the ROMEBuilder please read the 'Command Line' section of the users guide.

    Example :

    > romebuilder myExperiment.xml

  • Edit the event methods of the task classes

    The ROMEBuilder has now generated all classes of the framework and has placed them in a also generated directory structure. Now you have to write your user code to the event methods of the task classes. The task classes are located in the directory '/src/tasks/'. For information about writing user code to the event methods please read the 'Access Methods' section of the users guide and see the sample application.

  • Run the ROMEBuilder again

    Run the ROMEBuilder again to link the user code into the framework.

    You may repeat the steps 4. to 7. until you have reached the final version of your framework.

  • Run the generated framework

    The name of the executable is [short cut][program name].exe. The short cut and the program name have to be defined in the xml definition file.

    For information about command line parameters for the framework please read the 'Command Line' section of the users guide. However, the main steering of the framework is done over the framework configuration file. Please read the 'XML Configuration File' section of the users guide.


  • ROME in a Visual C++ 6.0 Project

    Visual C++ 6.0 is not supported anymore by ROOT.


    ROME in a Visual Studio .NET Project

    The ROMEBuilder writes a Visual C++ 2002, a Visual C++ 2003 and a Visual C++ 2005 project. These are located on the root directory of the generated project.


    Matthias Schneebeli, Ryu Sawada
    e-mail: ryu.sawada@psi.ch