1 void run(Int_t runNumber)
3 gEnv->SetValue("XSec.GSI.DelegProxy","2");
5 TProof::Mgr("XXX@alicecaf")->SetROOTVersion("v5-26-00");
7 TProof::Open("XXX@alicecaf");
10 gProof->UploadPackage("/afs/cern.ch/alice/caf/sw/ALICE/PARs/v4-18-Release.rec/AF-v4-18-rec.par");
11 gProof->EnablePackage("AF-v4-18-rec.par");
14 gROOT->LoadMacro("rec.C");
15 gROOT->ProcessLine(Form("rec(%d);",runNumber));
17 TProof::Mgr("XXX@alicecaf")->GetSessionLogs()->Save("*",Form("run%d.log",runNumber));
19 // Check the produced dataset
20 TFileCollection *coll = gProof->GetDataSet(Form("run%d",runNumber));
22 Int_t nEvents = coll->GetTotalEntries("/esdTree");
24 cout << "===========================================================================" << endl;
25 cout << nEvents << " events reconstructed and stored in the dataset run" << runNumber << endl;
26 cout << "===========================================================================" << endl;
27 cout << "The dataset is:" << endl;
29 cout << "===========================================================================" << endl;