Skip to content

Commit

Permalink
forward call to createExpectedEventsFunc to subpdf
Browse files Browse the repository at this point in the history
  • Loading branch information
will-cern authored and guitargeek committed Nov 1, 2024
1 parent 2cc4b70 commit 1d4f6d2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions roofit/roofitcore/inc/RooBinSamplingPdf.h
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,10 @@ class RooBinSamplingPdf : public RooAbsPdf {
double analyticalIntegral(Int_t code, const char* rangeName=nullptr) const override {
return _pdf->analyticalIntegral(code, rangeName);
}
/// Forwards to the PDF's implementation.
std::unique_ptr<RooAbsReal> createExpectedEventsFunc(const RooArgSet *nset) const override {
return _pdf->createExpectedEventsFunc(nset);
}

/// Forwards to the PDF's implementation.
bool selfNormalized() const override { return true; }
Expand Down

0 comments on commit 1d4f6d2

Please sign in to comment.