Skip to content

Commit

Permalink
Merge pull request #58 from willp240/systman_groups_fix
Browse files Browse the repository at this point in the history
Correctly use Systematic Groups in BinnedNLLH::AddPDFs
  • Loading branch information
dcookman authored Dec 20, 2024
2 parents 2e1c03d + 032b2af commit 999ae11
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/teststat/BinnedNLLH.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -215,11 +215,11 @@ void BinnedNLLH::AddPdfs(const std::vector<BinnedED> &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));
}
}
}
Expand Down

0 comments on commit 999ae11

Please sign in to comment.