11 #ifndef ROOSTATS_NumEventsTestStat 12 #define ROOSTATS_NumEventsTestStat 78 std::cout <<
"Data set is invalid" << std::endl;
virtual Double_t sumEntries() const =0
virtual const RooArgSet * get() const
virtual Double_t getValV(const RooArgSet *nset=0) const
Return value of variable.
virtual const TString GetVarName() const
virtual Double_t Evaluate(RooAbsData &data, RooArgSet &)
Main interface to evaluate the test statistic on a dataset given the values for the Null Parameters O...
#define ClassDef(name, id)
virtual const RooAbsArg * GetTestStatistic() const
RooRealVar represents a fundamental (non-derived) real valued object.
virtual ~NumEventsTestStat()
RooAbsData is the common abstract base class for binned and unbinned datasets.
Bool_t canBeExtended() const
Namespace for the RooStats classes.
NumEventsTestStat(RooAbsPdf &pdf)
virtual Bool_t isWeighted() const
RooAbsPdf is the abstract interface for all probability density functions The class provides hybrid a...
RooLinkedListIter iterator(Bool_t dir=kIterForward) const
RooAbsArg is the common abstract base class for objects that represent a value (of arbitrary type) an...
TestStatistic is an interface class to provide a facility for construction test statistics distributi...
RooLinkedListIter is the TIterator implementation for RooLinkedList.
virtual Int_t numEntries() const
NumEventsTestStat is a simple implementation of the TestStatistic interface used for simple number co...