3 How to make a comparison using MC information:
6 0. Build the MC info tree
7 gSystem->Load("libANALYSIS.so");
8 gSystem->Load("libPWG1.so")
9 AliGenInfoMaker *t = new AliGenInfoMaker("galice.root","genTracks.root",0,0)
13 1. Build the reconstructed info tree
15 gSystem->Load("libANALYSIS.so");
16 gSystem->Load("libPWG1.so");
18 AliRecInfoMaker *t2 = new AliRecInfoMaker("genTracks.root","cmpESDTracks.root","galice.root",0,0);
23 2. Make a chain of the information tree
24 gSystem->Load("libANALYSIS.so");
26 gSystem->Load("libPWG1.so");
30 gSystem->AddIncludePath("-I$ALICE_ROOT/TPC/macros")
31 gROOT->LoadMacro("$ALICE_ROOT/TPC/macros/AliXRDPROOFtoolkit.cxx+")
33 AliXRDPROOFtoolkit tool;
34 TChain * chain = tool.MakeChain("cmp.txt","ESDcmpTracks",0,1000)
36 .L $ALICE_ROOT/PWG1/AliComparisonSelector.cxx+
41 a.) Use AliTreeDraw for fast prototyping the queries - analysis type:
43 gSystem->Load("libPWG1.so");
50 chain->Process("$ALICE_ROOT/PWG1/AliComparisonSelector.cxx+")
53 TFile f("Output.root");