]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PWG1/PWG1README.txt
equalizing time delays on TimeMeaner
[u/mrichter/AliRoot.git] / PWG1 / PWG1README.txt
1
2
3 How to make a comparison using MC information:
4
5
6 0. Build the MC info tree
7
8 gSystem->Load("libPWG1.so")
9 AliGenInfoMaker *t = new AliGenInfoMaker("galice.root","genTracks.root",0,0)
10 t->Exec();
11
12
13 1. Build the reconstructed info tree
14
15
16 gSystem->Load("libPWG1.so");
17 //
18 AliRecInfoMaker *t2 = new AliRecInfoMaker("genTracks.root","cmpESDTracks.root","galice.root",0,0);
19 t2->Exec();
20
21
22
23 2. Make a chain of the information tree
24
25 gSystem->Load("libPWG1.so");
26
27 //GSI example
28 .x ~/rootlogon.C
29 .L /u/miranov/macroxrdproof64/AliXRDPROOFtoolkit.cxx+
30  AliXRDPROOFtoolkit tool;
31  TChain * chain = tool.MakeChain("pp.txt","ESDcmpTracks",0,1000)
32  chain->Lookup();
33  .L $ALICE_ROOT/PWG1/AliComparisonSelector.cxx+
34
35  
36 3. 
37
38 a.) Use AliTreeDraw for fast prototyping the queries - analysis type:
39
40 gSystem->Load("libPWG1.so");
41 AliTreeDraw comp;
42 comp.SetTree(tree)
43
44
45 b.) Or use Selector
46
47 chain->Process("$ALICE_ROOT/PWG1/AliComparisonSelector.cxx+")
48
49
50 TFile f("Output.root");