]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TPC/recTPC.C
Extacting the OCDB in a separate module. The detectors have write permission in the...
[u/mrichter/AliRoot.git] / TPC / recTPC.C
index 2645f8ff44358322a587fbb5dd5f7d114a09ec87..49087a568e6c07a10b60b1d5e7a397f2502d2905 100644 (file)
@@ -14,7 +14,7 @@ void recTPC(Int_t type, const char *filename="data.root")
   // type variable = 0 - cosmic test
   //               = 1 - laser test   
   AliCDBManager * man = AliCDBManager::Instance();
-  man->SetDefaultStorage("local://$ALICE_ROOT");
+  man->SetDefaultStorage("local://$ALICE_ROOT/OCDB");
   //man->SetRun(0);
   //man->SetSpecificStorage("TPC/*/*","local:///afs/cern.ch/user/m/mivanov/public/Calib");
   //
@@ -31,7 +31,7 @@ void recTPC(Int_t type, const char *filename="data.root")
   //
   //
   AliReconstruction rec;  
-  rec.SetDefaultStorage("local://$ALICE_ROOT");
+  rec.SetDefaultStorage("local://$ALICE_ROOT/OCDB");
   rec.SetSpecificStorage("TPC/*/*","local:///afs/cern.ch/user/m/mivanov/public/Calib");
   rec.SetLoadAlignData("");
   rec.SetWriteESDfriend(kTRUE);
@@ -54,7 +54,7 @@ void recTracking(Int_t type, const char *filename="data.root")
   // Set path to calibration data
   //
   AliCDBManager * man = AliCDBManager::Instance();
-  man->SetDefaultStorage("local://$ALICE_ROOT");
+  man->SetDefaultStorage("local://$ALICE_ROOT/OCDB");
   man->SetRun(0);
   man->SetSpecificStorage("TPC/*/*","local:///afs/cern.ch/user/m/mivanov/public/Calib");
   //