# Event Manager not streaming Geometry scene

**URL:** <https://root-forum.cern.ch/t/event-manager-not-streaming-geometry-scene/42506>\
**Category:** Newbie\
**Created:** [November 28, 2020, 5:43pm UTC](https://root-forum.cern.ch/t/event-manager-not-streaming-geometry-scene/42506 "2020-11-28T17:43:00Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![PBR](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/p/ba8739/32.png) [@PBR](https://root-forum.cern.ch/u/PBR)\
**Post date:** [November 28, 2020, 5:43pm UTC](https://root-forum.cern.ch/t/event-manager-not-streaming-geometry-scene/42506/1 "2020-11-28T17:43:00Z")

</div>

Hello I am a first year college physics student and I want to setup the display of a simplified detector/particle tracking system. The script I describe below ran into a snag and as I am in the initial stages of learning the ROOT package, I could use some help.

My intent is to display a cylindrical geometry and a few random particle tracks, however the attached script is not rendering my cylinder, only the particle tracks. (see attached script =\> [pbr\_4trk.C](https://root-forum.cern.ch/uploads/short-url/cgZABrcEwj1iodm63ESmX2VlVxH.C) (3.1 KB) , and output =\> [pbr\_4trk-output.txt](https://root-forum.cern.ch/uploads/short-url/nIEDkzsX9NZ795c7ZYVONcIRd5y.txt) (2.5 KB) , and geometry file =\> [CylGeo.root](https://root-forum.cern.ch/uploads/short-url/y85bGG92pGzBhjCDKoRFxcmlCcT.root) (7.5 KB) )

Specifically the Event Manager is issuing this message:

‘’’ EVEMNG … streaming scene [Geometry scene]  
sending json, len = 634  
NOT sending binary, len = 0 ‘’’

and even in the Event Visualization Environment I am unable to toggle the view on.

I am certain there are more efficient ways of approaching this, please feel free to recommend a completely different approach. Since I am at the very ground level (I read the Basic-Course slides, perused the Class Reference Docs, etc.) any specific suggestions, or brief general pointers to put me on the right track are appreciated.

Additional point: as you can see, I am saving my geometry to file, but I can see that the object is already present in the ROOT browser. What would be a way of referencing it directly without having to go through the saving and rereading step?

Thank you for you time!

_ROOT Version:_ 6.22/02  
_Platform:_ Debian 10  
_Compiler:_ g++/gcc version 7.3.0 (crosstool-NG 1.23.0.449-a04d0)

* * *

---

<div class="post-metadata">

**Author:** ![oshadura](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/oshadura/32/14460_2.png) [@oshadura](https://root-forum.cern.ch/u/oshadura)\
**Post date:** [November 30, 2020, 11:55am UTC](https://root-forum.cern.ch/t/event-manager-not-streaming-geometry-scene/42506/2 "2020-11-30T11:55:48Z")

</div>

@linev could you please take a look or maybe suggest who can help here?

---

<div class="post-metadata">

**Author:** ![linev](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/l/2bfe46/32.png) [@linev](https://root-forum.cern.ch/u/linev)\
**Post date:** [November 30, 2020, 12:33pm UTC](https://root-forum.cern.ch/t/event-manager-not-streaming-geometry-scene/42506/3 "2020-11-30T12:33:23Z")

</div>

Hi,

> [@PBR](#):
>
> Specifically the Event Manager is issuing this message:
> 
> ‘’’ EVEMNG … streaming scene [Geometry scene]  
> sending json, len = 634  
> NOT sending binary, len = 0 ‘’’

Yes, it is indication of the problem. Zero binary size here means that no any points from geometry scene transported to the client. I am not an expert how to correctly create all shapes and volumes for `REveManager` class, but did you try to follow [event\_demo.C example](https://root.cern/doc/master/event__demo_8C_source.html)? It has function `makeGeometryScene()` where some primitive shapes are created. As I can see, one should use `REveGeoShape` class. Probably, there is a way to convert existing `TGeoManager` into REve classes.

More detailed information you may get from our REve experts - @alja and @matevz, but please take into account 9 hours time zone shift compared to European time.

---

<div class="post-metadata">

**Author:** ![alja](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/alja/32/11782_2.png) [@alja](https://root-forum.cern.ch/u/alja)\
**Post date:** [November 30, 2020, 8:06pm UTC](https://root-forum.cern.ch/t/event-manager-not-streaming-geometry-scene/42506/4 "2020-11-30T20:06:12Z")

</div>

@oshadura Do you need to create geometry using TGeoManager? If not, you could create TGeoShape directly without TGeoManager [https://github.com/alja/root/blob/varcol-multi/tutorials/eve7/event\_demo.C#L209-L219](https://github.com/alja/root/blob/varcol-multi/tutorials/eve7/event_demo.C#L209-L219)
