]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PWGPP/macros/RunMakers.C
Merge branch 'master' of https://git.cern.ch/reps/AliRoot
[u/mrichter/AliRoot.git] / PWGPP / macros / RunMakers.C
CommitLineData
2bfe5463 1// Run this macro to correlate MC and reconstruction information (PWGPP library).
e7babc5b 2// Macro must be run in directory containing MC and ESD trees
3//
4RunMakers()
5{
6// load AliRoot libraries
7gSystem->Load("libANALYSIS.so");
8gSystem->Load("libANALYSISalice.so");
2bfe5463 9gSystem->Load("libPWGPP.so");
e7babc5b 10
11// collect MC information
12AliGenInfoMaker *infoMC = new AliGenInfoMaker("galice.root","genTracks.root",0,0);
13infoMC->Exec();
14
15// correlate MC and reconstruction information
16AliRecInfoMaker *infoMCR =
17new AliRecInfoMaker("genTracks.root","cmpESDTracks.root","galice.root",0,0);
18infoMCR->Exec();
19}