X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=ITS%2FITSHitsToFastPoints.C;h=b98ab930931a5f373cfff8a83aaa0ed7f4c68b2e;hb=a3dfe79c4e5773dbe4515549b51fd0bbea23a321;hp=e491e124ee275a5984158bf4d4f685acfce367b4;hpb=e81897071a6c895e2796d84a2531f1385a0a1017;p=u%2Fmrichter%2FAliRoot.git diff --git a/ITS/ITSHitsToFastPoints.C b/ITS/ITSHitsToFastPoints.C index e491e124ee2..b98ab930931 100644 --- a/ITS/ITSHitsToFastPoints.C +++ b/ITS/ITSHitsToFastPoints.C @@ -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");