]>
Commit | Line | Data |
---|---|---|
9b37718a | 1 | See also the html folder for documentation. |
2 | ||
3 | To compile make shure to set the ROOTSYS variable | |
4 | to point to your ROOT installation. | |
5 | ||
6 | then type "make". | |
7 | the executable "pftest" is intended to test and debug the | |
8 | Peakfinder algorithm. It also serves as an example of how to use | |
9 | the algorithm. | |
10 | ||
11 | PEAKFINDER HOW TO | |
12 | The Peakfinder vectors are found in the folder "PFVectors". | |
13 | The folder contains peafinder solution vectors for the most likely | |
14 | set of parameters. If a file does not exist for a given set of parameters | |
15 | then the PF vector must be supplied by the user. | |
16 | the file format is asci text and the name of the file identifies the content. | |
17 | The file name is on the format | |
18 | ||
19 | [startindex][number of samples][risetime][samplingrate in MHz].txt | |
20 | ||
21 | startindex: | |
22 | a startindex N means that the first sample of the subarray used for the | |
23 | reconstruction must correspond to a timedelay t0 in the | |
24 | range (N, N+1) sample intervals. | |
25 | ||
26 | N: | |
27 | the number of samples of the sub array. | |
28 | ||
29 | tau: | |
30 | Risetime in micro seconds | |
31 | ||
32 | fs: | |
33 | Sample rate in MHz | |
34 | ||
35 | ||
36 | ||
37 |