JeffersonLab / hcana

Hall C++ Analyzer
7 stars 118 forks source link

Fix to THcScalerEvtHandler.cxx #430

Closed MarkKJones closed 5 years ago

MarkKJones commented 5 years ago

In THcScalerEvtHandler::AnalyzeBuffer there is a loop over the scalers to keep track of scalers with a cut on the current. There was a mistake in using scal_prev_read[nscal-1] instead of dvars_prev_read[ivar] in the IF statement.