69 _genPdfName(other._genPdfName),
70 _genObsName(other._genObsName),
71 _fitPdfName(other._fitPdfName),
72 _fitObsName(other._fitObsName),
107 coutE(InputArguments) <<
"RooGenFitStudy(" <<
GetName() <<
") ERROR: generator p.d.f named " <<
_genPdfName <<
" not found in workspace " << w.
GetName() << endl ;
113 coutE(InputArguments) <<
"RooGenFitStudy(" <<
GetName() <<
") ERROR: no generator observables defined" << endl ;
121 coutE(InputArguments) <<
"RooGenFitStudy(" <<
GetName() <<
") ERROR: fitting p.d.f named " <<
_fitPdfName <<
" not found in workspace " << w.
GetName() << endl ;
127 coutE(InputArguments) <<
"RooGenFitStudy(" <<
GetName() <<
") ERROR: no fitting observables defined" << endl ;
RooArgSet * getParameters(const RooAbsData *data, bool stripDisconnected=true) const
Create a list of leaf nodes in the arg tree starting with ourself as top node that don't match any of...
virtual Bool_t add(const RooAbsArg &var, Bool_t silent=kFALSE)
Add the specified argument to list.
void assign(const RooAbsCollection &other) const
Sets the value, cache and constant attribute of any argument in our set that also appears in the othe...
GenSpec * prepareMultiGen(const RooArgSet &whatVars, const RooCmdArg &arg1=RooCmdArg::none(), const RooCmdArg &arg2=RooCmdArg::none(), const RooCmdArg &arg3=RooCmdArg::none(), const RooCmdArg &arg4=RooCmdArg::none(), const RooCmdArg &arg5=RooCmdArg::none(), const RooCmdArg &arg6=RooCmdArg::none())
Prepare GenSpec configuration object for efficient generation of multiple datasets from identical spe...
virtual RooFitResult * fitTo(RooAbsData &data, const RooCmdArg &arg1=RooCmdArg::none(), const RooCmdArg &arg2=RooCmdArg::none(), const RooCmdArg &arg3=RooCmdArg::none(), const RooCmdArg &arg4=RooCmdArg::none(), const RooCmdArg &arg5=RooCmdArg::none(), const RooCmdArg &arg6=RooCmdArg::none(), const RooCmdArg &arg7=RooCmdArg::none(), const RooCmdArg &arg8=RooCmdArg::none())
Fit PDF to given dataset.
RooDataSet * generate(const RooArgSet &whatVars, Int_t nEvents, const RooCmdArg &arg1, const RooCmdArg &arg2=RooCmdArg::none(), const RooCmdArg &arg3=RooCmdArg::none(), const RooCmdArg &arg4=RooCmdArg::none(), const RooCmdArg &arg5=RooCmdArg::none())
See RooAbsPdf::generate(const RooArgSet&,const RooCmdArg&,const RooCmdArg&,const RooCmdArg&,...
RooAbsStudy is an abstract base class for RooStudyManager modules.
void storeSummaryOutput(const RooArgSet &vars)
void storeDetailedOutput(Bool_t flag)
void registerSummaryOutput(const RooArgSet &allVars, const RooArgSet &varsWithError=RooArgSet(), const RooArgSet &varsWithAsymError=RooArgSet())
RooArgSet is a container object that can hold multiple RooAbsArg objects.
RooArgSet * snapshot(bool deepCopy=true) const
Use RooAbsCollection::snapshot(), but return as RooArgSet.
RooCmdArg is a named container for two doubles, two integers two object points and three string point...
virtual TObject * Clone(const char *newName=0) const
Make a clone of an object using the Streamer facility.
RooDataSet is a container class to hold unbinned data.
virtual Double_t sumEntries() const override
Return effective number of entries in dataset, i.e., sum all weights.
RooFitResult is a container class to hold the input and output of a PDF fit to a dataset.
Double_t minNll() const
Return minimized -log(L) value.
Int_t status() const
Return MINUIT status code.
RooGenFitStudy is an abstract base class for RooStudyManager modules.
void setGenConfig(const char *pdfName, const char *obsName, const RooCmdArg &arg1=RooCmdArg(), const RooCmdArg &arg2=RooCmdArg(), const RooCmdArg &arg3=RooCmdArg())
virtual Bool_t initialize()
One-time initialization of study.
virtual Bool_t attach(RooWorkspace &w)
Function called after insertion into workspace.
virtual Bool_t finalize()
Finalization of study.
virtual ~RooGenFitStudy()
RooAbsPdf::GenSpec * _genSpec
RooGenFitStudy(const char *name=0, const char *title=0)
Constructor.
void setFitConfig(const char *pdfName, const char *obsName, const RooCmdArg &arg1=RooCmdArg(), const RooCmdArg &arg2=RooCmdArg(), const RooCmdArg &arg3=RooCmdArg())
virtual Bool_t execute()
Execute one study iteration.
void Print(Option_t *options=0) const
Print TNamed name and title.
TObject * At(int index) const
Return object stored in sequential position given by index.
virtual void Add(TObject *arg)
RooRealVar represents a variable that can be changed from the outside.
virtual void setVal(Double_t value)
Set value of variable to 'value'.
The RooWorkspace is a persistable container for RooFit projects.
RooArgSet argSet(const char *nameList) const
Return set of RooAbsArgs matching to given list of names.
RooAbsPdf * pdf(const char *name) const
Retrieve p.d.f (RooAbsPdf) with given name. A null pointer is returned if not found.
virtual const char * GetName() const
Returns name of object.
Mother of all ROOT objects.
RooCmdArg Save(Bool_t flag=kTRUE)