ROOT » ROOFIT » ROOSTATS » RooStats::NumEventsTestStat

class RooStats::NumEventsTestStat: public RooStats::TestStatistic

NumEventsTestStat is a simple implementation of the TestStatistic interface used for simple number counting. It should probably support simple cuts as well.

Function Members (Methods)

Data Members


Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

{ }
NumEventsTestStat(RooAbsPdf& pdf)
virtual ~NumEventsTestStat()
       delete fRand;
       delete fTestStatistic;
Double_t Evaluate(RooAbsData& data, RooArgSet& )
 Main interface to evaluate the test statistic on a dataset
const RooAbsArg* GetTestStatistic() const
 Get the TestStatistic
{return fPdf;}
const TString GetVarName() const
{return "Number of events";}