3d geometry, next event

I am writing an event display application as a stand-alone program using a 3d geometry. The first event gets drawn just fine, but subsequently I need a way to get rid of hit objects from a previous event when drawing the current event without destroying non-hit objects (e. g., detector volumes) if possible.

I tried TGeoVolume::RemoveNode, but that did not seem to work.

Should I delete the geometry manager and start from scratch each event?

So far, I have not been fastidious about deleting the previous event’s geometry objects; is that the cause of my problems with RemoveNode?

Anyone have a hint?

instead of removing nodes make them invisible.

There is a method SetVisibility().

For all practical purposes same thing.