Hi Root team. Facing a different problem this time. Using Root with realtime data and graphs was easy and efficient but this time I’m working with realtime data and histograms and facing a new problem. The signal I’m sampling gets aggregated ( since it’s an histogram, yeah I got that )
calling the regular create hist and fill after iteration works perfectly and on an efficient manner, but the problem is that I need a new frame every time an iteration occurs.
Calling the usual routine after the fill loop like :
canvas->Pad()->Draw();
canvas->Update();
gSystem->ProcessEvents();
Doesn’t do the trick, since the hist seems to keep on aggregating the signal. So it’s clear that we need a new frame for each iteration.
Calling reset after the update hist->Reset();
doesn’t work as expected, the entire pipeline gets sluggish although the effect on the frame is the desired effect ( one frame per iteration and then reset )
What is the common way to achieve this on a performant fashion ?
Thank you