Back Midas Rome Roody Rootana
  Root Analyzer Framework  Not logged in ELOG logo
Message ID: 38     Entry time: 22 Mar 2021
Author: Isaac Labrie Boulay 
Topic: Forum 
Subject: Manalyzer - Preventing BeginRun() from getting called when I stop the run. 
Hi all,

I am running an analyzer using an manalyzer templates and the analysis seems to 
lag behind the events getting stored in the buffer by my frontend. This is because 
the live histogram (-g) is very slow to update and draw. The slight delay causes a 
run object to be created after I 'stop' the acquisition. I'm guessing that this is 
because there are still MIDAS events in the ring buffer. This causes the 
BeginRun() methods of all my modules to get called again.

What is the best way to prevent this? From what I understand, PreEndRun() methods 
should only be used to clear buffered flow events. Is there maybe a way to speed 
up the histogram drawing so that I don't get this lag in the analysis?

Any help will be greatly appreciated.

Thanks so much for your time.

ELOG V3.1.4-2e1708b5