Skip to content
Snippets Groups Projects
Commit 31020360 authored by Brian Andrew Cole's avatar Brian Andrew Cole
Browse files

fix bug in use of FADC correction

parent 593f6658
No related branches found
No related tags found
No related merge requests found
......@@ -510,7 +510,7 @@ double ZDCPulseAnalyzer::getAmplitudeCorrection(bool highGain)
//
if (m_haveFADCCorrections && !m_FADCCorrPerSample) {
double fadcCorr = highGain ? m_FADCCorrHG->Interpolate(m_fitAmplitude) : m_FADCCorrLG->Interpolate(m_fitAmplitude);
amplCorrFactor *= m_FADCCorrLG->Interpolate(m_fitAmplitude);
amplCorrFactor *= fadcCorr;
}
double amplCorr = m_fitAmplitude * amplCorrFactor;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment