mlogger ROOT output double counts the events

Issue #177 resolved
dd1 created an issue

https://midas.triumf.ca/elog/Midas/1507

I realized that if I use 'rmlogger' to write events in ROOT format, each event is counted twice;

to fix the problem I commented line 3446 of mlogger.cxx (inside root_write function):

//log_chn->statistics.events_written++;

I confirm this problem - event counter is incremented by root_write() and by log_write() after calling root_write() through the WriterRoot::wr_write(). I will try to fix this for the next release of midas.

Comments (3)

  1. Log in to comment