From 6b100c341ad3734e731028eb068bca69da6c6f68 Mon Sep 17 00:00:00 2001 From: Andrew Strong <aws@olga4.opt.rzg.mpg.de> Date: Sat, 18 Jan 2020 11:34:55 +0100 Subject: [PATCH] SourceModel2: remove if statement for fitType=FIXED for flux100 since not in 4FGL --- source/SourceModel2.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/SourceModel2.cc b/source/SourceModel2.cc index 8882115..a18899f 100644 --- a/source/SourceModel2.cc +++ b/source/SourceModel2.cc @@ -42,10 +42,10 @@ SourceModel2::SourceModel2(const Exposure &exposure, const CountsMap &counts, co //Loop through all the sources and find out their type //Add their indices to the correct vectors - for (int i = 0; i < fsources.size(); ++i){ + for (int i = 0; i < fsources.size(); ++i){ std::cout<<"SourceModel2: i, fsources[i].fitType, flux100, fluxLim flux1000:"<<i<<" "<<fsources[i].fitType<<" "<<fsources[i].flux100<<" "<<fluxLim<<" "<<fsources[i].flux1000<<std::endl; //AWS20200118 switch(fsources[i].fitType){ case Sources::FIXED: - if (fsources[i].flux100 > fluxLim && (maxFixedSources > fFixedSources.size() || maxFixedSources == -1)) + //if (fsources[i].flux100 > fluxLim && (maxFixedSources > fFixedSources.size() || maxFixedSources == -1)) //AWS20200118 fFixedSources.push_back(i); break; case Sources::PREFACTOR: -- GitLab