]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - ITS/ShowSPDRecPoints.C
Double check if SM is running added. Some redundant output removed from SM
[u/mrichter/AliRoot.git] / ITS / ShowSPDRecPoints.C
index aa966f91ecdfdf673d5e7a23cba8d043947f5414..db05a58845f88f4f99e148aef16b7926858a1096 100644 (file)
@@ -203,7 +203,7 @@ void ShowSPDRecPoints(Int_t RunStart, Int_t RunStop){
     }
     else { 
       if (gAlice){                        
-        delete gAlice->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 {