TEST EXAMPLE The script "run-test.sh" in this directory provide an example of how to run the tracker data-reduction software. Before going on with this test example, be sure that the three executables "level0.exe", "level1.exe" and "level2.exe" have been created (follow instruction in the file "README" in the parent directory). 1) create a symbolic link "raw-data" to the raw-data directory: #ln -s path-of-raw-data/ raw-data 2) be sure that the directory rz-test contains the file "default_calib.rz": #ls rz-test/default_calib.rz 3) The first step of reduction is performed by "level0.exe". This program processes a list of CONSECUTIVE downlinks (eg. the file "050323.txt" contains the list of consecutive good downlinks collected on March 23 We). Run the script as follow: #./run-test.sh 050323.txt level0 & At the end of the process a report file "050323.txt-level0" is created in the current directory. The directory "rz-test" contains the rz files; for each downlink the following files are created: DW_YYMMDD_XXX_01_calib.rz 1^ calibration packet DW_YYMMDD_XXX_02_calib.rz 2^ " " ... DW_YYMMDD_XXX_NN_calib.rz N^ " " DW_YYMMDD_XXX_calib.txt list of calibration files related to the downlink DW_YYMMDD_XXX_level0.rz =====> LEVEL0 tracker data DW_YYMMDD_XXX_tof.rz tof/trigger data (... NOT UP-TO-DATE !!!!) 4)The second step of reduction is performed by "level1.exe". The program processes a level0 rz file, producing a level1 file. Run the script as follow: #./run-test.sh 050323.txt level1 & At the end of the process a report file "050323.txt-level1" is created in the current directory. The directory "rz-test" contains the level1 rz file: DW_YYMMDD_XXX_level1.rz =====> LEVEL1 tracker data 5)The third step of reduction is performed by "level2.exe". The program processes a level1 rz file, producing a level2 file. Run the script as follow: #./run-test.sh 050323.txt level2 & At the end of the process a report file "050323.txt-level2" is created in the current directory. The directory "rz-test" contains the level2 rz file: DW_YYMMDD_XXX_level2.rz =====> LEVEL1 tracker data You can compare the output of the whole procedure with the content of the tar archive "DW_050323.tar.gz" inlcuded in the directory "rz-test"