bearing/grif — pull request #37 by markbandstra (2012-06-22 00:48:31+00:00)
Title: Improved efficiency of loops in SIMMCAnalysisThread::Analyze

**Lesson learned:** never let GRIF code fill ROOT histograms one element at a time; this is very inefficient and can make the AnalysisThread in question take up too much processor time. It is much better to fill up an array and then send the whole array using UpdateHistogram().

We fixed this for MVRDS today and got a substantial improvement in real-time performance. I am changing this in the Histogrammer example in case somebody uses it as example code.