Description: An program that uses different colors to display the charge or time distribution of the phototubes resulted from Cerencove radiation in SuperK detector. Human brains are good at pattern-analysis and this program can give an direct picture of the events. I mapped the 3d locations of phototubes into a 2d pixels window by unfolding the cylindrical detector to 2 circles(bottom and top) and 1 rectangle(side-wall). Totally there are 11,000 phototubes so the memory and computing time are costing. But as you will see later, it still runs in an acceptable manner. The colors displayed on your screen might be different from my own testing due to different color-map configurations on different machines. But the pattern won't be different. The messy part is the X-Window interface, because I really didn't get time to implement this part in C++. Testing steps: 1. Download the source files including display.c, display.cc, display.h, Event.cc and Event.h. There is a big data file test.data. To cut the size, I only include 1 event data inside. 2. Compile them with "g++ -o SK_Display -lm -lXm -lXt -lX11 display.c display.cc Event.cc". 3. Use "./SK_Display < test.data &" to run the program. After a while a window displaying the event will come up. 4. You can press mouse on the control panel to perform some operations. C/T enables you to switch the displaying mode between time and charge; Rotate enables you to change the view-angle to get better look at the picture; Fade allows you to fade the displaying colors so as to find the hottest phototubes which might be the entry and exit position; And Recover just moves back the colors previously faded; Next reads in the following event from the file, it works but since I have kept only 1 event in the file you will not be able to test it. And finally Quit helps you exit it.