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
parent ebefcf7af9
commit 58889614e5

View File

@ -939,6 +939,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);
} }