]>
Commit | Line | Data |
---|---|---|
539b6cb4 | 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"); | |
37dbb69e | 13 | gSystem->SetIncludePath("-I$ALICE_ROOT/PWG0"); |
539b6cb4 | 14 | |
37dbb69e | 15 | TChain* chain = CreateESDChainFromDir(dataDir, nRuns); |
79ab56b9 | 16 | |
17 | fEsdTrackCuts = new AliESDtrackCuts(); | |
18 | fEsdTrackCuts->DefineHistograms(1); | |
19 | ||
20 | fEsdTrackCuts->SetMinNClustersTPC(50); | |
21 | fEsdTrackCuts->SetMaxChi2PerClusterTPC(3.5); | |
22 | fEsdTrackCuts->SetMaxCovDiagonalElements(2,2,0.5,0.5,2); | |
23 | fEsdTrackCuts->SetRequireTPCRefit(kTRUE); | |
24 | ||
25 | fEsdTrackCuts->SetMinNsigmaToVertex(3); | |
26 | fEsdTrackCuts->SetAcceptKingDaughters(kFALSE); | |
27 | ||
28 | chain->GetUserInfo()->Add(fEsdTrackCuts); | |
29 | ||
4dd2ad81 | 30 | AliLog::SetClassDebugLevel("AlidNdEtaCorrectionSelector", AliLog::kInfo); |
79ab56b9 | 31 | chain->Process("AlidNdEtaCorrectionSelector.cxx+"); |
539b6cb4 | 32 | } |