]>
Commit | Line | Data |
---|---|---|
9608df41 | 1 | /* $Id$ */ |
2 | ||
3 | // | |
4 | // Script to run the AliFirstPlotsSelector | |
5 | // | |
6 | ||
7 | #include "../CreateESDChain.C" | |
8 | #include "../PWG0Helper.C" | |
9 | ||
10 | void runHighMultiplicitySelector(Char_t* data, Int_t nRuns=20, Int_t offset=0, Bool_t aDebug = kFALSE, Bool_t aProof = kFALSE, const char* option = "", const char* proofServer = "jgrosseo@lxb6046") | |
11 | { | |
12 | if (aProof) | |
13 | { | |
14 | connectProof(proofServer); | |
15 | gProof->AddInput(new TParameter<long>("PROOF_MaxSlavesPerNode", (long)2)); | |
16 | gProof->AddInput(new TNamed("PROOF_Packetizer", "TAdaptivePacketizer")); | |
17 | } | |
18 | ||
19 | //gProof->SetParallel(1); | |
20 | ||
21 | TString libraries("libPWG0base"); | |
22 | TString packages("PWG0base"); | |
23 | ||
24 | if (!prepareQuery(libraries, packages, 1)) | |
25 | return; | |
26 | ||
27 | if (aProof) | |
28 | ProofAddAliRootIncludePath(1, "ITS"); | |
29 | ||
30 | TChain* chain = CreateESDChain(data, nRuns, offset); | |
31 | ||
32 | TList inputList; | |
33 | ||
34 | TString selectorName = "AliHighMultiplicitySelector"; | |
35 | AliLog::SetClassDebugLevel(selectorName, AliLog::kInfo); | |
36 | ||
37 | selectorName += ".cxx+"; | |
38 | ||
39 | if (aDebug != kFALSE) | |
40 | selectorName += "+g"; | |
41 | ||
42 | executeQuery(chain, &inputList, selectorName, option); | |
43 | } | |
44 |