ROOT  6.07/01
Reference Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Private Attributes | List of all members
RooStats::NumEventsTestStat Class Reference

NumEventsTestStat is a simple implementation of the TestStatistic interface used for simple number counting.

It should probably support simple cuts as well.

Definition at line 51 of file NumEventsTestStat.h.

Public Member Functions

 NumEventsTestStat ()
 
 NumEventsTestStat (RooAbsPdf &pdf)
 
virtual ~NumEventsTestStat ()
 
virtual Double_t Evaluate (RooAbsData &data, RooArgSet &)
 Main interface to evaluate the test statistic on a dataset given the values for the Null Parameters Of Interest. More...
 
virtual const RooAbsArgGetTestStatistic () const
 
virtual const TString GetVarName () const
 
- Public Member Functions inherited from RooStats::TestStatistic
virtual ~TestStatistic ()
 
virtual bool PValueIsRightTail (void) const
 Defines the sign convention of the test statistic. Overwrite function if necessary. More...
 
virtual const RooArgSetGetDetailedOutput () const
 return detailed output: for fits this can be pulls, processing time, ... The returned pointer will not loose validity until another call to Evaluate. More...
 

Private Attributes

RooAbsPdffPdf
 

#include <RooStats/NumEventsTestStat.h>

Inheritance diagram for RooStats::NumEventsTestStat:
[legend]

Constructor & Destructor Documentation

RooStats::NumEventsTestStat::NumEventsTestStat ( )
inline

Definition at line 54 of file NumEventsTestStat.h.

RooStats::NumEventsTestStat::NumEventsTestStat ( RooAbsPdf pdf)
inline

Definition at line 55 of file NumEventsTestStat.h.

virtual RooStats::NumEventsTestStat::~NumEventsTestStat ( )
inlinevirtual

Definition at line 58 of file NumEventsTestStat.h.

Member Function Documentation

virtual Double_t RooStats::NumEventsTestStat::Evaluate ( RooAbsData data,
RooArgSet nullPOI 
)
inlinevirtual

Main interface to evaluate the test statistic on a dataset given the values for the Null Parameters Of Interest.

Implements RooStats::TestStatistic.

Definition at line 64 of file NumEventsTestStat.h.

virtual const RooAbsArg* RooStats::NumEventsTestStat::GetTestStatistic ( void  ) const
inlinevirtual

Definition at line 93 of file NumEventsTestStat.h.

virtual const TString RooStats::NumEventsTestStat::GetVarName ( ) const
inlinevirtual

Implements RooStats::TestStatistic.

Definition at line 95 of file NumEventsTestStat.h.

Member Data Documentation

RooAbsPdf* RooStats::NumEventsTestStat::fPdf
private

Definition at line 99 of file NumEventsTestStat.h.

Referenced by Evaluate(), GetTestStatistic(), and NumEventsTestStat().

Collaboration diagram for RooStats::NumEventsTestStat:
[legend]

The documentation for this class was generated from the following file: