]>
Commit | Line | Data |
---|---|---|
16e24ca3 | 1 | /* $Id$ */ |
2 | ||
3 | // | |
4 | // Script to test the class AlidNdEtaVertexRecEffSelector that creates | |
5 | // a vertex reconstruction efficiency plot | |
6 | // | |
7 | // implementation with TSelector | |
8 | // | |
9 | ||
10 | #include "../CreateESDChain.C" | |
11 | ||
12 | runVertexRecEff(Char_t* dataDir, Int_t nRuns=20, Int_t offset=0) | |
13 | { | |
14 | gSystem->Load("libPWG0base"); | |
15 | gSystem->Load("libPWG0dep"); | |
16 | ||
17 | TChain* chain = CreateESDChainFromDir(dataDir, nRuns, offset); | |
18 | ||
19 | TString selectorName = "AlidNdEtaVertexRecEffSelector"; | |
20 | ||
21 | AliLog::SetClassDebugLevel(selectorName, AliLog::kInfo); | |
22 | ||
23 | TStopwatch timer; | |
24 | timer.Start(); | |
25 | ||
26 | chain->Process(selectorName + ".cxx+"); | |
27 | ||
28 | timer.Stop(); | |
29 | timer.Print(); | |
30 | } |