13#ifndef ROO_ABS_OPT_TEST_STATISTIC
14#define ROO_ABS_OPT_TEST_STATISTIC
25class RooAbsOptTestStatistic :
public RooAbsTestStatistic {
31 RooAbsTestStatistic::Configuration
const& cfg);
32 RooAbsOptTestStatistic(
const RooAbsOptTestStatistic& other,
const char*
name=
nullptr);
33 ~RooAbsOptTestStatistic()
override;
35 double combinedValue(
RooAbsReal** gofArray,
Int_t nVal)
const override ;
37 RooAbsReal& function() {
return *_funcClone ; }
38 const RooAbsReal& function()
const {
return *_funcClone ; }
44 const char* cacheUniqueSuffix()
const override;
47 bool isDerived()
const override {
return true ; }
49 void seal(
const char* notice=
"") { _sealed = true ; _sealNotice = notice ; }
50 bool isSealed()
const {
return _sealed ; }
51 const char* sealNotice()
const {
return _sealNotice.Data() ; }
54 void setUpBinSampling();
58 bool setDataSlave(
RooAbsData&
data,
bool cloneData=
true,
bool ownNewDataAnyway=
false)
override ;
60 const char* addCoefRangeName) ;
63 friend class RooAbsTestStatistic ;
65 bool redirectServersHook(
const RooAbsCollection& newServerList,
bool mustReplaceAll,
bool nameChange,
bool isRecursive)
override ;
66 void printCompactTreeHook(std::ostream& os,
const char*
indent=
"")
override ;
67 void optimizeCaching() ;
74 bool _ownData =
false;
81 double _integrateBinsPrecision{-1.};
int Int_t
Signed integer 4 bytes (int)
static void indent(ostringstream &buf, int indent_level)
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void data
Abstract container object that can hold multiple RooAbsArg objects.
Abstract base class for binned and unbinned datasets.
Abstract base class for objects that represent a real value and implements functionality common to al...
RooArgSet is a container object that can hold multiple RooAbsArg objects.