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
- Open your terminal and navigate to java directory:
cd java
- Compile all examples using ant
builder:
ant
- Run example using our bash script:
./run ExampleLuminosityClient
Topic revision: r1 - 2012-09-04
- unknown