From 903f6d5459b5192ce99df116abb6fdb51ca88e73 Mon Sep 17 00:00:00 2001 From: Stephen JD Kay Date: Thu, 17 Aug 2023 04:05:01 -0600 Subject: [PATCH] Bugfix in eic.cc Added Love's bug fix directly. Oher changes are needed. Need to check corner cases and add real error messages/code breaks to this. Please do this in develop first. --- src/eic_evgen/eic.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/eic_evgen/eic.cc b/src/eic_evgen/eic.cc index bff69be..d800d32 100644 --- a/src/eic_evgen/eic.cc +++ b/src/eic_evgen/eic.cc @@ -400,7 +400,7 @@ vector>>> ReadCrossSectionPar(TString particle, TSt sigL_ParamFile = "../src/eic_evgen/CrossSection_Params/KPlusLambda_Param_sigL"; sigT_ParamFile = "../src/eic_evgen/CrossSection_Params/KPlusLambda_Param_sigT"; // Shouldn't really have a relative path, should look at setting a DEMPGen variable and doing this in a better way later } - else if (particle == "K+" && hadron == "Sigma"){ + else if (particle == "K+" && hadron == "Sigma0"){ cout << "Add K+/Sigma case here" << endl; sigL_ParamFile = "../src/eic_evgen/CrossSection_Params/KPlusSigma_Param_sigL"; sigT_ParamFile = "../src/eic_evgen/CrossSection_Params/KPlusSigma_Param_sigT";