]>
Commit | Line | Data |
---|---|---|
02f030e3 | 1 | // @(#) $Id$ |
487252a7 | 2 | |
02f030e3 | 3 | // Author: Constantin Loizides <loizides@ikf.uni-frankfurt.de> |
4 | //*-- Copyright © ALICE HLT Group | |
487252a7 | 5 | |
4aa41877 | 6 | #include "AliHLTStandardIncludes.h" |
3e87ef69 | 7 | |
4aa41877 | 8 | #include "AliHLTRootTypes.h" |
487252a7 | 9 | #include "AliLevel3.h" |
10 | ||
11 | //Standalone program to run the track follower for benchmark tests. | |
12 | ||
0bd0c1ef | 13 | #if __GNUC__ == 3 |
487252a7 | 14 | using namespace std; |
3e87ef69 | 15 | #else |
16 | #include <stream.h> | |
17 | #include <string.h> | |
18 | #include <stdlib.h> | |
487252a7 | 19 | #endif |
20 | ||
3e87ef69 | 21 | int main(Int_t argc,Char_t **argv) |
487252a7 | 22 | { |
23 | ||
24 | if(argc != 4) | |
25 | { | |
26 | cout<<"Usage : runtracker <path> minslice maxslice "<<endl; | |
27 | return -1; | |
28 | } | |
29 | Char_t path[1024]; | |
30 | Int_t sl1,sl2; | |
31 | ||
32 | strcpy(path,argv[1]); | |
33 | sl1 = atoi(argv[2]); | |
34 | sl2 = atoi(argv[3]); | |
35 | ||
36 | AliLevel3 level3; | |
a27af97b | 37 | level3.Init(path,AliLevel3::kBinary,1); |
02f030e3 | 38 | level3.SetClusterFinderParam(0,0,kTRUE); |
487252a7 | 39 | |
40 | Int_t phi_segments,eta_segments,trackletlength,tracklength; | |
41 | Int_t rowscopetracklet,rowscopetrack; | |
42 | Double_t min_pt_fit,maxangle,goodDist,hitChi2Cut; | |
43 | Double_t goodHitChi2,trackChi2Cut,maxphi,maxeta; | |
44 | ||
45 | phi_segments = 50;//50; | |
46 | eta_segments = 100;//100; | |
47 | trackletlength = 3; | |
48 | tracklength = 5; | |
49 | rowscopetracklet = 2; | |
50 | rowscopetrack = 2; | |
51 | min_pt_fit = 0; | |
52 | maxangle = 1.31; | |
53 | goodDist = 5; | |
54 | maxphi=100; | |
55 | maxeta=100; | |
02f030e3 | 56 | hitChi2Cut = 15;//100 |
57 | goodHitChi2 = 5;//20; | |
58 | trackChi2Cut = 10; | |
487252a7 | 59 | |
60 | //main vertex tracking parameters: | |
61 | level3.SetTrackerParam(phi_segments,eta_segments,trackletlength,tracklength, | |
62 | rowscopetracklet,rowscopetrack, | |
63 | min_pt_fit,maxangle,goodDist,hitChi2Cut, | |
64 | goodHitChi2,trackChi2Cut,50,maxphi,maxeta,kTRUE); | |
65 | ||
66 | //level3.WriteFiles("data/"); | |
67 | level3.ProcessEvent(sl1,sl2); | |
02f030e3 | 68 | level3.DoBench("1000tango"); |
487252a7 | 69 | |
70 | return 0; | |
71 | } |