| 1 |
pam-fi |
1.1 |
|
| 2 |
|
|
1) Create a working directory and add to your .bashrc file the lines: |
| 3 |
|
|
|
| 4 |
|
|
export TRK_BIN=/home/your-user/.../your-working-dir/ |
| 5 |
|
|
export TRK_GRND=/home/your-user/.../trk-software-ground/ |
| 6 |
|
|
export LD_LIBRARY_PATH=$TRK_GRND/lib:$LD_LIBRARY_PATH |
| 7 |
|
|
|
| 8 |
|
|
then update the .bashrc file: |
| 9 |
|
|
|
| 10 |
|
|
# cd /home/your-user/ |
| 11 |
|
|
# source .bashrc |
| 12 |
|
|
|
| 13 |
|
|
2) Create the executables: |
| 14 |
|
|
|
| 15 |
|
|
# cd /home/your-user/.../trk-software-ground |
| 16 |
|
|
# make all |
| 17 |
|
|
|
| 18 |
|
|
(the Makefile is not very sophisticated, to make it run might require some |
| 19 |
|
|
adjustments... sorry) |
| 20 |
|
|
|
| 21 |
|
|
3) Install the programs in your working directory by executing: |
| 22 |
|
|
|
| 23 |
|
|
# make install |
| 24 |
|
|
|
| 25 |
|
|
The following files and directory will be created: |
| 26 |
|
|
bin-aux/ - (auxiliary files) |
| 27 |
|
|
level0.exe - program to go from RAW to LEVEL0 |
| 28 |
|
|
level1.exe - " " " " LEVEL0 to LEVEL1 |
| 29 |
|
|
level2.exe - " " " " LEVEL1 to LEVEL2 |
| 30 |
|
|
|
| 31 |
|
|
The same structure is created in the directory run-test/. Here you can find |
| 32 |
|
|
an example (run-test.sh) on how to use these programs (follow the instructions |
| 33 |
|
|
in WHAT-TO-DO). |
| 34 |
|
|
|
| 35 |
|
|
4) IN case you don't need to reduce tracker files, but you need only to use |
| 36 |
|
|
LEVEL2 nt-uples to get track information and calculate the particle |
| 37 |
|
|
trajectory, you can follow the example in the directory "utilities/template/". |
| 38 |
|
|
This is an example on how to access LEVEL2 nt-uples and how to link the |
| 39 |
|
|
tracker library ("libtrk.a"; see "doc/libtrk.txt" for more info) in a fortran |
| 40 |
|
|
program (template.f). |
| 41 |
|
|
|
| 42 |
|
|
|