54 _genPdfName(other._genPdfName),
55 _genObsName(other._genObsName),
56 _fitPdfName(other._fitPdfName),
57 _fitObsName(other._fitObsName)
74 coutE(InputArguments) <<
"RooGenFitStudy(" <<
GetName() <<
") ERROR: generator p.d.f named " <<
_genPdfName <<
" not found in workspace " <<
w.
GetName() << std::endl ;
80 coutE(InputArguments) <<
"RooGenFitStudy(" <<
GetName() <<
") ERROR: no generator observables defined" << std::endl ;
88 coutE(InputArguments) <<
"RooGenFitStudy(" <<
GetName() <<
") ERROR: fitting p.d.f named " <<
_fitPdfName <<
" not found in workspace " <<
w.
GetName() << std::endl ;
94 coutE(InputArguments) <<
"RooGenFitStudy(" <<
GetName() <<
") ERROR: no fitting observables defined" << std::endl ;
161 if (fr->status()==0) {
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void data
RooFit::OwningPtr< 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 add(const RooAbsArg &var, bool silent=false)
Add the specified argument to list.
Abstract interface for all probability density functions.
GenSpec * prepareMultiGen(const RooArgSet &whatVars, const RooCmdArg &arg1={}, const RooCmdArg &arg2={}, const RooCmdArg &arg3={}, const RooCmdArg &arg4={}, const RooCmdArg &arg5={}, const RooCmdArg &arg6={})
Prepare GenSpec configuration object for efficient generation of multiple datasets from identical spe...
RooFit::OwningPtr< RooFitResult > fitTo(RooAbsData &data, CmdArgs_t const &... cmdArgs)
Fit PDF to given dataset.
RooFit::OwningPtr< RooDataSet > generate(const RooArgSet &whatVars, Int_t nEvents, const RooCmdArg &arg1, const RooCmdArg &arg2={}, const RooCmdArg &arg3={}, const RooCmdArg &arg4={}, const RooCmdArg &arg5={})
See RooAbsPdf::generate(const RooArgSet&,const RooCmdArg&,const RooCmdArg&,const RooCmdArg&,...
Abstract base class for RooStudyManager modules.
void storeDetailedOutput(bool flag)
void storeSummaryOutput(const RooArgSet &vars)
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.
Named container for two doubles, two integers two object points and three string pointers that can be...
TObject * Clone(const char *newName=nullptr) const override
Make a clone of an object using the Streamer facility.
Abstract base class for RooStudyManager modules.
bool initialize() override
One-time initialization of study.
void setFitConfig(const char *pdfName, const char *obsName, const RooCmdArg &arg1={}, const RooCmdArg &arg2={}, const RooCmdArg &arg3={})
RooGenFitStudy(const char *name=nullptr, const char *title=nullptr)
Constructor.
RooAbsPdf::GenSpec * _genSpec
!
std::unique_ptr< RooArgSet > _params
!
bool execute() override
Execute one study iteration.
void setGenConfig(const char *pdfName, const char *obsName, const RooCmdArg &arg1={}, const RooCmdArg &arg2={}, const RooCmdArg &arg3={})
bool finalize() override
Finalization of study.
bool attach(RooWorkspace &w) override
Function called after insertion into workspace.
void Print(Option_t *options=nullptr) const override
This method must be overridden when a class wants to print itself.
TObject * At(int index) const
Return object stored in sequential position given by index.
virtual void Add(TObject *arg)
Variable that can be changed from the outside.
void setVal(double value) override
Set value of variable to 'value'.
Persistable container for RooFit projects.
const char * GetName() const override
Returns name of object.
Mother of all ROOT objects.
RooCmdArg Save(bool flag=true)