X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=ITS%2FAliITSPrintRecPoints.C;h=625bfce669f04f37f71c6d28a4f0c30f09efe35f;hb=e60f2a0484780adba9b6fe73bac1ddfbc28de9e2;hp=b9c34acd731952b38491cf7517252e2d341f99ee;hpb=fe19926a36e0af88b735f7ed6e790685e47b0cd5;p=u%2Fmrichter%2FAliRoot.git diff --git a/ITS/AliITSPrintRecPoints.C b/ITS/AliITSPrintRecPoints.C index b9c34acd731..625bfce669f 100644 --- a/ITS/AliITSPrintRecPoints.C +++ b/ITS/AliITSPrintRecPoints.C @@ -35,7 +35,7 @@ void AliITSPrintRecPoints(Int_t outtype=1,TString rfn="galice.root", } else { if(gAlice){ - delete gAlice->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 { @@ -90,7 +90,7 @@ void AliITSPrintRecPoints(Int_t outtype=1,TString rfn="galice.root", gm = ITSloader->GetITSgeom(); Int_t evNumber1 = 0; - Int_t evNumber2 = gAlice->GetEventsPerRun(); + Int_t evNumber2 = AliRunLoader::GetNumberOfEvents(); if(evnt>=0){ evNumber1 = evnt; evNumber2 = evnt+1;