Exampel to use AliL3Evaluate
[u/mrichter/AliRoot.git] / HLT / exa / eval.C
1 Int_t eval(){
2
3   AliL3Logger l;
4   l.UseStdout();
5   l.UseStream();
6
7   Char_t *mcfile = "/heim/franken/data/V3.04/fast/hg_8k_v0_s1-3_e0.root";
8 //  Char_t *mcfile = "/heim/franken/data/V3.04/slow/hg_8k_v0_s1-3_e0.root";
9   Char_t *mcClusterfile= "hg_8k_v0_s1-3_e0_cl.root";
10   Char_t *trackfile ="tracks.raw";
11
12
13
14   Int_t slice[2]={1,3};
15   AliL3Evaluate *eval = new AliL3Evaluate(mcfile,slice);
16   eval->SetupFast(trackfile,mcClusterfile);
17 //  eval->SetupSlow(trackfile);
18 //  eval->EvaluateSlice(1,10,10);
19   eval->EvaluateGlobal(1,1);
20   eval->Write2File("eval.root");
21   
22   return 0;
23 }