.so cleanup: removed from gSystem->Load()
[u/mrichter/AliRoot.git] / test / PbPbbench / monrec.C
1 void monrec() {
2   // MonaLisa monitoring
3   gSystem->Load("libNet");
4   gSystem->Load("libMonaLisa");
5
6   new TMonaLisaWriter("aliendb3.cern.ch", "Reconstruction PbPb", gSystem->Getenv("TEST_PLATFORMID"), gSystem->Getenv("TEST_PLATFORMID"), "global");
7
8
9   gROOT->LoadMacro("rec.C");
10   rec();
11   if (gMonitoringWriter) gMonitoringWriter->SendProcessingProgress(1,1,kTRUE);  
12
13   // Send the size of the AliESDs.root file
14
15   FileStat_t buf;
16   gSystem->GetPathInfo("./AliESDs.root",buf);
17
18   TList *valuelist = new TList();
19   valuelist->SetOwner(kTRUE);
20
21   TMonaLisaValue* valdouble = new TMonaLisaValue("AliESDs.root size",buf.fSize);
22   valuelist->Add(valdouble);
23
24   if (gMonitoringWriter) gMonitoringWriter->SendParameters(valuelist);
25   delete valuelist;
26
27   printf("#Test finished successfully#\n");
28 }