16 #ifndef ROO_ABS_TEST_STATISTIC
17 #define ROO_ABS_TEST_STATISTIC
44 const RooArgSet& projDeps,
const char* rangeName=0,
const char* addCoefRangeName=0,
49 const RooArgSet& projDeps,
const char* rangeName=0,
const char* addCoefRangeName=0,
RooAbsTestStatistic * pRooAbsTestStatistic
virtual Double_t evaluate() const
Calculates and return value of test statistic.
Double_t _offsetCarry
Offset.
RooFit::MPSplit _mpinterl
Array of parallel execution frond ends.
void setSimCount(Int_t simCount)
GOFOpMode _gofOpMode
Is object initialized.
virtual void constOptimizeTestStatistic(ConstOpCode opcode, Bool_t doAlsoTrackingOpt=kTRUE)
Forward constant term optimization management calls to component test statistics. ...
pRooRealMPFE * _mpfeArray
void initMPMode(RooAbsReal *real, RooAbsData *data, const RooArgSet *projDeps, const char *rangeName, const char *addCoefRangeName)
Initialize multi-processor calculation mode.
virtual Double_t getCarry() const
std::vector< RooFit::MPSplit > _gofSplitMode
Array of sub-contexts representing part of the combined test statistic.
void initSimMode(RooSimultaneous *pdf, RooAbsData *data, const RooArgSet *projDeps, const char *rangeName, const char *addCoefRangeName)
Initialize simultaneous p.d.f processing mode.
void setMPSet(Int_t setNum, Int_t numSets)
Set MultiProcessor set number identification of this instance.
virtual Double_t offset() const
virtual Double_t offsetCarry() const
#define ClassDef(name, id)
pRooAbsTestStatistic * _gofArray
Double_t _evalCarry
avoids loss of precision
virtual ~RooAbsTestStatistic()
Destructor.
virtual Double_t combinedValue(RooAbsReal **gofArray, Int_t nVal) const =0
const RooArgSet * _projDeps
virtual void printCompactTreeHook(std::ostream &os, const char *indent="")
Add extra information on component test statistics when printing itself as part of a tree structure...
Bool_t initialize()
One-time initialization of the test statistic.
virtual Bool_t redirectServersHook(const RooAbsCollection &newServerList, Bool_t mustReplaceAll, Bool_t nameChange, Bool_t isRecursive)
Forward server redirect calls to component test statistics.
virtual Double_t evaluatePartition(Int_t firstEvent, Int_t lastEvent, Int_t stepSize) const =0
static void indent(ostringstream &buf, int indent_level)
virtual Bool_t processEmptyDataSets() const
std::string _addCoefRangeName
RooAbsReal is the common abstract base class for objects that represent a real value and implements f...
virtual Double_t globalNormalization() const
Int_t _nGof
Number of designated set to calculated extended term.
void setEventCount(Int_t nEvents)
GOFOpMode operMode() const
Bool_t isOffsetting() const
virtual RooAbsTestStatistic * create(const char *name, const char *title, RooAbsReal &real, RooAbsData &data, const RooArgSet &projDeps, const char *rangeName=0, const char *addCoefRangeName=0, Int_t nCPU=1, RooFit::MPSplit interleave=RooFit::BulkPartition, Bool_t verbose=kTRUE, Bool_t splitCutRange=kFALSE, Bool_t binnedL=kFALSE)=0
Bool_t setData(RooAbsData &data, Bool_t cloneData=kTRUE)
Change dataset that is used to given one.
RooRealMPFE * pRooRealMPFE
virtual Bool_t setDataSlave(RooAbsData &, Bool_t=kTRUE, Bool_t=kFALSE)
void enableOffsetting(Bool_t flag)
RooAbsTestStatistic()
Default constructor.
Int_t _nCPU
GOF MP Split mode specified by component (when Auto is active)