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