]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - RICH/RICHdetect.C
Maybe more stable now...
[u/mrichter/AliRoot.git] / RICH / RICHdetect.C
index e29cb638071ecc94db8cf3b3e6fc4f89c4af3a60..1dc564b1e860c6ad28a21faf9b17ae77f84e7e75 100644 (file)
@@ -6,9 +6,12 @@ RICHdetect (Int_t evNumber1=0,Int_t evNumber2=0) {
        loadlibs();
     }
     else {
-      //delete gAlice;
+      delete gAlice;
       gAlice = 0;
     }
+    
+    galice=0;
+
 // Connect the Root Galice file containing Geometry, Kine and Hits
     
     TFile *file = (TFile*)gROOT->GetListOfFiles()->FindObject("galice.root");