40 if (
fObject->InheritsFrom(THStack::Class())) {
41 THStack *hs = (THStack*)
fObject;
43 hs->GetHists()->Clear();
44 }
else if (
fObject->InheritsFrom(TMultiGraph::Class())) {
45 TMultiGraph *mgr = (TMultiGraph *)
fObject;
46 if (mgr->GetListOfGraphs())
47 mgr->GetListOfGraphs()->Clear();