diff --git a/Scintillator/ScintRecTools/src/WaveformReconstructionTool.cxx b/Scintillator/ScintRecTools/src/WaveformReconstructionTool.cxx index 657371165b784c56eda44a07cfb485073ca9a5e0..7b442b6950307f7da9d39de98cf037c5ce82bf32 100644 --- a/Scintillator/ScintRecTools/src/WaveformReconstructionTool.cxx +++ b/Scintillator/ScintRecTools/src/WaveformReconstructionTool.cxx @@ -151,7 +151,7 @@ WaveformReconstructionTool::reconstruct(const ScintWaveform& raw_wave, hit->set_baseline_mean(baseline.mean); hit->set_baseline_rms(baseline.rms); hit->set_time_vector(wtime); - hit->set_wave_vector(wave); + hit->set_wave_vector(wwave); // // Find some raw values @@ -253,7 +253,7 @@ WaveformReconstructionTool::findPeak(WaveformBaselineData& baseline, // Remove these values from the original arrays so we can iterate time.erase(time.begin()+lo_edge, time.begin()+hi_edge); wave.erase(wave.begin()+lo_edge, wave.begin()+hi_edge); - + return true; }