]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/AliMUONSurveyObj.cxx
remove dependency to aliroot libraries, access of ESDEvent object through abstract...
[u/mrichter/AliRoot.git] / MUON / AliMUONSurveyObj.cxx
index 353b9e75e5af4fc164062cc6f16eb3c30daecc4a..d07a36a3795aa918b88e861489d8f8127cbc4e81 100644 (file)
@@ -356,7 +356,7 @@ void AliMUONSurveyObj::DrawSTargets() {
   }
   gST->DrawClone("P0");
 
-  if (gST) gST->Delete();
+  delete gST;
 }
 
 Double_t AliMUONSurveyObj::FitPlane() {
@@ -388,7 +388,7 @@ Double_t AliMUONSurveyObj::FitPlane() {
   }
   gST->Fit(fPlane);
 
-  if (gST) gST->Delete();
+  delete gST;
 
   return fPlane->GetChisquare();
 }