16#ifndef ROO_EXTENDED_TERM
17#define ROO_EXTENDED_TERM
30 double evaluate()
const override {
return 1. ; }
#define ClassDefOverride(name, id)
Abstract interface for all probability density functions.
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.
A p.d.f with no observables that only introduces an extended ML term for a given number of expected e...
ExtendMode extendMode() const override
Returns ability of PDF to provide extended likelihood terms.
double evaluate() const override
Evaluate this PDF / function / constant. Needs to be overridden by all derived classes.
RooRealProxy _n
Number of expected events.
double expectedEvents(const RooArgSet *nset) const override
Return number of expected events, in other words the value of the associated n parameter.
RooExtendedTerm()=default
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,...
TObject * clone(const char *newname) const override
Mother of all ROOT objects.