diff --git a/Root/HiggsWeightTool.cxx b/Root/HiggsWeightTool.cxx index 8825cb9df42818742afbff212cb4b288705790fc..b9da01027e249346499addb19d5132917bafe48f 100644 --- a/Root/HiggsWeightTool.cxx +++ b/Root/HiggsWeightTool.cxx @@ -203,6 +203,10 @@ namespace xAOD { updateWeights(hw.nominal,hw.pdf4lhc_unc); updateWeights(hw.nominal,hw.nnpdf30_unc); } + void HiggsWeightTool::updateWeight(const double &w_nom, double &w) { + + } + diff --git a/TruthWeightTools/HiggsWeightTool.h b/TruthWeightTools/HiggsWeightTool.h index 4022e8625be5cb71dda64c52b0faa0e5842d2e5a..9711a52959bede9c256e22a818967438ffd3ad71 100644 --- a/TruthWeightTools/HiggsWeightTool.h +++ b/TruthWeightTools/HiggsWeightTool.h @@ -153,6 +153,9 @@ namespace xAOD { /// Protect against non-finite or outside-reqired-range weights void updateWeights(HiggsWeights &hw); + void updateWeight(const double &w_nom, double &w); + void updateWeights(const double &w_nom, std::vector<double> &ws) { for (auto &w:ws) updateWeight(w_nom,w); } + /// Setup weights void setupWeights(size_t Nweights);