68 if (
_mcs)
return _mcs->
refit(inGenSample) ;
else return nullptr ;
Abstract base class for binned and unbinned datasets.
Base class for add-on modules to RooMCStudy that can perform additional calculations on each generate...
RooMCStudy * _mcs
Pointer to RooMCStudy object module is attached to.
virtual bool initializeInstance()
Initializer called immediately after attachment to RooMCStudy object and initialization of module bas...
RooFit::OwningPtr< RooFitResult > refit(RooAbsData *inGenSample=nullptr)
Refit model using original or specified data sample.
RooAbsMCStudyModule(const char *name, const char *title)
Constructor.
bool doInitializeInstance(RooMCStudy &)
Initializer method called upon attachment to given RooMCStudy object.
Helper class to facilitate Monte Carlo studies such as 'goodness-of-fit' studies, that involve fittin...
RooFit::OwningPtr< RooFitResult > refit(RooAbsData *genSample=nullptr)
Redo fit on 'current' toy sample, or if genSample is not nullptr do fit on given sample instead.
The TNamed class is the base class for all named ROOT classes.
T * OwningPtr
An alias for raw pointers for indicating that the return type of a RooFit function is an owning point...