X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=TOF%2FAliTOFanalyzeHits.C;h=11efca3aebeb690e12fd559d8ee18c46d15b9ef7;hb=32eb38ff70aef50aa94424fbe2582cbebdef7fcc;hp=10a4182b1bdffb0e67bc5ce33c5fc97d9925e54d;hpb=d61f73d901da9471ae3fea0487888836d378b9a5;p=u%2Fmrichter%2FAliRoot.git diff --git a/TOF/AliTOFanalyzeHits.C b/TOF/AliTOFanalyzeHits.C index 10a4182b1bd..11efca3aebe 100644 --- a/TOF/AliTOFanalyzeHits.C +++ b/TOF/AliTOFanalyzeHits.C @@ -67,12 +67,12 @@ Int_t AliTOFanalyzeHits(Int_t numberOfEvents=0, Bool_t drawing=kFALSE) if (gAlice) { - delete gAlice->GetRunLoader(); + delete AliRunLoader::Instance(); delete gAlice; gAlice = 0x0; } - AliRunLoader *rl = AliRunLoader::Open("galice.root",AliConfig::fgkDefaultEventFolderName,"read"); + AliRunLoader *rl = AliRunLoader::Open("galice.root",AliConfig::GetDefaultEventFolderName(),"read"); if (!rl) { cerr<<"Can't load RunLoader from file! \n"; @@ -337,7 +337,7 @@ Int_t AliTOFanalyzeHits(Int_t numberOfEvents=0, Bool_t drawing=kFALSE) if (gAlice) { - delete gAlice->GetRunLoader(); + delete AliRunLoader::Instance(); delete gAlice; gAlice = 0x0; }