]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - ITS/AliITSPrintRecPoints.C
Initialize magnetic field in RunLego as it is done in Run in case we get
[u/mrichter/AliRoot.git] / ITS / AliITSPrintRecPoints.C
index d29647d0e8b9f331275885a152b095e538655313..625bfce669f04f37f71c6d28a4f0c30f09efe35f 100644 (file)
@@ -35,7 +35,7 @@ void AliITSPrintRecPoints(Int_t outtype=1,TString rfn="galice.root",
   }
   else {
     if(gAlice){
-      delete AliRunLoader::GetRunLoader();
+      delete AliRunLoader::Instance();
       delete gAlice;
       gAlice=0;
     }
@@ -45,7 +45,7 @@ void AliITSPrintRecPoints(Int_t outtype=1,TString rfn="galice.root",
   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 {