I want to display hits in a drift chamber usin the TGeo classes.
I create TGeoSpheres for each hit and add them to the top node (or DC node). The question is then: How can I remove the nodes for the next event. Theres no TGeoVolume::RemoveNode method.
I have also considered to use TGeoTracks. But since I only want to display hits and not comlete tracks I dont think I can use them.
TGeo classes are meant to represent geometry structures, not hits/digits/… There is currently an ongoing effort to support such user-defined objects at the level of 3D viewers, togeather with the corresponding API. Meanwhile there is no “official way” to deal with this.
TGeo classes are meant to represent geometry structures, not hits/digits/… There is currently an ongoing effort to support such user-defined objects at the level of 3D viewers, togeather with the corresponding API. Meanwhile there is no “official way” to deal with this.
TGeo classes are meant to represent geometry structures, not hits/digits/… There is currently an ongoing effort to support such user-defined objects at the level of 3D viewers, togeather with the corresponding API. Meanwhile there is no “official way” to deal with this.
For more sophisticated techniqe, the class root.cern.ch/root/html404/TPolyL … escription
can be used also. The later assumes one wants subclassing the base class to get the behaviour he/she wants.