]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TOF/AliTOFtest.C
Enabled option for selecting tree name in trneding macro
[u/mrichter/AliRoot.git] / TOF / AliTOFtest.C
index eb7c7940cd9721f4f8a054f25bc8cba720088b6c..d2ca3256bab42c75e4370a9efaa39c070aecc94d 100644 (file)
@@ -25,7 +25,7 @@ Int_t AliTOFtest(Int_t nevents=1)
   
   if (gAlice)
     {
-      delete gAlice->GetRunLoader();
+      delete AliRunLoader::Instance();
       delete gAlice;
       gAlice = 0x0;
     }
@@ -35,7 +35,7 @@ Int_t AliTOFtest(Int_t nevents=1)
   
   if (gAlice)
     {
-      delete gAlice->GetRunLoader();
+      delete AliRunLoader::Instance();
       delete gAlice;
       gAlice = 0x0;
     }
@@ -45,7 +45,7 @@ Int_t AliTOFtest(Int_t nevents=1)
 
     if (gAlice)
     {
-      delete gAlice->GetRunLoader();
+      delete AliRunLoader::Instance();
       delete gAlice;
       gAlice = 0x0;
     }
@@ -55,7 +55,7 @@ Int_t AliTOFtest(Int_t nevents=1)
   
   if (gAlice)
     {
-      delete gAlice->GetRunLoader();
+      delete AliRunLoader::Instance();
       delete gAlice;
       gAlice = 0x0;
     }  
@@ -67,7 +67,7 @@ Int_t AliTOFtest(Int_t nevents=1)
 
     if (gAlice)
     {
-      delete gAlice->GetRunLoader();
+      delete AliRunLoader::Instance();
       delete gAlice;
       gAlice = 0x0;
     }
@@ -76,7 +76,7 @@ Int_t AliTOFtest(Int_t nevents=1)
   if (rc=AliTOFanalyzeDigits()) return rc;
   if (gAlice)
     {
-      delete gAlice->GetRunLoader();
+      delete AliRunLoader::Instance();
       delete gAlice;
       gAlice = 0x0;
     }