Attached is the code for the FMD event display in EVE. The class
AliEveFMDLoader (in AliEveFMDLoader.h and AliEveFMDLoader.cxx) is a
singleton object that implements display of simulated hits, digits from
simulation, digits from raw data, and ESD data for the FMD. The active
sensor areas are drawn using TEveGeoShape, and hits are drawn using
TEveBoxSet. The height and colour of the boxes depend on the current
palette range and the signal size of the appropriate kind. The data is
structured according to the FMD hierarchy:
The four attached scripts fmd_hits2.C, fmd_digits.C, fmd_raw.C, and
fmd_esd.C uses the AliEveFMDLoader instance to load and display
simulated hits, simulated digits, raw data, and ESD for the FMD. The
script fmd_hits2.C could take the place of fmd_hits.C in
EVE/alice-macros.
Finally, the script display.C is my attempt at making some more
user-friendly navigation panels using ROOT's lightweight TControlBar
objects.