TestStatistic is an interface class to provide a facility for construction test statistics distributions to the NeymanConstruction class.
All the actual samplers inherit from this class.
Definition at line 31 of file TestStatistic.h.
| Public Member Functions | |
| virtual | ~TestStatistic () | 
| virtual double | Evaluate (RooAbsData &data, RooArgSet &nullPOI)=0 | 
| Main interface to evaluate the test statistic on a dataset given the values for the Null Parameters Of Interest. | |
| virtual const RooArgSet * | GetDetailedOutput () const | 
| return detailed output: for fits this can be pulls, processing time, ... The returned pointer will not loose validity until another call to Evaluate. | |
| virtual const TString | GetVarName () const =0 | 
| virtual TClass * | IsA () const | 
| virtual bool | PValueIsRightTail (void) const | 
| Defines the sign convention of the test statistic. Overwrite function if necessary. | |
| virtual void | SetConditionalObservables (const RooArgSet &) | 
| interface to set conditional observables. If a test statistics needs them it will re-implement this function | |
| virtual void | SetGlobalObservables (const RooArgSet &) | 
| interface to set global observables. If a test statistics needs them it will re-implement this function | |
| virtual void | Streamer (TBuffer &) | 
| void | StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b) | 
| Static Public Member Functions | |
| static TClass * | Class () | 
| static const char * | Class_Name () | 
| static constexpr Version_t | Class_Version () | 
| static const char * | DeclFileName () | 
#include <RooStats/TestStatistic.h>
| 
 | inlinevirtual | 
Definition at line 35 of file TestStatistic.h.
Definition at line 58 of file TestStatistic.h.
Definition at line 58 of file TestStatistic.h.
| 
 | pure virtual | 
Main interface to evaluate the test statistic on a dataset given the values for the Null Parameters Of Interest.
Implemented in RooStats::DebuggingTestStat, RooStats::MaxLikelihoodEstimateTestStat, RooStats::NumEventsTestStat, RooStats::RatioOfProfiledLikelihoodsTestStat, RooStats::SimpleLikelihoodRatioTestStat, and RooStats::ProfileLikelihoodTestStat.
return detailed output: for fits this can be pulls, processing time, ... The returned pointer will not loose validity until another call to Evaluate.
Reimplemented in RooStats::ProfileLikelihoodTestStat, RooStats::RatioOfProfiledLikelihoodsTestStat, and RooStats::SimpleLikelihoodRatioTestStat.
Definition at line 48 of file TestStatistic.h.
Reimplemented in RooStats::DebuggingTestStat, RooStats::MaxLikelihoodEstimateTestStat, RooStats::NumEventsTestStat, RooStats::ProfileLikelihoodTestStat, RooStats::RatioOfProfiledLikelihoodsTestStat, and RooStats::SimpleLikelihoodRatioTestStat.
Definition at line 58 of file TestStatistic.h.
Defines the sign convention of the test statistic. Overwrite function if necessary.
Reimplemented in RooStats::MaxLikelihoodEstimateTestStat.
Definition at line 45 of file TestStatistic.h.
interface to set conditional observables. If a test statistics needs them it will re-implement this function
Reimplemented in RooStats::MaxLikelihoodEstimateTestStat, RooStats::ProfileLikelihoodTestStat, RooStats::RatioOfProfiledLikelihoodsTestStat, and RooStats::SimpleLikelihoodRatioTestStat.
Definition at line 51 of file TestStatistic.h.
interface to set global observables. If a test statistics needs them it will re-implement this function
Reimplemented in RooStats::ProfileLikelihoodTestStat, RooStats::RatioOfProfiledLikelihoodsTestStat, and RooStats::SimpleLikelihoodRatioTestStat.
Definition at line 54 of file TestStatistic.h.
| 
 | inline | 
Definition at line 58 of file TestStatistic.h.