mjrasobarnett / ucnsim

A simulation of ultra-cold neutrons for neutron EDM experiments
MIT License
2 stars 0 forks source link

Can I count how many particles make it into different regions as a function of time? #13

Open mjrasobarnett opened 13 years ago

mjrasobarnett commented 13 years ago

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