Example applications

In this document we show how to write simple application using Tudas library in each of three supported programming languages. If you prefer to test ready to use example, you can also run prepared by us client-side applications. We discuss it later in this section.

Creating step-by-step example application

Running ready to use examples

We prepared few examples of using our libraries, one per each functionalities set. Available examples are:

  • Alignment calculations
  • Optics generation (elastic and inelastic)
  • Luminosity calculations
  • General measurements management
  • Saving run information
In the tutorial we use luminosity calculations example. Steps to run other examples are similar. We assume that you have checked-out Tudas library and you are in release directory.

Running java example

  1. Open your terminal and navigate to java directory:
    cd java
  2. Compile all examples using ant builder:
  3. Run example using our bash script:
    ./run ExampleLuminosityClient
Edit | Attach | Watch | Print version | History: r9 | r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions...
Topic revision: r1 - 2012-09-04 - unknown
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    TOTEM All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2023 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
or Ideas, requests, problems regarding TWiki? use Discourse or Send feedback