From 032b2af5779e51140d6a635f3a1d6d60aefff62c Mon Sep 17 00:00:00 2001 From: parkerw Date: Fri, 6 Dec 2024 12:56:58 +0000 Subject: [PATCH] In SystMan AddPDFs, if using syst groups call corresponding AddPDF method --- src/teststat/BinnedNLLH.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/teststat/BinnedNLLH.cpp b/src/teststat/BinnedNLLH.cpp index 603b75e..c1deaaf 100644 --- a/src/teststat/BinnedNLLH.cpp +++ b/src/teststat/BinnedNLLH.cpp @@ -215,11 +215,11 @@ void BinnedNLLH::AddPdfs(const std::vector &pdfs, { if (norm_fitting_statuses != nullptr) { - AddPdf(pdfs.at(i), genrates_.at(i), norm_fitting_statuses->at(i)); + AddPdf(pdfs.at(i), sys_.at(i), genrates_.at(i), norm_fitting_statuses->at(i)); } else { - AddPdf(pdfs.at(i), genrates_.at(i)); + AddPdf(pdfs.at(i), sys_.at(i), genrates_.at(i)); } } }