For example, when replaying a particle track through a geometry, hold some data structure with sequential list of volume_name -> time particle spent inside. So two volumes with the same name do not count as one entry - a particle entering the same volume at a later time would be a seperate entry, so we see a sequential map of the particle moving through the experiment.
Then the user makes some higher level grouping of volume names into meaningful names, like Ramsey cell or source tube. The volume_names above can then be mapped to these regions.
Finally we want a kind of horizontal bar chart where segments are stacked end-to-end with size measuring the time spent in that region
For example, when replaying a particle track through a geometry, hold some data structure with sequential list of volume_name -> time particle spent inside. So two volumes with the same name do not count as one entry - a particle entering the same volume at a later time would be a seperate entry, so we see a sequential map of the particle moving through the experiment.
Then the user makes some higher level grouping of volume names into meaningful names, like Ramsey cell or source tube. The volume_names above can then be mapped to these regions.
Finally we want a kind of horizontal bar chart where segments are stacked end-to-end with size measuring the time spent in that region