1) Added "Makefile support": LinkDef + pkg file, made header files compliant
[u/mrichter/AliRoot.git] / PWG0 / dNdEta / makeCorrection2.C
1 //
2 // Script to make correction maps for dndeta measurements using the
3 // dNdEtaCorrection class.
4 //
5 // implementation with TSelector
6 //
7
8 #include "../CreateESDChain.C"
9
10 void makeCorrection2(Char_t* dataDir, Int_t nRuns=20)
11 {
12   gSystem->Load("libPWG0base");
13
14   /*gSystem->Load("../esdTrackCuts/libESDtrackQuality.so");
15   gSystem->Load("libdNdEta.so");
16   gSystem->Load("../AliSelector_cxx.so");*/
17   //gSystem->Load("AlidNdEtaEffSelector_cxx.so");
18
19   TChain* chain = CreateESDChain(dataDir);
20   chain->Process("AlidNdEtaEffSelector.cxx+");
21 }