fix batch mode averaged output

closes issue #63
This commit is contained in:
Ryan M. L. McFadden
2024-09-10 13:52:30 -07:00
committed by Andreas Suter
parent e0230196c2
commit 6263e9aba3

View File

@ -941,6 +941,7 @@ void PMusrCanvas::HandleCmdKey(Int_t event, Int_t x, Int_t y, TObject *selected)
if (fBatchMode) { if (fBatchMode) {
if (fStartWithAvg) { // this is needed to get the averaging in the batch mode if (fStartWithAvg) { // this is needed to get the averaging in the batch mode
fAveragedView = fStartWithAvg;
HandleAverage(); HandleAverage();
PlotAverage(true); PlotAverage(true);
} }