]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - test/proof/rec.C
.so cleanup: removed from gSystem->Load()
[u/mrichter/AliRoot.git] / test / proof / rec.C
index f22c579e0429e158c6e09456566c96f04b6ce1f5..42ab039fa5bc30ccdd8f1a04056be47352b52618 100644 (file)
@@ -1,34 +1,34 @@
-void rec(Int_t runNumber)\r
-{\r
-  gSystem->Load("libRAliEn.so");\r
-  gSystem->Load("libNet.so");\r
-\r
-  // Set the CDB storage location\r
-  AliCDBManager * man = AliCDBManager::Instance();\r
-  man->SetDefaultStorage("raw://");\r
-  \r
-  // Reconstruction settings\r
-  AliReconstruction rec;\r
-\r
-  // QA options\r
-  rec.SetRunQA(":") ;\r
-  rec.SetRunGlobalQA(kFALSE);\r
-  rec.SetQARefDefaultStorage("local://$ALICE_ROOT/QAref") ;\r
-  rec.SetRunPlaneEff(kTRUE);\r
-\r
-  // AliReconstruction settings\r
-  rec.SetWriteESDfriend(kTRUE);\r
-  rec.SetWriteAlignmentData();\r
-  rec.SetInput(Form("raw://run%d",runNumber));\r
-  rec.SetRunReconstruction("ALL -HLT");\r
-  rec.SetUseTrackingErrorsForAlignment("ITS");\r
-\r
-  rec.SetEventRange(0,10000);\r
-\r
-  // switch off cleanESD\r
-  rec.SetCleanESD(kFALSE);\r
-\r
-  rec.SetOutput(Form("root_archive.zip#AliESDs.root:AliESDs.root,AliESDfriends.root@dataset://run%d",runNumber));\r
-\r
-  rec.Run();\r
-}\r
+void rec(Int_t runNumber)
+{
+  gSystem->Load("libRAliEn");
+  gSystem->Load("libNet");
+
+  // Set the CDB storage location
+  AliCDBManager * man = AliCDBManager::Instance();
+  man->SetDefaultStorage("raw://");
+  
+  // Reconstruction settings
+  AliReconstruction rec;
+
+  // QA options
+  rec.SetRunQA(":") ;
+  rec.SetRunGlobalQA(kFALSE);
+  rec.SetQARefDefaultStorage("local://$ALICE_ROOT/QAref") ;
+  rec.SetRunPlaneEff(kFALSE);
+
+  // AliReconstruction settings
+  rec.SetWriteESDfriend(kTRUE);
+  rec.SetWriteAlignmentData();
+  rec.SetInput(Form("raw://run%d",runNumber));
+  rec.SetRunReconstruction("ALL -HLT");
+  rec.SetUseTrackingErrorsForAlignment("ITS");
+
+  rec.SetEventRange(0,10000);
+
+  // switch off cleanESD
+  rec.SetCleanESD(kFALSE);
+
+  rec.SetOutput(Form("root_archive.zip#AliESDs.root:AliESDs.root,AliESDfriends.root@dataset://run%d",runNumber));
+
+  rec.Run();
+}