| 1 |
pam-fi |
1.1 |
Compilable macros are : |
| 2 |
|
|
------> fillpedsig-main.cpp (needed fillpedsig.cpp and TrkFunctions.cpp) |
| 3 |
|
|
------> readpedsig-main.cpp (needed readpedsig.cpp, readpedsig-limits.cpp and TrkFunctions.cpp) |
| 4 |
|
|
|
| 5 |
|
|
to compile enter the command ""ant" from a terminal in the this directory |
| 6 |
|
|
|
| 7 |
|
|
[... macros]$ ant |
| 8 |
|
|
|
| 9 |
|
|
the result will be two executable files |
| 10 |
|
|
|
| 11 |
|
|
fillpedsig |
| 12 |
|
|
readpedsig |
| 13 |
|
|
|
| 14 |
|
|
in the directory TRACKER/bin |
| 15 |
|
|
|
| 16 |
|
|
NB: to compile correctly set the right paths in the initial part of the file build.xml |
| 17 |
|
|
|
| 18 |
|
|
NB: use the options "-h" or "--help" to known the input parameters |
| 19 |
|
|
|
| 20 |
|
|
============================================================================ |
| 21 |
|
|
|
| 22 |
|
|
In this directory there is even another compilable macros |
| 23 |
|
|
|
| 24 |
|
|
TrkScanQLook.cpp |
| 25 |
|
|
|
| 26 |
|
|
but this script is studied to be compiled and run interactively with ROOT: |
| 27 |
|
|
|
| 28 |
|
|
---> to compile |
| 29 |
|
|
change the first four rows of the scripts to point the right yoda directory |
| 30 |
|
|
then from a terminal: |
| 31 |
|
|
$ root |
| 32 |
|
|
root [0] gSystem->Load("the path where is libyoda.so"); |
| 33 |
|
|
root [1] .L ....TRACKER/macros/TrkScanQLook.cpp++ |
| 34 |
|
|
|
| 35 |
|
|
will be create a library |
| 36 |
|
|
TRACKER/macros/TrkScanQLook_cpp.so |
| 37 |
|
|
|
| 38 |
|
|
---> to run |
| 39 |
|
|
$ root |
| 40 |
|
|
root [0] gSystem->Load(".....TRACKER/macros/TrkScanQLook_cpp.so"); |
| 41 |
|
|
TrkScanQLook("path of the file to analyse","path of the output directory",number of the event to analyse, number of the DSP to draw) |