Data.Scans.ScanPoint.Integrate C# (CSharp) Method

Integrate() private method

private Integrate ( ArrayList shots, int index, double startTime, double endTime ) : double
shots System.Collections.ArrayList
index int
startTime double
endTime double
return double
        private double Integrate(ArrayList shots, int index, double startTime, double endTime)
        {
            double temp = 0;
            foreach (Shot s in shots) temp += s.Integrate(index, startTime, endTime);
            return temp/shots.Count;
        }