-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Continuous time simulation of decays (especially for Bi207 calibration) #25
Comments
An other example is the BiPo 214 cascade. An alpha particle is 'delayed' in relation to the 'prompt' electron but in the real world other physical events can happen between the electron/alpha decay. |
Other thing to take into account in Falaise : the dead time of the detector |
This is a complex and interesting problem. We (Guillaume, Yves, I) have postponed the work to be done about this use case. There is no unique strategy. My feeling is that we should implement a solution which approximates a continuous decay time model because it is not so compatible with the event- per-event approach of G4 itself and it would be possibly extremely CPU consuming if implemented with brute force. |
I have uploaded a brio file that I have generated with a custom genbb & genvtx module, with 48kBq Bi207 source activity & 1ms readout window size: http://www.hep.manchester.ac.uk/u/pguzowski/bi207/flsimulate_48kBq_Bi207_srcs_1ms_readout.brio |
@pguzowski Is the code for the custom module(s) available anywhere? In relation to #31 it would be a good test/example of the required functionality! |
I have uploaded the code to: https://github.com/pguzowski/snemo_hi_freq_simulation It isn't really documented, as for now it was just me playing around with it. Also it uses singleton-style functionality with static class members, because I needed the event generator to communicate with the vertex generator, so you probably won't like it from a good-coding perspective |
Thanks @pguzowski! No problem on the statics - can always be fixed later if required. |
WIth 2kBq Bi207 sources, and 24 sources, there will be a decay every ~20μs. This means decays will overlap within the same trigger readout window. Also delayed particles in each decay will overlap with future decay windows (where the delay could be up to a few seconds later -- see for example the electron and gamma times in the event display in #4)
We require a more sophisticated handling of continuous time events in the simulation, rather than event by event processing of a single generated decay.
An idea for a module to do this: generate a single 'event' with X total decays at some rate Y Hz (randomly distributed in time), and then have the trigger simulation split them up into N triggered readout-window-sized events after digitisation.
The text was updated successfully, but these errors were encountered: