// When running with PROOF SlaveBegin() is called on each slave server.
// The tree argument is deprecated (on PROOF 0 is passed).
+ TString option = GetOption();
+
+ if (option.Contains("debug"))
+ {
+ AliLog::SetClassDebugLevel("AliSelector", AliLog::kDebug);
+ AliInfo(Form("Called with option %s.", option.Data()));
+ }
+
AliDebug(AliLog::kDebug, "=======SLAVEBEGIN========");
AliDebug(AliLog::kDebug, Form("Hostname: %s", gSystem->HostName()));
AliDebug(AliLog::kDebug, Form("Time: %s", gSystem->Now().AsString()));
// Helper macros for creating chains
-TChain* CreateESDChain(const char* aDataDir, Int_t aRuns = 20, Int_t offset = 0)
+TChain* CreateESDChain(const char* aDataDir = "ESDfiles.txt", Int_t aRuns = 20, Int_t offset = 0)
{
// creates chain of files in a given directory or file containing a list.
// In case of directory the structure is expected as:
}
in.close();
-
- chain->Lookup();
}
return chain;