From b42812a61f623ce9852a5a3f2f1abeec43f1905a Mon Sep 17 00:00:00 2001
From: gypaos <gypaos@gmail.com>
Date: Thu, 11 Feb 2021 18:13:18 +0100
Subject: [PATCH] Better determination of the energy resolution Linear local
 fit is used instead of general fit

---
 .../ComptonTelescope/online/Calibration_DSSSD/Analyse207Bi.C  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Projects/ComptonTelescope/online/Calibration_DSSSD/Analyse207Bi.C b/Projects/ComptonTelescope/online/Calibration_DSSSD/Analyse207Bi.C
index ba8260356..7ac22da64 100644
--- a/Projects/ComptonTelescope/online/Calibration_DSSSD/Analyse207Bi.C
+++ b/Projects/ComptonTelescope/online/Calibration_DSSSD/Analyse207Bi.C
@@ -369,10 +369,10 @@ void Analyse207Bi(const char* name = "bb7_3309-7_bi207_20210126_13h09_run5_conv_
             ///////////////////////////////////////////////////////////////////////////
             // fill fwhm data
             if (p) {
-               grFWHMhigh->SetPoint(n, n, fcalibFull->GetParameter(1)*2.35*fit->GetParameter(0));
+               grFWHMhigh->SetPoint(n, n, fcalibLocal->GetParameter(1)*2.35*fit->GetParameter(0));
             }
             else {
-               grFWHMlow ->SetPoint(n, n, fcalibFull->GetParameter(1)*2.35*fit->GetParameter(0));
+               grFWHMlow ->SetPoint(n, n, fcalibLocal->GetParameter(1)*2.35*fit->GetParameter(0));
             }
          }
 
-- 
GitLab