public TOFWithError GetResult() { TOFWithError temp = new TOFWithError(); temp.Calibration = calibration; temp.ClockPeriod = clockPeriod; temp.GateStartTime = gateStartTime; temp.Data = Data; temp.Errors = Errors; return temp; }