56 _data(0), _chi2(0), _ndof(0), _chi2red(0), _prob(0)
152 binnedData = ((
RooDataSet*)data)->binnedClone() ;
Bool_t initializeInstance()
Initialize module after attachment to RooMCStudy object.
RooAbsMCStudyModule is a base class for add-on modules to RooMCStudy that can perform additional calc...
Double_t getVal(const RooArgSet *set=0) const
Bool_t initializeRun(Int_t)
Initialize module at beginning of RooCMStudy run.
RooCmdArg Extended(Bool_t flag=kTRUE)
Double_t Prob(Double_t chi2, Int_t ndf)
Computation of the probability for a certain Chi-squared (chi2) and number of degrees of freedom (ndf...
RooDataSet is a container class to hold N-dimensional binned data.
RooCmdArg DataError(Int_t)
RooAbsCollection * selectByAttrib(const char *name, Bool_t value) const
Create a subset of the current collection, consisting only of those elements with the specified attri...
Bool_t processAfterFit(Int_t)
Bin dataset and calculate chi2 of p.d.f w.r.t binned dataset.
RooRealVar represents a fundamental (non-derived) real valued object.
RooChi2MCSModule is an add-on modules to RooMCStudy that calculates the chi-squared of fitted p...
virtual void setVal(Double_t value)
Set value of variable to 'value'.
RooAbsData is the common abstract base class for binned and unbinned datasets.
RooDataSet is a container class to hold unbinned data.
virtual void add(const RooArgSet &row, Double_t weight=1.0, Double_t weightError=0)
Add a data point, with its coordinates specified in the 'data' argset, to the data set...
virtual Int_t numEntries() const
Return the number of bins.
RooDataSet * finalizeRun()
Return auxiliary dataset with results of chi2 analysis calculations of this module so that it is merg...
virtual ~RooChi2MCSModule()
Destructor.