]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - ITS/ShowSPDRecPoints.C
Fix for the case of non-existent calibration files
[u/mrichter/AliRoot.git] / ITS / ShowSPDRecPoints.C
index 1c0e90e487151abb6188c17e681b1f9cfc3ab7b9..db05a58845f88f4f99e148aef16b7926858a1096 100644 (file)
@@ -203,7 +203,7 @@ void ShowSPDRecPoints(Int_t RunStart, Int_t RunStop){
     }
     else { 
       if (gAlice){                        
-        delete AliRunLoader::GetRunLoader();   
+        delete AliRunLoader::Instance();   
         delete gAlice;                    
         gAlice=0;                        
       }                                  
@@ -213,7 +213,7 @@ void ShowSPDRecPoints(Int_t RunStart, Int_t RunStop){
     AliCDBManager* man = AliCDBManager::Instance();
     if (!man->IsDefaultStorageSet()) {
       printf("Setting a local default storage and run number 0\n");
-      man->SetDefaultStorage("local://$ALICE_ROOT");
+      man->SetDefaultStorage("local://$ALICE_ROOT/OCDB");
       man->SetRun(0);
     }
     else {