]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - ITS/AliITSAnalizeSPDHits.C
Fixed bug in background probability calculation when rotating, and a bug causing...
[u/mrichter/AliRoot.git] / ITS / AliITSAnalizeSPDHits.C
index 56e229153aa9503613510dc55f9ae62919fdd827..f5c5cf07e74d2af8c8342975bb836b84d2aceb74 100644 (file)
@@ -8,7 +8,7 @@ void AliITSAnalizeSPDHits(TString hfn="galice.root",Int_t mod=-1,
     loadlibs();
   } else {
     if(gAlice){
-      delete AliRunLoader::GetRunLoader();
+      delete AliRunLoader::Instance();
       delete gAlice;
       gAlice=0;
     }
@@ -18,7 +18,7 @@ void AliITSAnalizeSPDHits(TString hfn="galice.root",Int_t mod=-1,
   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 {
     printf("Using deafult storage \n");