Revision 77ab7cb4f88c0a4fd2f86b974eb5f08a6cdf8ccc authored by Ilka Antcheva on 28 August 2006, 09:30:47 UTC, committed by Ilka Antcheva on 28 August 2006, 09:30:47 UTC

git-svn-id: http://root.cern.ch/svn/root/trunk@16140 27541ba8-7e3a-0410-8455-c3a389f83636
1 parent c5acb10
Raw File
cleanup.C
{
  gROOT->Reset();
  TCanvas *c = 0;
  c = (TCanvas*)gROOT->FindObject("c1"); if (c) c->Delete(); c = 0;
  c = (TCanvas*)gROOT->FindObject("c2"); if (c) c->Delete(); c = 0;
  c = (TCanvas*)gROOT->FindObject("ntuple"); if (c) c->Delete(); c = 0;
  c = (TCanvas*)gROOT->FindObject("tornadoCanvas"); if (c) c->Delete(); c = 0;
}
back to top