]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - ITS/AliITSCompareHitsRecPoints.C
add few ebe dihadron and jet correlation to be compared to normal dihadron correlatio...
[u/mrichter/AliRoot.git] / ITS / AliITSCompareHitsRecPoints.C
index f5a10e42ce5863424e2aaf0b1e590981d44b7de7..a811750b964c709add915a4529bc8e67023bf8c3 100644 (file)
@@ -17,7 +17,7 @@ Bool_t AliITSCompareHitsRecPoints(Char_t *rfn="galice.root"){
         loadlibs();
     } else {
         if(gAlice){
-            delete gAlice->GetRunLoader();
+            delete AliRunLoader::Instance();
             delete gAlice;
             gAlice=0;
         } // end if gAlice
@@ -75,7 +75,7 @@ Bool_t AliITSCompareHitsRecPoints(Char_t *rfn="galice.root"){
         } // end if
     } // end if !AliITSgeom
     //
-    Int_t nMods= gm->GetIndexMax(),nEvents=gAlice->GetEventsPerRun();
+    Int_t nMods= gm->GetIndexMax(),nEvents=AliRunLoader::GetNumberOfEvents();
     Int_t mod=0,evnt=0,size=-1,irp=0,ih=0,trkindexOld=-1;
     Double_t xmod,nHitPerTrack;
     TTree            *rpt = 0;