]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TOF/AliTOFanalyzeHits.C
Using getter instead of global constant
[u/mrichter/AliRoot.git] / TOF / AliTOFanalyzeHits.C
index 10a4182b1bdffb0e67bc5ce33c5fc97d9925e54d..508e8986633d9f9ca57bb95a30c19bc1fd71cee8 100644 (file)
@@ -72,7 +72,7 @@ Int_t AliTOFanalyzeHits(Int_t numberOfEvents=0, Bool_t drawing=kFALSE)
       gAlice = 0x0;
     }
 
       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";
   if (!rl)
     {
       cerr<<"Can't load RunLoader from file! \n";