You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Reproduced by: call readNextEvent(), followed by getNumberOfEvents(), followed by readNextEvent(). You have just read the same event twice!
Goal: It is not obvious that getNumberOfEvents leads to this behavior, nor should it. The name suggest that this is a getter method. However, it looks like the implementation changes the internal state of the file.
Tested on /pnfs/desy.de/ilc/prod/ilc/mc-opt-3/ild/dst-merged/500-TDR_ws/2f_Z_hadronic/ILD_l5_o1_v02/v02-00-01/rv02-00-01.sv02-00-01.mILD_l5_o1_v02.E500-TDR_ws.I250114.P2f_z_h.eL.pR.n033.d_dstm_10410_96.slcio
The text was updated successfully, but these errors were encountered:
readNextEvent()
, followed bygetNumberOfEvents()
, followed byreadNextEvent()
. You have just read the same event twice!getNumberOfEvents
leads to this behavior, nor should it. The name suggest that this is a getter method. However, it looks like the implementation changes the internal state of the file.Tested on
/pnfs/desy.de/ilc/prod/ilc/mc-opt-3/ild/dst-merged/500-TDR_ws/2f_Z_hadronic/ILD_l5_o1_v02/v02-00-01/rv02-00-01.sv02-00-01.mILD_l5_o1_v02.E500-TDR_ws.I250114.P2f_z_h.eL.pR.n033.d_dstm_10410_96.slcio
The text was updated successfully, but these errors were encountered: