]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TPC/macros/testTPC/rec.C
Updated version of the Test TPC toolkits (Marian)
[u/mrichter/AliRoot.git] / TPC / macros / testTPC / rec.C
index a7718b29a8651fdc8f514346fe8aa70506e3bd53..b72aa2e2239e53156f2d93d3a5ba4795205ddfed 100644 (file)
@@ -1,12 +1,21 @@
-void rec(const char *filename="data.root", const char *ocdbpath = "alien://folder=/alice/data/2007/LHC07w/OCDB/")\r
+void rec(const char *filename="data.root")
 {
-  gSystem->Load("libXrdClient.so");
-  gSystem->Load("libNetx.so"); 
+
+  char *ocdbpath = gSystem->Getenv("OCDB_PATH");
+  if (ocdbpath==0){
+    ocdbpath="alien://folder=/alice/data/2007/LHC07w/OCDB/";
+  }
+  printf("OCDB PATH = %s\n",ocdbpath);
+   
+
+  //gSystem->Load("libXrdClient.so");
+  //gSystem->Load("libNetx.so"); 
   AliLog::SetClassDebugLevel("AliTPCRawStream",-5);
   AliLog::SetClassDebugLevel("AliRawReaderDate",-5);
   AliLog::SetClassDebugLevel("AliTPCAltroMapping",-5);
   AliLog::SetModuleDebugLevel("RAW",-5);
   AliLog::SetGlobalLogLevel(3);
+
   //
   // First version of the reconstruction
   // script for the FDR'07
@@ -85,6 +94,11 @@ void rec(const char *filename="data.root", const char *ocdbpath = "alien://folde
   cout << "--------- Reconstruction Completed. Start merging QAs -----------" << endl;
   cout << "-----------------------------------------------------------------" << endl;
   cout << "-----------------------------------------------------------------" << endl;
-  AliQADataMakerSteer qas;
-  qas.Merge();
+  //
+  cout <<" EXITING RECONSTRUNCTION SESSION\n";
+  //
+  exit();
+  AliTPCcalibDB::Instance()->GetParameters()->Dump();
+  //  AliQADataMakerSteer qas;
+  // qas.Merge();
 }