ACORDEv1 is now the default
[u/mrichter/AliRoot.git] / test / ppbench / monrec.C
CommitLineData
43664a84 1void monrec() {
2 // MonaLisa monitoring
3 gSystem->Load("libNet.so");
4 gSystem->Load("libMonaLisa.so");
5
e4e752b6 6 new TMonaLisaWriter("aliendb3.cern.ch", "Reconstruction pp", gSystem->Getenv("TEST_PLATFORMID"), gSystem->Getenv("TEST_PLATFORMID"), "global");
43664a84 7
8
9 gROOT->LoadMacro("rec.C");
10 rec();
31cd34c9 11 if (gMonitoringWriter) gMonitoringWriter->SendProcessingProgress(1,1,kTRUE);
43664a84 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
31cd34c9 24 if (gMonitoringWriter) gMonitoringWriter->SendParameters(valuelist);
43664a84 25 delete valuelist;
26
0541097a 27 printf("#Test finished successfully#\n");
43664a84 28}