56 _data(0), _chi2(0), _ndof(0), _chi2red(0), _prob(0)
70 _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.
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...
RooCmdArg DataError(Int_t)
Double_t getVal(const RooArgSet *set=0) const
Bool_t processAfterFit(Int_t)
Bin dataset and calculate chi2 of p.d.f w.r.t binned dataset.
ClassImp(RooChi2MCSModule)
virtual void setVal(Double_t value)
Set value of variable to 'value'.
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.
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...