]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PWG1/PWG1README.txt
Adding selector for producing standard histograms and views
[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
222. Make a chain of the information tree
23
24gSystem->Load("libPWG1.so");
25
26//GSI example
27.x ~/rootlogon.C
28.L /u/miranov/macroxrdproof64/AliXRDPROOFtoolkit.cxx+
29 AliXRDPROOFtoolkit tool;
30 TChain * chain = tool.MakeChain("comp.txt","ESDcmpTracks",0,1000)
31 chain->Lookup();
32 .L $ALICE_ROOT/PWG1/AliComparisonSelector.cxx+
33
34
353.
36
37a.) Use AliTreeDraw for fast prototyping the queries - analysis type:
38
39gSystem->Load("libPWG1.so");
40AliTreeDraw comp;
41comp.SetTree(tree)
42
43
44b.) Or use Selector
45
46chain->Process("$ALICE_ROOT/PWG1/AliComparisonSelector.cxx+")
47
48
49TFile f("Output.root");