simple phenix event display with root
You can click on the pictures to enlarge it.
display macro (display_phx.cxx) to draw the above displays in root
and rotate, move, zoom-in and zoom-out...
example data (myDisplay.dat) for 200GeV/c Au+Au minimum bias
100 events
".x display_phx.cxx" to display the first event.
".x display_phx.cxx(event_num)" to display a event at event_num.
".x display_phx.cxx(event_num,1)" to display the real 3D picture.
This is an example root macro "display_phx.cxx" to draw
recontructed tracks and associated hits in the central
arms and bbc hits by reading an ascii file "myDisplay.dat",
which I extracted from the analized year 2 data. This is
just done by drawing points and lines in the 3D space.
It's can easily be rotated and zoomed in. I hope this can
be used and modified to visualize different kinds of
3d information to debug the system in the beginning
of the experiment and I found it's also usefull to
get some ideas on analysis by looking at the real events
by my eyes. In this example, I used the color code of
the hits in the central arm to identify which detector
it is, and line type for the sign of charge, and color
code of the line to show the momentum of the reconstructed
track, and color code of the bbc hits to be the number of
hits in each pmt, and I used white lines to show 4 sub-
sectors in each arm. Hoping that the part of my time during
the shift will become usefull sometime...