16 #ifndef ROO_ABS_TEST_STATISTIC 17 #define ROO_ABS_TEST_STATISTIC 43 const RooArgSet& projDeps,
const char* rangeName=0,
const char* addCoefRangeName=0,
48 const RooArgSet& projDeps,
const char* rangeName=0,
const char* addCoefRangeName=0,
RooAbsTestStatistic * pRooAbsTestStatistic
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. ...
virtual Bool_t processEmptyDataSets() const
GOFOpMode operMode() const
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 offset() 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.
Bool_t isOffsetting() const
RooRealMPFE is the multi-processor front-end for parallel calculation of RooAbsReal objects...
#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 getCarry() const
virtual Double_t evaluatePartition(Int_t firstEvent, Int_t lastEvent, Int_t stepSize) const =0
virtual Double_t offsetCarry() const
RooAbsData is the common abstract base class for binned and unbinned datasets.
std::string _addCoefRangeName
RooAbsReal is the common abstract base class for objects that represent a real value and implements f...
Int_t _nGof
Number of designated set to calculated extended term.
RooAbsTestStatistic is the abstract base class for all test statistics.
void setEventCount(Int_t nEvents)
virtual Double_t globalNormalization() const
RooAbsCollection is an abstract container object that can hold multiple RooAbsArg objects...
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.
RooSetProxy is the concrete proxy for RooArgSet objects.
RooRealMPFE * pRooRealMPFE
virtual Bool_t setDataSlave(RooAbsData &, Bool_t=kTRUE, Bool_t=kFALSE)
virtual Double_t evaluate() const
Calculates and return value of test statistic.
RooSimultaneous facilitates simultaneous fitting of multiple PDFs to subsets of a given dataset...
void enableOffsetting(Bool_t flag)
RooAbsTestStatistic()
Default constructor.
Int_t _nCPU
GOF MP Split mode specified by component (when Auto is active)