Closed moralejo closed 1 year ago
Yes, there is iter_mc_events()
:
for e in f.iter_mc_events():
...
which should do that.
There is also this pull request here: https://github.com/cta-observatory/pyeventio/pull/214
Which is open since a long time, but which we should probably finish... maybe you can try it out and give feedback, if it solves your particular issue
I just rebased the #214 branch with the current main, let's see if we can finally get this in
I am closing this as a duplicate of #213
Ok, thanks!
https://github.com/cta-observatory/pyeventio/blob/94ebedd3c38ed10810a3aa9eafd734c986fdf56e/src/eventio/simtel/simtelfile.py#L144-L145
The SimTelFile iterator seems to be reading only triggered events. Is it possible to read also events in which none of the telescopes triggered? Some information (like the true numbers of photoelectrons on the camera) are available and are useful for some purposes.