]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TRD/Macros/AliTRDtestDigitsRW.C
Extacting the OCDB in a separate module. The detectors have write permission in the...
[u/mrichter/AliRoot.git] / TRD / Macros / AliTRDtestDigitsRW.C
index 9a8629feaa96f8fe678cd2b36296eae444854f56..9546256779a085761384d60b168d7acc14d3a3b4 100644 (file)
@@ -13,7 +13,7 @@ void showLegend(TH1F *h, TH1F *h2)
 void AliTRDtestDigitsRW(Int_t thresh = 0, Int_t maxDet = 540)
 {
   AliCDBManager *cdb = AliCDBManager::Instance();
-  cdb->SetDefaultStorage("local://$ALICE_ROOT");
+  cdb->SetDefaultStorage("local://$ALICE_ROOT/OCDB");
   cdb->SetRun(0);
   cout << endl;
 
@@ -191,9 +191,9 @@ void AliTRDtestDigitsRW(Int_t thresh = 0, Int_t maxDet = 540)
 void testDigits2streams()
 {
   AliCDBManager *cdb = AliCDBManager::Instance();
-  cdb->SetDefaultStorage("local://$ALICE_ROOT");
+  cdb->SetDefaultStorage("local://$ALICE_ROOT/OCDB");
   cdb->SetRun(0);
-  //AliCDBStorage* localStorage = cdb->GetStorage("local://$ALICE_ROOT");
+  //AliCDBStorage* localStorage = cdb->GetStorage("local://$ALICE_ROOT/OCDB");
   //  cout << "[I] Is storage set : " << cdb->IsDefaultStorageSet() << endl;
   cout << endl;
 
@@ -322,9 +322,9 @@ void testDigits2streams()
 void printDigits()
 {
   AliCDBManager *cdb = AliCDBManager::Instance();
-  cdb->SetDefaultStorage("local://$ALICE_ROOT");
+  cdb->SetDefaultStorage("local://$ALICE_ROOT/OCDB");
   cdb->SetRun(0);
-  //AliCDBStorage* localStorage = cdb->GetStorage("local://$ALICE_ROOT");
+  //AliCDBStorage* localStorage = cdb->GetStorage("local://$ALICE_ROOT/OCDB");
   //  cout << "[I] Is storage set : " << cdb->IsDefaultStorageSet() << endl;
   cout << endl;