]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - ITS/ITSHitsToFastPoints.C
Coding convention rules obeyed
[u/mrichter/AliRoot.git] / ITS / ITSHitsToFastPoints.C
index e491e124ee275a5984158bf4d4f685acfce367b4..b98ab930931a5f373cfff8a83aaa0ed7f4c68b2e 100644 (file)
@@ -14,9 +14,11 @@ void ITSHitsToFastPoints (Int_t evNumber1=0,Int_t evNumber2=0,Int_t nsignal=25,
    if (gClassTable->GetID("AliRun") < 0) {
       gROOT->LoadMacro("loadlibs.C");
       loadlibs();
+   } else {
+      delete gAlice;
+      gAlice=0;
    }
 
-
 // Connect the Root Galice file containing Geometry, Kine and Hits
 
    TFile *file = (TFile*)gROOT->GetListOfFiles()->FindObject("galice.root");