16#ifndef ROO_EXTENDED_TERM
17#define ROO_EXTENDED_TERM
30 double evaluate()
const override {
return 1. ; }
#define ClassDefOverride(name, id)
RooAbsReal is the common abstract base class for objects that represent a real value and implements f...
RooArgSet is a container object that can hold multiple RooAbsArg objects.
RooExtendedTerm is a p.d.f with no observables that only introduces an extended ML term for a given n...
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.