28 RooAbsReal& norm,
const char* rangeName=
nullptr);
39 return _pdf->getAnalyticalIntegralWN(allVars, analVars, normSet, rangeName) ;
43 return _pdf->analyticalIntegralWN(code, normSet, rangeName) ;
#define ClassDefOverride(name, id)
Common abstract base class for objects that represent a value and a "shape" in RooFit.
Abstract interface for all probability density functions.
A RooAbsReal::Ref can be constructed from a RooAbsReal& or a double that will be implicitly converted...
Abstract base class for objects that represent a real value and implements functionality common to al...
RooArgSet is a container object that can hold multiple RooAbsArg objects.
RooExtendPdf is a wrapper around an existing PDF that adds a parameteric extended likelihood term to ...
std::unique_ptr< RooAbsReal > createExpectedEventsFunc(const RooArgSet *nset) const override
Returns an object that represents the expected number of events for a given normalization set,...
double evaluate() const override
Evaluate this PDF / function / constant. Needs to be overridden by all derived classes.
bool forceAnalyticalInt(const RooAbsArg &) const override
Int_t getAnalyticalIntegralWN(RooArgSet &allVars, RooArgSet &analVars, const RooArgSet *normSet, const char *rangeName=nullptr) const override
Forward determination of analytical integration capabilities to input p.d.f.
double analyticalIntegralWN(Int_t code, const RooArgSet *normSet, const char *rangeName=nullptr) const override
Forward calculation of analytical integrals to input p.d.f.
ExtendMode extendMode() const override
Returns ability of PDF to provide extended likelihood terms.
RooTemplateProxy< RooAbsPdf > _pdf
Input p.d.f.
double expectedEvents(const RooArgSet *nset) const override
Return the number of expected events over the full range of all variables.
const TNamed * _rangeName
Name of subset range.
bool selfNormalized() const override
Shows if a PDF is self-normalized, which means that no attempt is made to add a normalization term.
RooTemplateProxy< RooAbsReal > _n
Number of expected events.
void translate(RooFit::Detail::CodeSquashContext &ctx) const override
This function defines a translation for each RooAbsReal based object that can be used to express the ...
TObject * clone(const char *newname) const override
A class to maintain the context for squashing of RooFit models into code.
The TNamed class is the base class for all named ROOT classes.
Mother of all ROOT objects.