Setting detector component colors in Geant (4) [message #10999] |
Fri, 17 September 2010 14:26 |
Jochen Schwiening
Messages: 85 Registered: June 2009 Location: GSI, Darmstadt
|
continuous participant |
From: *gsi.de
|
|
Dear all,
in my ongoing struggle with Geant in PandaRoot I found that the Barrel DIRC, which was nice and colorful in the event display (using /macro/drc/eventDisplay.C) for a run generated with Geant 3 becomes drab and brownish for a run generated with Geant 4.
Mind you, this is with the identical source code, other than the SetName command in /macro/drc/sim_dirc.C, no recompile in between.
This may seem unimportant but colors are not only useful for publication plots but also for making plots that are easier to understand and to chase down design issues.
How do I control the colors used by Geant 4 vs doing the same in Geant 3 (I may want to change the colors there as well)? How do I manage to get a consistent set of good colors using the eventDisplay and using draw_geom?
Thanks, Jochen
|
|
|