key4hep / eede

EDM4hep Event Data Explorer
https://key4hep.github.io/eede/
BSD 2-Clause "Simplified" License
3 stars 4 forks source link

Display parsed simulation status #47

Closed Zehvogel closed 3 months ago

Zehvogel commented 4 months ago

At the moment the simulation status is displayed as a number e.g.

image

which is not very useful as the simulation status is a bit-field. It would be much more useful to list the set states (Overlay, Simulation, etc.). If that takes to much space then maybe show them on mouse-over or smth like that.

Zehvogel commented 4 months ago

I would even be happy with just a comma separated list of the indices of the set bits e.g.: simstat: 1, 3, 8

brauliorivas commented 3 months ago

which is not very useful as the simulation status is a bit-field. It would be much more useful to list the set states (Overlay, Simulation, etc.). If that takes to much space then maybe show them on mouse-over or smth like that.

Hi @Zehvogel, #59 is about showing more information about any object when mouse over. So, in this commit, it is also showing the SimulationStatus from the MCParticle. It will show the state according to this file, and in case the value isn't in the file, the number is shown instead.