X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;ds=sidebyside;f=ITS%2FShowSPDRecPoints.C;h=db05a58845f88f4f99e148aef16b7926858a1096;hb=943fb20f68d979109497911102eb7444cfbeb6d6;hp=aa966f91ecdfdf673d5e7a23cba8d043947f5414;hpb=d55d87f08e609b859c6bdd7eaad1ce39d1049a5f;p=u%2Fmrichter%2FAliRoot.git diff --git a/ITS/ShowSPDRecPoints.C b/ITS/ShowSPDRecPoints.C index aa966f91ecd..db05a58845f 100644 --- a/ITS/ShowSPDRecPoints.C +++ b/ITS/ShowSPDRecPoints.C @@ -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 {