-
Notifications
You must be signed in to change notification settings - Fork 8
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
Effective time for the software coincidence #33
Comments
Hi @YoshikiOhtani, sorry for late feedback on this, hopefully it is still useful If you want to make it precisely and the fraction of dead time can be computed independently for MAGIC and LST1, since the two readout systems are independent, and the rate is so much different that showers will also not introduce a meaningful correlation I would say that something like this should work effective_MAGIC+LST1 = (effective_MAGIC/elapsed_MAGIC) * (effective_LST/elapsed_LST) * elapsed_MAGIC+LST1 However since the fraction of the time that MAGIC looses due to deadtime is very small, ~1%, I think you will end up with a number that is very similar to simply LST deadtime |
Hi @jsitarek, thank you very much for your comment. Regarding the LST total dead time, I found that the calculation is done with the following method: Here it uses Then, regarding the MAGIC total dead time, I actually found the branch MRawEvtHeader.fTimeDiff in the calibrated level data. These are very useful to precisely calculate the dead time but since the current MAGICEventSource does not read this information from the file, I think we need to modify the module. Anyway since the LST dead time is larger and it is relatively easy to implement the calculation, I will at first implement the LST one. |
I think the method is basically the same with the MAGIC one, the difference is just that the rate is not obtained from the fit, but from a plain average that might be affected by the interleaved rate, but the effect of it is really minimal. |
Hi @jsitarek, OK thank you for your checks, and good that it works also for MAGIC. So once the modification for ctapipe_io_magic is done, I will make a pull request about the implementation of the dead time calculations. I have already implemented the calculation for the LST dead time in my local repository. |
While developing codes for creating DL3 files, I noticed how to compute the effective time for the software coincidence. DAQs are performed independently in each telescope system, and the dead time is also different between them. At the moment I use the elapsed time for computing SED. Any ideas are very welcome.
The text was updated successfully, but these errors were encountered: