17#ifndef ROO_ABS_MC_STUDY_MODULE
18#define ROO_ABS_MC_STUDY_MODULE
84 return _mcs ?
_mcs->_genSample : nullptr ;
89 return _mcs ?
_mcs->_genModel : nullptr ;
94 return _mcs ?
_mcs->_genContext.get() : nullptr ;
99 return _mcs ? &
_mcs->_genInitParams : nullptr ;
104 return _mcs ? &
_mcs->_genParams : nullptr ;
109 return _mcs ?
_mcs->_genProtoData : nullptr ;
114 return _mcs ? &
_mcs->_projDeps : nullptr ;
121 return _mcs ? &
_mcs->_dependents : nullptr ;
126 return _mcs ? &
_mcs->_allDependents : nullptr ;
131 return _mcs ?
_mcs->_fitModel : nullptr ;
136 return _mcs ? &
_mcs->_fitInitParams : nullptr ;
141 return _mcs ? &
_mcs-> _fitParams : nullptr ;
146 return _mcs ?
_mcs->_nllVar.get() : nullptr ;
153 return _mcs ? &
_mcs->_fitOptList : nullptr ;
158 return _mcs ?
_mcs->_extendedGen : false ;
163 return _mcs ?
_mcs->_binGenData : false ;
173 return _mcs ?
_mcs->_randProto : false ;
178 return _mcs ?
_mcs->_verboseGen : false ;
int Int_t
Signed integer 4 bytes (int).
#define ClassDefOverride(name, id)
Abstract base class for binned and unbinned datasets.
Abstract base class for generator contexts of RooAbsPdf objects.
RooArgSet * allDependents()
Return all observables.
RooRealVar * nllVar()
Return pointer to RooRealVar holding minimized -log(L) value.
RooMCStudy * _mcs
Pointer to RooMCStudy object module is attached to.
virtual RooDataSet * finalizeRun()
Method called at the end of each RooMCStudy run.
bool extendedGen()
If true extended mode generation is requested.
virtual bool initializeInstance()
Initializer called immediately after attachment to RooMCStudy object and initialization of module bas...
RooAbsData * genSample()
Return generate sample.
virtual bool initializeRun(Int_t)
Method called at the beginning of each RooMCStudy run.
RooAbsGenContext * genContext()
bool randProto()
If true randomization of prototype data order is requested.
RooLinkedList * fitOptList()
Return list of fit options provided by user.
virtual bool processBetweenGenAndFit(Int_t)
Method called after generation of toy data sample and resetting of fit parameters to initial values a...
double numExpGen()
Return expected number of events from generator model.
const RooDataSet * genProtoData()
Return generator prototype data provided by user.
RooFit::OwningPtr< RooFitResult > refit(RooAbsData *inGenSample=nullptr)
Refit model using original or specified data sample.
RooArgSet * genInitParams()
Return initial value of generator model parameters.
RooAbsMCStudyModule(const char *name, const char *title)
Constructor.
RooAbsPdf * fitModel()
Return fit model.
RooArgSet * fitParams()
Return current value of parameters of fit model.
bool binGenData()
If true binning of data between generating and fitting is requested.
RooArgSet * genParams()
Return current value of generator model parameters.
virtual bool processAfterFit(bool fitOk)=0
Method called after fit has been performed.
RooArgSet * projDeps()
Return projected observables.
RooAbsPdf * genModel()
Return generator pdf.
bool verboseGen()
If true verbose message in the generation step is requested.
virtual bool processBeforeGen(Int_t)
Method called after resetting of generator parameters to initial values and before call to generator ...
RooArgSet * fitInitParams()
Return initial value of parameters of fit model.
RooArgSet * dependents()
Return fit model observables.
bool doInitializeInstance(RooMCStudy &)
Initializer method called upon attachment to given RooMCStudy object.
Abstract interface for all probability density functions.
RooArgSet is a container object that can hold multiple RooAbsArg objects.
Container class to hold unbinned data.
RooFitResult is a container class to hold the input and output of a PDF fit to a dataset.
Collection class for internal use, storing a collection of RooAbsArg pointers in a doubly linked list...
Helper class to facilitate Monte Carlo studies such as 'goodness-of-fit' studies, that involve fittin...
Plot frame and a container for graphics objects within that frame.
Variable that can be changed from the outside.
T * OwningPtr
An alias for raw pointers for indicating that the return type of a RooFit function is an owning point...