From de386fd350961ca44e50e66ad79246b5ac09c777 Mon Sep 17 00:00:00 2001
From: Bertram Kopf <bertram@pc14.(none)>
Date: Thu, 19 Jan 2012 17:05:50 +0100
Subject: [PATCH] JpsiGamKsKlKK: fix for Flatte parametrization

---
 Examples/JpsiGamKsKlKK/JpsiGamKsKlKKProdLh.cc | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/Examples/JpsiGamKsKlKK/JpsiGamKsKlKKProdLh.cc b/Examples/JpsiGamKsKlKK/JpsiGamKsKlKKProdLh.cc
index e7c152ef..ee768ad3 100644
--- a/Examples/JpsiGamKsKlKK/JpsiGamKsKlKKProdLh.cc
+++ b/Examples/JpsiGamKsKlKK/JpsiGamKsKlKKProdLh.cc
@@ -83,8 +83,9 @@ double JpsiGamKsKlKKProdLh::calcEvtIntensity(EvtData* theData, fitParams& thePar
     Vector4<double> fv2Phi = theData->FourVecs[enumJpsiGamKsKlKKData::V4_KsKlKpKm_HeliPsi];
     mass = theParamVal.Masses[paramEnumJpsiGamKsKlKK::f02020];
     if( _f02020FlatteHyp  ){
-      double gKK =  theParamVal.Widths[paramEnumJpsiGamKsKlKK::f02020gKK];
-      double gPhiPhi =  theParamVal.Widths[paramEnumJpsiGamKsKlKK::f02020gPhiPhi];
+      double gKK =  theParamVal.gFactors[paramEnumJpsiGamKsKlKK::f02020gKK];
+      double gPhiPhi =  theParamVal.gFactors[paramEnumJpsiGamKsKlKK::f02020gPhiPhi];
+
       const double phiMass = 1.019455;
       const double kaonMass = 0.493677;
       std::pair <const double, const double> kkPair=make_pair(kaonMass, kaonMass);
-- 
GitLab